Infrared laser interferometry was used to measure the temperature dependence, beta(T), of the refractive index of Si, GaAs, and InP at lambda = 1.15,1.31,1.53, and 2.39 mum. Semiconductor wafer samples that had been polished on both sides were either heated or cooled while measuring the sample temperature and the transmitted or reflected intensity of an infrared laser beam. The changing optical path length within the material causes alternating constructive and destructive interference between reflections off the front and back surfaces of the wafer. By subtracting the contribution of thermal expansion, alpha(T), which is small and accurately known, beta(T) was obtained. Representative values of beta (293 K) at 1.53 mum are 5.15 X 10(-5) K-1, 6,65 X 10(-5) K-1, and 5.95 X 10(-5) K-1 for Si, GaAs, and InP. Polynomial expressions are presented for Si, GaAs, and InP, yielding values of beta(T) that are accurate to within +/-5%. Beta(T) increases with increasing temperature and decreases with increasing wavelength. There is a large resonance enhancement of beta(T) in direct-gap semiconductors as the photon energy E(hv) approaches the band-gap energy E(g). Absolute values and temperature dependences of beta calculated from published theory agree reasonably well with the measurements. The extreme accuracy in beta needed for interferometric thermometry, however, cannot be met by these theoretical calculations, and so requires the experimental measurements.