The purpose of the present paper is to mathematical simulation of heat transfer in enclosures of wood-based building when exposed to thermal radiation from forest fire front. One-dimensional mathematical model is used. Mathematically, heat transfer in building enclosures is described by system of non-stationary equations of heat conduction with corresponding initial and boundary conditions. It is suggested to use several scenarios of forest fire impact. Temperature distribution on wall depth is obtained for different scenarios of forest fire impact on building enclosures.