The invention relates to the field of product detection, in particular to a magnetic ring height detection and scribing device, including a calibration unit, an origin reset unit, an anti-misplacement unit, equipment tooling, a tooling support clamping and rotating unit, a height detection unit, and a defective product rack Unit, scribing unit, image inspection unit, programmable logic controller, electrical control unit and human-computer interaction unit are used for high-level inspection of the tested products: automatic alarm for unqualified products; for qualified products, Further complete the scribing process. The invention also includes a method for using the device to detect the height of the magnetic ring of the product to be tested and mark the line. The invention can effectively detect the problem of poor height after the riveting of the magnetic ring and the pulley, and avoid the risk of unqualified products that have not been randomly inspected flowing into the market; instability. The invention not only ensures product quality, but also improves production efficiency.