Abstract: An axial flux brushless permanent magnet electrical machine having a stator and at least one rotor. The rotor includes a Halbach array of magnets with at least four magnets per magnetic cycle. The rotor magnets are contained within pockets in the rotor. The pockets are formed with magnet pocket walls being radial walls, active surface walls, and/or inactive surface walls where the walls retain the magnets within the pockets.