Kaolinite, a widely distributed clay mineral, is extensively applied in construction, industry and agriculture due to its physical, chemical and mechanical properties. This study employed quantum mechanics-based first-principles calculations to investigate the crystal structure, electronic properties and mechanical properties of kaolinite at various temperatures from a microscopic perspective. The main conclusions are as follows: structurally, lattice parameters (a, b, c) and volume increased with temperature, with c showing the largest such increase. The interlayer spacing between silicate tetrahedral and alumina octahedral layers slightly decreased from 0.3733 to 0.3702 Å, indicating that temperature exerts a stronger influence on the interlayer hydrogen bonds than on the covalent bonds within the layers. Electronically, in the 0–750 K range, kaolinite’s band gap narrowed from 5.13 to 5.06 eV; s orbital electrons of Al atoms jumped from the valence to the conduction band, reducing insulation. Mechanically, the elastic constants C11, C22, C33, C44 and C66 decreased while C55 increased with temperature. The bulk modulus declined continuously, whereas the shear modulus and Young’s modulus first increased then decreased. The universal anisotropy index decreased markedly, reducing elastic anisotropy. Temperature (0–750 K) significantly affects kaolinite’s properties. This study provides a reliable theoretical basis for optimizing the physicochemical and mechanical properties of kaolinite-based materials.