Aqueous-phase processing of glyoxal (GLY) and methylglyoxal (MG) produces highly oxygenated, less volatile organic acids that can contribute to SOA formation and aging. In this study, aerosol chemical ionization mass spectrometry (aerosol CIMS) is employed to monitor aqueous-phase photooxidation of GLY and MG. Using iodide (I(-)) as the reagent ion, aerosol CIMS can simultaneously detect important species involved in the reactions: organic acids, peroxides, and aldehydes, so that the reconstructed total organic carbon (TOC) concentrations from aerosol CIMS data agree well with offline TOC analysis. This study also reports the first direct detection of hydroxyhydroperoxide (HHP) formation from the reaction of H(2)O(2) with GLY or MG. The formation of HHPs is observed to be reversible and an estimate of their equilibrium constants is made to be between 40 and 200 M(-1). Results of this study suggest that HHPs can form additional formic acid and acetic acid via photooxidation and regenerate GLY or MG during photooxidation, compensating their loss. HHP formation needs to be further studied for inclusion in aqueous-phase chemical models given that it may affect the aqueous partitioning of carbonyls in the atmosphere.