We present the strongly revised IMK/IAA MIPAS-ENVISAT CH4 and N2O data products for the MIPAS full resolution (versions V5H_CH4_21 and V5H_N2O_21) and for the reduced resolution period (versions V5R_CH4_224, V5R_CH4_225, V5R_N2O_224 and V5R_N2O_225). Differences to older retrieval versions which are known to have a high bias are discussed. The usage of the HITRAN 2008 spectroscopic dataset leads to lower values for both gases in the lower part of the profile. The improved correction of additive radiance offsets and handling of background radiance continua allows for aerosol contributions at altitudes in the upper stratosphere and above. These changes lead to more plausible values both in the radiance offset and in the profiles of the continuum absorption coefficients. They also increase the fraction of converged retrievals. Some minor changes were applied to the constraint of the inverse problem, causing small differences in the retrieved profiles, mostly due to the relaxation of off-diagonal regularisation matrix elements for the calculation of jointly retrieved absorption coefficient profiles. Spectral microwindows have been adjus ... mehrted to avoid areas with saturated spectral signatures. Jointly retrieving profiles of water vapour and nitric acid serves to compensate spectroscopic inconsistencies. We discuss the averaging kernels of the products and their vertical resolution.