Although short sleep could promote neurodegeneration, long sleep may be a marker of ongoing neurodegeneration, potentially as a result of neuroinflammation. The objective was to evaluate sleep patterns with age of expected Alzheimer's disease (AD) onset and neuroinflammation. We tested 203 dementia-free participants (68.5 ± 5.4 years old, 78M). The PREVENT-AD cohort includes older persons with a parental history of AD whose age was nearing their expected AD onset. We estimated expected years to AD onset by subtracting the participants' age from their parent's at AD dementia onset. We extracted actigraphy sleep variables of interest (times of sleep onset and morning awakening, time in bed, sleep efficiency, and sleep duration) and general profiles (sleep fragmentation, phase delay, and hypersomnia). Cerebrospinal fluid (CSF) inflammatory biomarkers were assessed with OLINK multiplex technology. Proximity to, or exceeding, expected age of onset was associated with a sleep profile suggestive of hypersomnia (longer sleep and later morning awakening time). This hypersomnia sleep profile was associated with higher CSF neuroinflammatory biomarkers (IL-6, MCP-1, and global score). Interaction analyses revealed that some of these sleep-neuroinflammation associations were present mostly in those closer/exceeding the age of expected AD onset, APOE4 carriers, and those with better memory performance. Proximity to, or exceeding, parental AD dementia onset was associated with a longer sleep pattern, which was related to elevated proinflammatory CSF biomarkers. We speculate that longer sleep may serve a compensatory purpose potentially triggered by neuroinflammation as individuals are approaching AD onset. Further studies should investigate whether neuroinflammatory-triggered long sleep duration could mitigate cognitive deficits.