? 2022 The Author(s)The article presents theoretical background and experimental verification of thermal compensation method of inductive displacement sensor. This sensor has the form of single-layer, coreless coil which is the inductance of a resonant LC circuit. Change of coil length causes change in oscillation frequency of Colpitts oscillator. Influence of the sensor temperature on the circuit oscillation frequency was significantly reduced. This was achieved by using the dependence of the sensor resistance on its temperature in a specially modified resonant circuit. The circuit was mathematically modeled. The detectors were made of various metals and their theoretical thermal characteristics were compared with the experimental ones. The sensor has successfully been used for years in rock samples’ deformations measurements during the compressibility test, at hydrostatic pressure up to 400 MPa with temperature changes of several dozen degrees. It replaced resistance strain gauges and LVDT sensors, that were unreliable at high pressures.