One factor that affects the magnetic force of the magnet: temperature. There are dozens of different types of magnets (for example: ferrite magnets, neodymium iron boron magnets, bonded neodymium iron boron, alnico, cobalt, iron chromium cobalt, injection-molded ferrite, etc.) and materials, with corresponding temperature limits. During the use of the product, there will be no demagnetization if the temperature is lower than the limit of the magnet. (For example: the maximum temperature of the brushless out-rotating motor is 80-100 degrees. In the case of ensuring that the demagnetization will not exceed 5%, the magnet material of 120 degrees is generally used. Of course, this is for the material of the neodymium iron boron magnet.) So The non-demagnetization and lifetime of the magnet depend on the temperature of the product used and the temperature-resistant material of the magnet.
The second factor affecting the magnetic force of a magnet: the existence of an alternating magnetic field. Anyone who has a certain knowledge of magnets knows that magnets are divided into N, S poles or multiple poles. If there is another magnetic field around the magnet, it will cancel a part of the magnet's magnetic force. This is what people say will demagnetize in the range of operating temperature.
The third factor affecting the magnetic force of the magnet: mechanical vibration. This is related to the assembly. The magnet rubs against the product during the assembly process. Because the material of the magnet is fragile, the body is worn and the size becomes smaller, and the magnet will gradually weaken.