Titanium-based metal−organic frameworks (Ti-MOFs) have attracted intense research attention because they can store charges in the form of Ti 3+ and they serve as photosensitizers to cocatalysts through heterogeneous photoredox reactions at the MOF−liquid interface. Both the charge storage and charge transfer depend on the redox potentials of the MOF and the molecular substrate, but the factors controlling these energetic aspects are not well understood. Additionally, photocatalysis involving Ti-MOFs relies on cocatalysts rather than the intrinsic Ti reactivity, in part because Ti-MOFs with open metal sites are rare. Here, we report that the class of Ti-MOFs known as MUV-10 can be synthetically modified to include a range of redox-inactive ions with flexible coordination environments that control the energies of the photoactive orbitals. Lewis acidic cations installed in the MOF cluster (Cd 2+ , Sr 2+ , and Ba 2+ ) or introduced to the pores (H + , Li + , Na + , K + ) tune the electronic structure and band gaps of the MOFs. Through the use of optical redox indicators, we report the first direct measurement of the Fermi levels (redox potentials) of photoexcited MOFs in situ. Taken together, these results explain the ability of Ti-MOFs to store charges and provide design principles for achieving heterogeneous photoredox chemistry with electrostatic control.