The present invention provides pharmaceutical compositions for inhibiting microsatellite instability (MSI), which comprise an effective amount of N-acetylcysteine, glutathione, derivatives thereof, or salts thereof and a pharmaceutically acceptable carrier. In addition, the present invention further provides pharmaceutical compositions for treating cancer, which comprise the aforementioned pharmaceutical compositions for inhibiting MSI and drugs for treating cancer.