As the mining depth increases, the effect of stress on the gas adsorption of coal gradually becomes significant. There are significant differences in the pore volume, specific surface area, and adsorption characteristics of coal before and after stress. In this study, the porosity variation characteristics of coal were studied using axial and confining pressure loading processes, and volumetric stress was introduced to characterize the pore variation law of coal under triaxial stress. By calculating the stress values at different burial depths, gas isothermal adsorption experiments were conducted on coal under different stress effects. The Langmuir equation, D-A equation, and Freundlich empirical formula were used to fit the adsorption experimental results. Combining experiments and models to predict the adsorbed and free gas content under stress, we described the gas adsorption law of coal under different stress effects.