The invention relates to an anti-floating charge protection circuit for a spaceflight lithium battery. The anti-floating charge protection circuit comprises a main power charging circuit, a charging termination circuit, a charging unlocking circuit and an execution circuit. In a spaceflight power supply system, a lithium battery is charged by adopting a mode of first constant current and then constant voltage, when a storage battery is converted from constant current charging to constant voltage charging, the battery voltage is gradually increased, the charging current is gradually reduced but does not reach zero, when the charging current is less than a charging termination current threshold value, a charging allowing signal in an execution circuit is turned into a low level, a charging switch tube is turned off, charging is stopped at the moment, and the charging current is zero; when the lithium battery is discharged and the voltage of the battery is lower than the unlocking voltage, the charging allowing signal is turned into a high level, the charging is unlocked, and the PWM signal drives the charging switch tube to charge the battery. According to the invention, the charging and discharging management of the lithium battery can be carried out without additionally controlling a lower computer, the functions of automatically stopping charging and recovering charge of the lithium battery can be realized, the floating charging of the lithium battery can be avoided, and the service life of the lithium battery can be prolonged.