BackgroundInflammation has been implicated in the pathology of schizophrenia and may cause neuronal cell death and dendrite loss. Neuroimaging studies have highlighted longitudinal brain structural changes in patients with schizophrenia, yet it is unclear whether this is related to inflammation. We aim to address this question, by relating brain structural changes with the transcriptional profile of inflammation markers in the early stage of schizophrenia.MethodsThirty-eight patients with first-episode schizophrenia and 51 healthy controls were included. High-resolution T1-weighted magnetic resonance imaging (MRI) and clinical assessments were performed at baseline and 2 ~ 6 months follow-up for all subjects. Changes in the brain structure were analyzed using surface-based morphological analysis and correlated with the expression of immune cells-related gene sets of interest reported by previous reviews. Transcriptional data were retrieved from the Allen Human Brain Atlas. Furthermore, we examined the brain structural changes and peripheral inflammation markers in association with behavioral symptoms and cognitive functioning in patients.ResultsPatients exhibited accelerated cortical thickness decrease in the left frontal cortices, less decrease or an increase in the superior parietal lobule and right lateral occipital lobe, and increased volume in the bilateral pallidum, compared with controls. Changes in cortical thickness correlated with the transcriptional level of monocyte across cortical regions in patients (r= 0.54,p< 0.01), but not in controls (r=  − 0.05,p= 0.76). In addition, cortical thickness change in the left superior parietal lobule positively correlated with changes in digital span-backward test scores in patients.ConclusionsPatients with schizophrenia exhibit regional-specific cortical thickness changes in the prefrontal and parietooccipital cortices, which is related to their cognitive impairment. Inflammation may be an important factor contributing to cortical thinning in first-episode schizophrenia. Our findings suggest that the immunity-brain-behavior association may play a crucial role in the pathogenesis of schizophrenia.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12916-023-02963-y.