A detailed microscopic study of the temperature dependence of the shapes of some rare-earth nuclei is made in the relativistic mean field theory. Analyses of the thermal evolution of the single-particle orbitals and their occupancies leading to the collapse of the deformation are presented. The role of the nonlinear σ−field on the shape transition in different nuclei is also investigated; in its absence the shape transition is found to be sharper. The understanding of the mean field shape evolution with temperature has been attempted in a macroscopic approach [3,4] generally referred to as the Landau theory of phase transitions.They have also been studied in microscopic framework like finite-temperature non-relativistic Hartree-Fock [5,6] and Hartree-Fock-Bogoliubov (HFB) approaches [7][8][9] with the pairingplus-quadrupole (P+Q) interaction. The shape transition temperature is found to be in the domain of ∼ 1.0 to 1.8 MeV for the rare-earth nuclei. Here the model Hamiltonian is simplistic, the model space is small, an inert core is assumed and moreover, the role of the Coulomb field is taken into consideration in an effective manner. Recently, we have studied [10,11] this same phenomenon in the framework of relativistic mean field theory (RMF).Here the model space is sufficiently large, all the nucleons are treated on equal footing and the Coulomb interaction is properly accounted for. It is then found that the shape transition temperature is noticeably higher. Except for some calculations in the s-d shell nuclei [12,13], nearly all the calculations have been done for nuclei in the rare-earth region; it is found that the deformation undergoes a sudden collapse at the shape transition temperature. Grossly, one understands the dissolution of the deformation with temperature in these nuclei from the following: shell structure leads to the population of the deformation-driving states, the so-called intruder states producing the static ground state deformation; their depopulation with gradual heating restores the spherical symmetry.The aim of the present paper is to analyse in more microscopic details the collapse of the deformation with temperature. In doing so, we also explore whether the sudden collapse observed in the rare-earth nuclei is universal or system-specific. The stability towards the deformed ground state for the axially symmetric nuclei that we consider is given by the