The invention discloses a thermal modulation method for an infrared gas image and belongs to the field of gas detection. The method comprises the following steps of: 1, multiplying a brightness mean value of the infrared gas image by a certain proportionality coefficient to serve as a segmentation threshold, segmenting the infrared gas image by using the segmentation threshold, and obtaining a low-brightness interval (0, T) and a high-brightness interval (T, 255); 2, selecting a brightness node, wherein the node is greater than the brightness mean value of the infrared gas image, performing gray stretch on the low-brightness interval (0, T), wherein the low-brightness interval is changed into (0, node), performing gray stretch on the high-brightness interval (T, 255), wherein the high-brightness interval is changed into (node, 255+node), and the gray interval of the image is (0, 255+node); converting the gray space of the image to the interval (0, 255), and obtaining a processed image; and 3, normalizing the gray of the image data of the processed image, performing gamma transform on the normalized image I', and obtaining a final image. The thermal modulation method is suitable for enhancement processing of the infrared gas image.