Researchers have resolved a problem that has limited the environmental sustainability of peracid synthesis. By judicious choice of the solvent and light input, approximately room-temperature autoxidation of aldehydes proceeds in a manner that results in industrially useful peracids or carboxylic acids. This work is an important advance in green chemistry that will help minimize the carbon footprint of the chemical industry.