This paper presents a method for the detection of ketamine in hair. Hair samples (25 mg) were washed, pulverized, and digested in hydrochloric acid (0.5 M) overnight at 45 degrees C. The samples were extracted by an automated solid-phase extraction procedure, and the extracts were subsequently analyzed using gas chromatography-mass spectrometry in selected ion monitoring mode. Linearity up to 120 ng/mg was obtained for both ketamine and norketamine with correlation coefficients of 0.9987 and 0.9985, respectively. Limit of detection was found to be at 0.4 ng/mg for both drugs while the limit of quantitation was found to be 0.6 and 0.8 ng/mg for ketamine and norketamine, respectively. The validated method was used in the analysis of 91 hair segments obtained from 54 ketamine abusers. Based upon the voluntary confession of the ketamine abusers, a correlation between the amount of ketamine detected and the frequency of abuse was observed.