To provide a rare earth permanent magnet having as a main phase a compound with a Nd5Fe17 crystalline structure having strong coercive force. A rare earth permanent magnet having as a main phase a compound with a Nd5Fe17 crystalline structure, wherein when the composition ratio of the rare earth permanent magnet is expressed as RaT(100-a-b)Cb, where R is one or more rare earth elements requiring Sm, and T is one or more transition metal elements requiring Fe or Fe and Co, a and b satisfy 18