Anharmonic thermal effects on the electron momentum distribution of a lithium fluoride single crystal are experimentally measured through high-resolution Compton scattering and theoretically modeled with ab initio simulations, beyond the harmonic approximation to the lattice potential, explicitly accounting for thermal expansion. Directional Compton profiles are measured at two different temperatures, 10 and 300 K, with a high momentum space resolution (0.10 a.u. in full width at half maximum), using synchrotron radiation. The effect of temperature on measured directional Compton profiles is clearly revealed by oscillations extending almost up to jpj ¼ 4 a:u:, which perfectly match those predicted from quantummechanical simulations. The wave-function-based Hartree-Fock method and three classes of the KohnSham density functional theory (local-density, generalized-gradient, and hybrid approximations) are adopted. The lattice thermal expansion, as described with the quasiharmonic approach, is found to entirely account for the effect of temperature on the electron momentum density within the experimental accuracy.