To assess the efficacy of zaleplon 10 mg and zolpidem 10 mg administered during experimental middle-of-the-night awakenings in patients with sleep-maintenance insomnia using objective polysomnographic measures and to assess daytime residual sedation 4 to 7 hours after dosing using sleep-latency testing. A randomized, double-blind, placebo-controlled, 3-period, crossover design was used to study 37 adults with insomnia who received treatment during an experimental awakening 4 hours after bedtime. Latency to persistent sleep and total sleep time before and after awakening were recorded. The primary residual sedation measure was a sleep latency test conducted hourly from 4 to 7 hours after treatment. Self-report measure of alertness and concentration and digit symbol substitution tests were examined concurrently. Sleep disorders centers. Thirty-seven adults with sleep-maintenance insomnia. Zaleplon 10 mg, zolpidem 10 mg, or placebo. Thirty-one patients had efficacy-evaluable data; 37 patients received at least 1 dose of study medication and were included in the safety analysis. Compared with placebo, latency to persistent sleep after both zaleplon and zolpidem was shorter and total sleep time after administration of the drugs was longer (overall p < .001, Dunnett p < .001 for all posthoc comparisons). Significant differences from placebo were not found with zaleplon in daytime-sedation measures. At 4, 5, and 7 hours after zolpidem, sleep onset on sleep latency testing was shorter than after placebo (overall p < .001 for all, Dunnett tests for posthoc comparisons p < .001, p < .001, p < .05, respectively). Self-report measures of concentration (4, 5, and 6 hours, overall p < .05, Dunnett p < .05 for each time point) and alertness (4 hours, overall p < .05, Dunnett p < .05), and Digit Symbol Substitution Test scores (4 and 5 hours, overall p < .001, Dunnett p < .01 for both time points) after zolpidem were also lower than with placebo. Zaleplon 10 mg and zolpidem 10 mg effectively shorten sleep latency and lengthen sleep duration after dosing, when administered during experimental nocturnal awakening. Residual sedation was not detected as little as 4 hours after zaleplon 10 mg, whereas residual sedation was detected with zolpidem 10 mg up to 7 hours after treatment. These findings suggest that zaleplon may be an appropriate treatment for use when patients awaken during the night and have difficulty reinitiating sleep.