Sleep and electroencephalogram abnormalities are prominent early features of Huntington's disease (HD) that typically appear before the onset of characteristic motor symptoms. The changes in sleep and electroencephalogram seen in HD patients are largely recapitulated in mouse models of HD such as transgenic R6/2 lines. To test whether or not drugs with hypnotic properties can correct the sleep and electroencephalogram abnormalities seen in HD mice, we treated male wild-type (WT; N = 7) and R6/2 mice (N = 9) acutely with intraperitoneal injections of vehicle, zolpidem (5, 10 or 20 mg/kg) or amitriptyline (5, 10 or 20 mg/kg), and then monitored their sleep–wake behavior. In R6/2 mice, both zolpidem and amitriptyline suppressed the abnormally high REM sleep amount and electroencephalographic gamma (30–46 Hz) oscillations in a dose-dependent manner. Amitriptyline's effect on sleep was similar in both genotypes, whereas zolpidem showed significant genotype differences. Zolpidem exerted a strong hypnotic effect in WT mice by increasing electroencephalographic delta power, doubling the mean bout duration and the total amount of non-rapid eye movement sleep. However, no such effect was seen in R6/2 mice. Our study demonstrates that the pathophysiological changes seen in sleep and electroencephalogram are not ‘hard-wired’ in HD brain and can be reversed even at late stages of the disease. The diminished hypnotic effect of zolpidem suggests that the GABAergic control of sleep–wake states is impaired in HD mice. A better understanding of the neurochemical basis underlying these abnormalities should lead to more effective and rational therapies for HD.