Background: Sleep problems are common in autism from early childhood. Although research suggests that poor sleep continues at least into early middle age, the pattern of sleep problems has rarely been characterized beyond childhood. The aim of this study was to examine sleep quality from adolescence to old age in autistic individuals as compared with age-matched non-autistic comparison groups from the general population. Methods: Participants ranged from 15 to 80 years; there were 297 participants in the autistic group (mean [M] age = 34.36 years, standard deviation [SD] = 15.24), and the comparison group had 233 participants (M age = 33.01 years, SD = 15.53). Sleep quality, sleep onset latency (SoL), total night sleep, and sleep efficiency as measured by Pittsburgh Sleep Quality Index were compared between groups and across age groups (15-19, 20-39, 40-59, 60+ years). Five predictors of sleep quality (autistic traits, mental health condition, medication, employment, and sex) were also examined. Results: Overall, problematic sleep was more common for the autistic participants (63.7%) than the comparison group (46.4%), and autistic participants had poorer sleep quality and longer SoL (all p < 0.001). In early adulthood and middle age, autistic adults had significantly poorer sleep quality and longer SoL than similar age comparison group adults; autistic and comparison group adolescents and the elderly did not differ. In the autistic group, predictors accounted for 21% of sleep quality variance. Sex ( p < 0.001) was the strongest predictor, with all predictors except employment contributing unique variance. In the comparison group, predictors accounted for 25% of the variance in sleep quality. The strongest predictor was mental health condition ( p < 0.001), with all predictors except sex contributing unique variance. Conclusions: Autistic adolescents and adults, particularly females, remain vulnerable to sleep problems, with early and middle adulthood being at times of particular risk. Targeted sleep interventions are required.