Hub motor comprising a stator (1,2) and a rotor (4) that completely surrounds the stator (1,2), characterised in that the stator (1,2) has a set of stator projections, and the rotor (4) has a set of rotor projections, the rotor projections and stator projections being nested between one another.