The spectrum of a charged particle in uniform magnetic field consists of equally spaced Landau levels which are infinitely degenerate. We consider isospectral deformations of this problem and show that the spectrum is again equispaced but nondegenerate for a wide class of non-uniform magnetic fields.