International audienceWe examine variations of the stellar initial mass function (IMF) in extreme environments within the formalism derived by Hennebelle & Chabrier. We focus on conditions encountered in progenitors of massive early-type galaxies and starburst regions. We show that, when applying the concept of turbulent Jeans mass as the characteristic mass for fragmentation in a turbulent medium, the peak of the IMF in such environments is shifted toward smaller masses, leading to a bottom-heavy IMF, as suggested by various observations. In very dense and turbulent environments, we predict that the high-mass tail of the IMF can become even steeper than the standard Salpeter IMF, with a limit for the power-law exponent α ~= -2.7, in agreem...