We investigate the single-flavor color superconductivity in a magnetic field. Because of the absence of the electromagnetic Meissner effect, forming a nonspherical CSC phase, polar, A, or planar, does not cost energy of excluding magnetic flux. We found that these nonspherical phases may be reached via a sequence of first order phase transitions under the typical quark density and magnetic field inside a neutron star.