Nature Materials, Published online: 10 October 2025; doi:10.1038/s41563-025-02363-yThe electronic ground state of a correlated oxide interface is reversibly switched by light. Stemming from interfacial reconstructions, electrostatic confinement and photodoping, this effect opens a path towards engineering the optical response of oxides.