Porous materials have been extensively applied in many areas such as aerospace, electronic communication, petrochemical, bio‐medicine, and so forth, especially, under some extreme heating conditions, study on the coupling problem of deformation field and temperature field in porous media is of great significance to the application and optimal design of the material. On account of this, in the present paper, according to the Lord and Shulman's generalized thermoelastic theory and Ezzat's fractional order theory, the dynamic response of an infinite porous thermoelastic material with a spherical cavity and subjected to a ramp‐type heating is studied. The governing equations of the corresponding problem are formulated and then solved by means of Laplace transform and its numerical inversion. The distributions of the nondimensional temperature, displacement, stress, and volume fraction in the porous structure are obtained and illustrated graphically. In simulation, the effects of the time, the thermal lag factor, and the fractional‐order factor on all the considered variables are examined and discussed in detail.