Pipe-cooling is usually used for reducing thermal stress in fill-dam gallery. Sensitivity analysis can ask for the position of pipe-cooling. The elements which influence thermal cracking at both shoulder and arch crown were picked out on the result of sensitivity analysis, i.e., influence coefficient to thermal stress. As a result, the difference between the optimum position and the actually placed position is a little, and the optimum position shows closely spacing near the lower part of crown.