Chronic insomnia (CI) is a complex disease involving multiple factors including genetics, gut microbiota, and brain structure and function. However, there lacks a unified framework to elucidate how these factors interact in CI. By combining data of clinical assessment, sleep behavior recording, cognitive test, multimodal MRI (structural, functional, and perfusion), gene, and gut microbiota, this study demonstrated that enhanced cerebral blood flow (CBF) similarities of the somatomotor network (SMN) acted as a key mediator to link multiple factors in CI. Specifically, we first demonstrated that only CBF but not morphological or functional networks exhibited alterations in patients with CI, characterized by increases within the SMN and between the SMN and higher-order associative networks. Moreover, these findings were highly reproducible and the CBF similarity method was test-retest reliable. Further, we showed that transcriptional profiles explained 60.4% variance of the pattern of the increased CBF similarities with the most correlated genes enriched in regulation of cellular and protein localization and material transport, and gut microbiota explained 69.7% inter-individual variance in the increased CBF similarities with the most contributions from Negativicutes and Lactobacillales. Finally, we found that the increased CBF similarities were correlated with clinical variables, accounted for sleep behaviors and cognitive deficits, and contributed the most to the patient-control classification (accuracy = 84.4%). Altogether, our findings have important implications for understanding the neuropathology of CI and may inform ways of developing new therapeutic strategies for the disease.