Photoacids are organic molecules that release protons under illumination, providing spatiotemporal control of the pH. Such light-driven pH switches offer the ability to cyclically alter the pH of the medium and are highly attractive for a wide variety of applications, including CO 2 capture. Although photoacids such as protonated merocyanine can enable fully reversible pH cycling in water, they have a limited chemical stability against hydrolysis (<24 h). Moreover, these photoacids have low solubility, which limits the pH-switching ability in a buffered solution such as dissolved CO 2 . In this work, we introduce a simple pathway to dramatically increase stability and solubility of photoacids by tuning their solvation environment in binary solvent mixtures. We show that a preferential solvation of merocyanine by aprotic solvent molecules results in a 60% increase in pH modulation magnitude when compared to the behavior in pure water and can withstand stable cycling for >350 h. Our results suggest that a very high stability of merocyanine photoacids can be achieved in the right solvent mixtures, offering a way to bypass complex structural modifications of photoacid molecules and serving as the key milestone toward their application in a photodriven CO 2 capture process.