Cell death is typically defined either as apoptosis or necrosis. Because the consequences of apoptosis and necrosis are quite different for an entire organism, the investigation of the cell-death-mode switch has considerable clinical significance. The existence of a necrosis-to-apoptosis switch induced by hydrogen peroxide in macrophage cell line RAW 264.7 cells was confirmed by using flow cytometry and fluorescence microscopy. With the help of computational simulations, this study predicted that negative feedbacks between NF-κB and MAPKs are implicated in converting necrosis into apoptosis in macrophages exposed to hydrogen peroxide, which has significant implications.