Fuel cells typically function well only in rather limited temperature and humidity ranges. Now, a proton exchange membrane consisting of ion pair complexes is shown to enable improved fuel cell performance under a wide range of conditions that are unattainable with conventional approaches.