Abstract
The author analyzes the spectrum, amplitude, and evolution of a tangled primeval magnetic field generated by macroscopic dynamo activity arising during a first-order phase transition in the early universe. The effects of the field on the matter distribution at late times could be much larger than that of the adiabatic or isothermal density fluctuations generated by the transition. With optimistic assumptions, magnetic fields generated during a transition at T0.2 GeV could lead to the collapse of gas clouds of 1015M after recombination, and to the formation of pregalactic stars or quasars.