  In view of several conflicting results, we reanalyze the effects of magnetic
fields on the primordial nucleosynthesis. In the case the magnetic field is
homogeneous over a horizon volume, we show that the main effects of the
magnetic field are given by the contribution of its energy density to the
Universe expansion rate and the effect of the field on the electrons quantum
statistics. Although, in order to get an upper limit on the field strength, the
weight of the former effect is numerically larger, the latter cannot be
neglected. Including both effects in the PN code we get the upper limit $B \le
1\times 10^{11}$ Gauss at the temperature $T = 10^9~^oK$. We generalize the
considerations to cases when instead the magnetic is inhomogeneous on the
horizon length. We show that in these cases only the effect of the magnetic
field on the electrons statistics is relevant. If the coherence length of the
magnetic field at the end of the PN is in the range $10 \ll L_0 \ll 10^{11}$ cm
our upper limit is $B \le 1\times 10^{12}$ Gauss.
