A sensitive and reliable analytical procedure has been established for the detection of theophylline (TH), theobromine (TB) and caffeine (CA) in human plasma and urine by gradient capillary high-performance liquid chromatography (HPLC)-frit-fast atom bombardment mass spectrometry (FAB-MS) (LC-frit-FAB-MS). Two capillary columns and a column-switching valve were used in this LC system to allow all of the sample injected to be introduced into the MS system. 7-Ethyltheophylline was used as the internal standard (I.S.). The xanthines in the specimen were extracted with an Extrelut column. The lowest detected amount was ca. 5 ng/ml using this method.