Huntington's disease (HD) is a progressive neurodegenerative brain disorder associated with uncontrolled body movements, cognitive decline, and reduced circulating melatonin levels. Melatonin is a potent antioxidant and exogenous melatonin treatment is neuroprotective in experimental HD models. In neurons, melatonin is exclusively synthesized in the mitochondrial matrix. Thus, we investigated the integrity of melatonin biosynthesis pathways in pineal and extrapineal brain areas in human HD brain samples, in the R6/2 mouse model of HD and in full-length mutant huntingtin knock-in cells. Aralkylamine N-acetyltransferase (AANAT) is the rate-limiting step enzyme in the melatonin biosynthetic pathway. We found that AANAT expression is significantly decreased in the pineal gland and the striatum of HD patients compared to normal controls. In the R6/2 mouse forebrain, AANAT protein expression was decreased in synaptosomal, but not nonsynaptosomal, mitochondria and was associated with decreased synaptosomal melatonin levels compared to wild type mice. We also demonstrate sequestration of AANAT in mutant-huntingtin protein aggregates likely resulting in decreased AANAT bioavailability. Paradoxically, AANAT mRNA expression is increased in tissues where AANAT protein expression is decreased, suggesting a potential feedback loop that is, ultimately unsuccessful. In conclusion, we demonstrate that pineal, extrapineal, and synaptosomal melatonin levels are compromised in the brains of HD patients and R6/2 mice due, at least in part, to protein aggregation.