Compression and heating of Li0.95Mn2.05O4 induce a unique three-way switch. We demonstrate the possibility of tuning of the structural properties and the induction of phase transitions by changing the external pressure and temperature, and hence changing the lattice strain.