Résumé : The iterative method recently proposed for determining the internal constitution of the outer crust of a nonaccreted neutron star is extended to magnetars by taking into account the Landau-Rabi quantization of electron motion induced by the presence of a very high magnetic field. It is shown that in the strongly quantizing regime, the method can be efficiently implemented using new analytical solutions for the transitions between adjacent crustal layers. Detailed numerical computations are performed to assess the performance and precision of the method.