The invention discloses an ATM machine keyboard with good safety. The machine keyboard comprises a keyboard panel, a key frame, a silica gel gasket, a keyboard base plate, a keyboard mainboard and a keyboard rear cover, wherein the keyboard panel, the key frame, the silica gel gasket, the keyboard base plate, the keyboard mainboard and the keyboard rear cover are sequentially arranged from front to back, the keyboard panel, the key frame, the silica gel gasket and the keyboard base plate are sequentially connected, the keyboard mainboard and the keyboard rear cover are respectively connected with the keyboard base plate, a plurality of keys are arranged on the key frame, a plurality of button protrusions matched with the keys are arranged on the silica gel gasket, a controller is arranged on the lower surface of the keyboard mainboard, a state indicator lamp is arranged on the keyboard panel, and the state indicator lamp is electrically connected with the controller. The ATM machine keyboard has the advantages that disassembling difficulty of the keyboard is large, the anti-attack capability is strong, the data safety is good, the state indicating function is obtained, the risks of information leakage and property damage of a cardholder are reduced, and it is ensured that money in an account of the cardholder is not prone to being stolen.