Mefloquine is metabolized in the liver by the cytochrome P450 enzyme system, particularly CYP3A4. It is primarily excreted in the bile and feces, with only a small percentage eliminated via the kidneys. Understanding its metabolism is crucial for anticipating drug interactions and individual variability in response to the medication.