A magnetic encoder constituting rotation detector in combination with a magnetic sensor, comprising a circular multipolar magnet and a metal reinforcing ring to which the circular multipolar magnet is fixed is disclosed.