Methods for the determination of celecoxib in human plasma and rat microdialysis samples using liquid chromatography tandem mass spectrometry are described. Celecoxib and an internal standard were extracted from plasma by solid-phase extraction with C18 cartridges. Thereafter compounds were separated on a short narrow bore RP C18 column (30 x 2 mm). Microdialysis samples did not require extraction and were injected directly using a narrow bore RP C18 column (70 x 2 mm). The detection was by a PE Sciex API 3000 mass spectrometer equipped with a turbo ion spray interface. The compounds were detected in the negative ion mode using the mass transitions m/z 380-->316 and m/z 366-->302 for celecoxib and internal standard, respectively. The assay was validated for human plasma over a concentration range of 0.25-250 ng/ml using 0.2 ml of sample. The assay for microdialysis samples (50 microl) was validated over a concentration range of 0.5-20 ng/ml. The method was utilised to determine pharmacokinetics of celecoxib in human plasma and in rat spinal cord perfusate.