Methane, as the main component of gas and natural gas, its flammable and explosive characteristics to industrial production, urban safety and daily life has brought great potential hazards. Accurately measuring the concentration of methane gas is of great significance for urban development and environmental protection. At present, tunable semiconductor laser absorption spectroscopy (TDLAS) has become one of the important technologies for methane sensor concentration measurement. However, this technology is easily affected by environmental temperature, and the relative error of concentration measurement caused by environmental temperature changes is greater than 50%. Therefore, this article proposes a temperature compensation calibration method for methane sensors based on TDLAS technology. This article first analyzes the effect of temperature on the absorption intensity of methane gas, and studies the relationship between its concentration value and temperature. Then, based on theoretical analysis, the negative temperature coefficient variation between the concentration value and temperature is achieved through power normalization processing algorithm. At the same time, a temperature compensation system is established to compensate for the concentration value and suppress the interference caused by environmental temperature to the detection. Finally, the feasibility of the temperature compensation calibration method was verified through experiments. The experimental results show that under the same testing conditions, the relative error of the measured concentration after temperature compensation can be reduced to less than 5%, significantly improving the detection accuracy of the methane sensor.