The invention discloses a power failure protection method for intelligent IC (
integrated circuit) card data. When an IC card is applied, data in the card are frequently modified, and if power fails after the data are erased in the process of modification, data to be written are not normally written while the
original data are erased, and important data are lost. When the data in the card are modified, information to be written is firstly backed up to an RAM (
random access memory),
backup checking information is then computed, a
backup and restore mark is set in a restore state, the information is written into the RAM together, all data are organized in the RAM and then written into an
EEPROM (electrically erasable programmable read-only memory)
backup area, the data are restored, effective data are written into a target data area, and then the backup and restore mark in the backup area is modified into a backup state. Data backup time is shortened by the aid of
rapid access features of the RAM, the data are organized in the RAM and then written into the
EEPROM backup area once, the frequency of writing the data into an
EEPROM is effectively decreased, and the service life of the IC card is prolonged.