The alkaline stability of 26 different quaternary ammonium groups (QA) is investigated for temperatures up to 160 °C and NaOH concentrations up to 10 mol L(-1) with the aim to provide a basis for the selection of functional groups for hydroxide exchange membranes in alkaline fuel cells and of ionic-liquid cations stable in basic conditions. Most QAs exhibit unexpectedly high alkaline stability with the exception of aromatic cations. β-Protons are found to be far less susceptible to nucleophilic attack than previously suggested, whereas the presence of benzyl groups, nearby hetero-atoms, or other electron-withdrawing species promote degradation reactions significantly. Cyclic QAs proved to be exceptionally stable, with the piperidine-based 6-azonia-spiro[5.5]undecane featuring the highest half-life at the chosen conditions. Absolute and relative stabilities presented herein stand in contrast to literature data, the differences being ascribed to solvent effects on degradation.