The linear convective instability of imploding gaseous masses is investigated with a self-similar solution, which takes radiation heat conduction into account. The solution shows that the implosion process continuously transits from the initial adiabatic regime to the consequent nonadiabatic regime, where the mechanical compression work and the radiation loss balance such that the Péclet number of the system is kept constant. The transition accompanies the decrease in the polytropic index, Γ≡d(log p)/d(log ρ) where p and ρ are, respectively, the pressure and density, with the adiabatic index γ (⩾ Γ) as its initial value. As a result of the radiative cooling, the fluid becomes unstable to convective modes, when the criterion for instability, d(p/ρΓ)/dr<0, is fulfilled in the core. The spatial and temporal dependence of the perturbations are presented.