Abstract
We argue that a coherent magnetic field is generated spontaneously when a large domain wall is created in the early Universe. It is caused by two-dimensional massless fermions bounded to the domain wall soliton. We point out that the magnetic field is a candidate for a primordial magnetic field.