J.R. S. answered 09/12/22
Ph.D. in Biochemistry--University Professor--Chemistry Tutor
A change in temperature will likely cause a change in the density of the material being measured. This will then affect the refractive index. So, while refractive index does not change directly as a result of a change in temperature, it will vary with the density of the material, and thus it is important to keep the temperature controlled during such measurements.