A rapid, sensitive method using liquid chromatography-electrospray mass spectrometry (LC-ES-MS) was developed and evaluated for the simultaneous quantitative determination of caffeine metabolites 1U, 1X and AAMU in human urine. This method involved a simple dilution of urine samples. The chromatographic separation was achieved on a C18 reversed-phase column using a gradient of acetonitrile in 2 mM, pH 3.0 ammonium formate as mobile phase. After ionisation in an electrospray source, mass spectrometric detection was performed in the negative ion, selected ion monitoring mode. This method yielded acceptable accuracy and precision within the range 0.25-50 microg/ml. This analytical method was applied to investigate the N-acetylator phenotype of HIV-infected patients and compared with high-performance liquid chromatography with UV detection. Its specificity was better, which appeared to be absolutely necessary to prevent errors in metabolic ratios and phenotype interpretation.