Context The b-carboline alkaloid harmane is widely distributed in common foods, beverages and hallucinogenic plants. Harmane exerts potential in therapies for Alzheimer's and depression diseases. However, little information on its dynamic metabolic profiles and pharmacokinetics in vivo is currently available. Objective This study investigates the dynamic metabolic profiles and pharmacokinetic properties of harmane and its metabolites in rats in vivo. Materials and methods A highly selective, sensitive and rapid ultra-performance liquid chromatography combined with electrospray ionization tandem mass spectrometry (UPLC-ESI-MS/MS) method was developed and well-validated for simultaneous quantitative determination of harmane and its uncertain endogenous metabolite harmine, as well as for semiquantitative determination of 10 harmane metabolites in rats after intravenous injection and oral administration of harmane at 1.0 and 30.0 mg/kg, respectively. Results The calibration curves of harmane and harmine showed excellent linearity within the concentration range of 1-2000 ng/mL with acceptable accuracy, precision, selectivity, recovery, matrix effect and stability. Ten metabolites, including harmane but not harmine, were detected and identified after intravenous and oral administration of harmane. The absolute bioavailability of harmane following an oral dose was 19.41 ± 3.97%. According to the AUC 0-t values of all the metabolites, the metabolic levels of phase II metabolites were higher than those of phase I metabolites, and the sulphation pathways were the dominant metabolic routes for harmane in both routes of administration. Discussion and conclusion The pharmacokinetic properties of harmane and its 10 metabolites in rats were determined. Sulphate conjugation was the predominant metabolic process of harmane in rats.