Gerotor pump comprising an inner gerotor and an outer gerotor and an electric motor in a pump housing, and the outer gerotor is formed integrally with the rotor of the electric motor, wherein magnets are integrated into the outer gerotor, and the rotor is rotatably mounted on a shaft that is fixed on one side to a housing or a housing base of the pump housing.