BackgroundTo evaluate the neurological alterations induced by Omicron infection, to compare brain changes in chronic insomnia with those in exacerbated chronic insomnia in Omicron patients, and to examine individuals without insomnia alongside those with new-onset insomnia.MethodsIn this study, a total of 135 participants were recruited between January 11 and May 4, 2023, including 26 patients with chronic insomnia without exacerbation, 24 patients with chronic insomnia with exacerbation, 40 patients with no sleep disorder, and 30 patients with new-onset insomnia after infection with Omicron (a total of 120 participants with different sleep statuses after infection), as well as 15 healthy controls who were never infected with Omicron. Neuropsychiatric data, clinical symptoms, and multimodal magnetic resonance imaging data were collected. The gray matter thickness and T1, T2, proton density, and perivascular space values were analyzed. Associations between changes in multimodal magnetic resonance imaging findings and neuropsychiatric data were evaluated with correlation analyses.ResultsCompared with healthy controls, gray matter thickness changes were similar in the patients who have and do not have a history of chronic insomnia groups after infection, including an increase in cortical thickness near the parietal lobe and a reduction in cortical thickness in the frontal, occipital, and medial brain regions. Analyses showed a reduced gray matter thickness in patients with chronic insomnia compared with those with an aggravation of chronic insomnia post-Omicron infection, and a reduction was found in the right medial orbitofrontal region (mean [SD], 2.38 [0.17] vs. 2.67 [0.29] mm; P < 0.001). In the subgroups of Omicron patients experiencing sleep deterioration, patients with a history of chronic insomnia whose insomnia symptoms worsened after infection displayed heightened medial orbitofrontal cortical thickness and increased proton density values in various brain regions. Conversely, patients with good sleep quality who experienced a new onset of insomnia after infection exhibited reduced cortical thickness in pericalcarine regions and decreased proton density values. In new-onset insomnia patients post-Omicron infection, the thickness in the right pericalcarine was negatively correlated with the Self-rating Anxiety Scale (r = − 0.538, P = 0.002, PFDR = 0.004) and Self-rating Depression Scale (r = − 0.406, P = 0.026, PFDR = 0.026) scores.ConclusionsThese findings help us understand the pathophysiological mechanisms involved when Omicron invades the nervous system and induces various forms of insomnia after infection. In the future, we will continue to pay attention to the dynamic changes in the brain related to insomnia caused by Omicron infection.