[1] Modelling the energy budget in the mesosphere and lower thermosphere requires a precise evaluation of CO2 distribution in this region. This distribution is primarily determined by competition between vertical eddy diffusion and molecular diffusion. A simple algorithm is proposed to take into account both processes, at all altitudes. Using the SOCRATES bi-dimensional model of the middle atmosphere, we show that molecular diffusion has a direct impact on CO2 vertical distribution down to approximately 80 km altitude, i.e. well into the mesosphere and below the turbopause altitude. A sensitivity study with regard to different aeronomical processes shows that molecular diffusion has the deepest influence in the mesospheric polar night region. Our model shows that molecular diffusion of CO2 is responsible for a polar night mesopause 12 K warmer than if this process was neglected. Hence, dynamical models should take this process in account across the whole mesospheric altitude range.