Optogenetics in the conventional sense, i.e. the use of engineered proteins that gain their light sensitivity from naturally abundant chromophores, represents an exciting means to trigger and control biological activity by light. As an alternate approach, photopharmacology controls biological activity with the help of synthetic photoswitches. Here, we used an azobenzene-derived lipid analogue to optically activate the transmembrane mechanosensitive channel MscL which responds to changes in the lateral pressure of the lipid bilayer. In this work, MscL has been reconstituted in nanodiscs, which provide a native-like environment to the protein and a physical constraint to membrane expansion. We characterized this photomechanical system by FTIR spectroscopy and assigned the vibrational bands of the light-induced FTIR difference spectra of the trans and cis states of the azobenzene photolipid by DFT calculations. Differences in the amide I range indicated reversible conformational changes in MscL as a direct consequence of light switching. With the mediation of nanodiscs, we inserted the transmembrane protein in a free standing photoswitchable lipid bilayer, where electrophysiological recordings confirmed that the ion channel could be set to one of its sub-conducting states upon light illumination. In conclusion, a novel approach is presented to photoactivate and control cellular processes as complex and intricate as gravitropism and turgor sensing in plants, contractility of the heart, as well as sensing pain, hearing, and touch in animals.