Constraints on a primordial magnetic field

We derive an upper limit of B{sub 0}{lt}3.4{times}10{sup -9}({Omega}{sub 0}h{sup 2}{sub 50}){sup 1/2} G on the present strength of any primordial homogeneous magnetic field. The microwave background anisotropy created by cosmological magnetic fields is calculated in the most general flat and open anisotropic cosmologies containing expansion-rate and 3-curvature anisotropies. Our limit is derived from a statistical analysis of the 4-year Cosmic Background Explorer (COBE) data for anisotropy patterns characteristic of homogeneous anisotropy averaged over all possible sky orientations with respect to the COBE receiver. The limits we obtain on homogeneous magnetic fields are stronger than those imposed by nucleosynthesis. {copyright} {ital 1997} {ital The American Physical Society}