A new selective method for dimethylamine in water analysis by liquid chromatography using solid-phase microextraction and two-stage derivatization with o-phthalaldialdehyde and 9-fluorenylmethyl chloroformate.