In order to study the mechanical dithering number of electric switch contact, especial for measuring the mechanical dithering number of electric contact, a measurement system of the mechanical dithering number was de-signed based on MCU.This paper discussed the hardware design and software design of the measurement system, and provided circuit diagram and flow chart of program, as well as the key source code.For nudging button, com-pound button and SPDT switch, the mechanical dithering number was measured.The measurement results show that: the number of mechanical dither is random digit, it is 0 to 11; for compound button, front edge dithering number is usually less than back edge dithering number;for SPDT switch, front edge dithering number is obviously greater than back edge dithering number.When pressing the button switch, we need to operate it quickly and deci-sively and force it appropriately, which helps to reduce the mechanical dithering number.