Rock engineering, which includes slopes, tunnels, and mines, often encounters stratified rocks. These projects are also frequently exposed to special environments of high temperatures, such as deep underground or fire-related conditions. It is of significant importance to conduct research on the damage characteristics and constitutive models of stratified rocks under high-temperature conditions to accurately reflect the influences of rock structure characteristics, geological conditions, and load effects on the damage and deformation characteristics of rock engineering. Under five temperature conditions (20, 200, 400, 600, 800 ℃), the intact sandstone rock samples and the layered sandstone samples are subjected to high-temperature treatment, followed by triaxial compression tests. Based on existing research on statistical damage constitutive models for rocks, a high-temperature layered rock statistical damage constitutive model is established by introducing the Weibull distribution function and high-temperature, bedding, and load coupling damage variables, under the condition that the microelement strength follows the Drucker-Prager (D-P) criterion. The results indicate that the peak strength, damage threshold, elastic modulus, and longitudinal wave velocity show a "U"-shaped trend with an increasing bedding angle, with an opening upwards. As the temperature increases, the anisotropy of the rock initially increases and then decreases, with obvious ductile characteristics after the temperature reaches 600 ℃. The analysis of damage threshold, stress-strain curve, and macroscopic failure morphology shows that the 60° dipping angle sandstone is prone to undergo compressive-shear failure along the weak plane of bedding, exhibiting low toughness mechanical characteristics. Theoretical curves of the statistical damage constitutive model for high-temperature rock are in good agreement with the Triaxial shear test curve of sandstone, which indicates that the constitutive model can reflect the stress-strain process of layered sandstone after high-temperature action, and verifies the applicability of the model. This model does not include unconventional mechanical parameters and can reflect the ductility, brittleness, and strength characteristics with clear physical meanings. The findings of the study can offer theoretical support for computing and numerically modeling rock mechanics after high-temperature action.