A general mechanism for the corrosion behaviour of NdFeB magnets is presented, related to the magnet heterogeneity with the presence of different phases. Cathodic control is outlined. An electrochemical method to assess the corrosion resistance of magnets, with and without coatings, is proposed; it is based on the study of the transient voltage at the magnet surface after a second cathodic current pulse in a suitable aggressive solution and its dependence on the amount of cathodic current circulating. Suitable pretreatments have been tried and interesting results obtained with passivation pretreatments, giving phosphorous Nd at grain boundaries. Coatings if sintered and plastic magnets have been tried using several methods. Good results are obtained with Zn-Co layers on sintered magnets and a sol-gel glass on powders for plastic magnets. Improved ACS (Autocatalytic Chemical Deposition) Ni=P coatings have been realized, with an alkaline brass flash plating to start ACD deposition.