A non-transitory computer-readable recording medium storing a program that causes, by a computer, a substrate processing apparatus to perform a process in a process container of the substrate processing apparatus, the process comprising:
- (a) loading a substrate into the process container;
- (b) heating the substrate by supplying a first gas, which is heated when passing through a first heater installed at a first gas supply line, to the substrate via a gas supplier;
- (c) supplying a second gas, which flows through a second gas supply line different from the first gas supply line, to the substrate mounted on a substrate mounting table in the process container, via the gas supplier;
- and
- (d) lowering a temperature of the gas supplier by supplying a third gas, which has a temperature lower than that of the first gas, to the gas supplier between (b) and (c).