We present a temperature-dependent Sellmeier equation for the extraordinary refractive index of 5 mol % MgO doped congruent lithium niobate. This equation is adapted for wavelengths in the range of 1.3-5 mu m and temperatures between 40 degrees C and 200 degrees C. The calculation of the appropriate Sellmeier coefficients is based on the wavelengths of the signal and idler radiation measured for quasi-phase-matched optical parametric generators excited by 10-ns-long, 1064-nm pulses of a Q-switched Nd:YVO4 laser.