An automatic disinfection device and method for a human body fat measurement device. The human body fat measurement device comprises a measurement device body (1) and a measurement electrode (2). A pressure sensor (20) is disposed on the measurement electrode (2). The automatic disinfection device (100) for a human body fat measurement device comprises a microcontroller (3), a first electromagnet (4), a second electromagnet (5), an ultraviolet light coil (6), and an iron hoop (7). The automatic disinfection method comprises: the pressure sensor (20) senses a surface pressure of the measurement electrode (2) when the surface pressure is zero, control the ultraviolet light coil (6) to be powered on and generate ultraviolet light control the second electromagnet (5) to generate magnetism to make the iron hoop (7) move from the first electromagnet (4) to the second electromagnet (5), and the iron hoop (7) drives the ultraviolet light coil (6) to move to carry out ultraviolet ray disinfection on the measurement electrode (2) in a positive direction and control the first electromagnet (4) to generate magnetism to make the iron hoop (7) move from the second electromagnet (5) to the first electromagnet (4), and the iron hoop (7) drives the ultraviolet light coil (6) to move to carry out ultraviolet ray disinfection on the measurement electrode (2) in negative direction. The automatic disinfection device (100) can automatically carry out ultraviolet light disinfection on the measurement electrode (2).Linvention concerne un dispositif et un procédé de désinfection automatique pour un dispositif de mesure de la masse grasse corporelle dun être humain. Le dispositif de mesure de la masse grasse corporelle dun être humain comprend un corps de dispositif de mesure (1) et une électrode de mesure (2). Un capteur de pression (20) est disposé sur lélectrode de mesure (2). Le dispositif de désinfection automatique (100) pour dispositif de mesure de la masse grasse corporelle dun être