Demagnetization in permanent magnet synchronous machines (PMSMs) results in a decrease in the motor average torque and could also increase the torque ripple and consequently vibration and acoustic noise, degrading the overall performance and reliability of the drive. Demagnetization detection can be therefore of tremendous importance. Use of hall-effect sensors has proven to be a viable option for demagnetization detection. Results reported using this method were based on the analysis of the flux density complex vector; the accuracy of this implementation strongly depends on the angle of the hall-effect sensor, being also sensitive to implementation issues such as offsets and gain variations of the sensors, PMs' temperature, manufacturing tolerances and stator current injection. This paper proposes the use of the zero-sequence component of the magnetic flux density for demagnetization detection. The use of this signal will improve the accuracy and reduce the sensitivity to implementation issues compared to the use of the flux complex vector. 1 1 This work was supported in part by the Research, Technological Development and Innovation of the Spanish Ministry Economy and Competitiveness, under grant MINECO-17-ENE2016-80047-R and by the Economic Development Agency of the Principality of Asturias (IDEPA) ThyssenKrupp under grant SV-PA-17-RIS3-2.