We investigate Bianchi type I cosmological models containing a perfect fluid and with an incident magnetic field directed along the x axis. The solutions obtained represent an expansion scalar B bearing a constant ratio to the anisotropy in the direction of a space-like unit vector At.