Spontaneous intracerebral hemorrhage (sICH) is a form of stroke with high mortality rates and significant neurological implications for patients. Abnormalities in lipid metabolism have been implicated in various cardiovascular diseases, yet their relationship with sICH remains insufficiently explored, particularly concerning their association with inflammatory factors. Employing a two-sample, two-step Mendelian Randomization approach, combined with data from GWAS datasets, to investigate the causal relationship between plasma lipid levels and sICH. Additionally, the role of inflammatory factors in this relationship was examined, and sensitivity analyses were conducted to ensure the robustness of the results. The results indicate a significant causal relationship between 19 plasma lipid metabolites and sICH. Furthermore, mediation analysis revealed that three distinct lipids, namely Sterol ester (27:1/20:2), Phosphatidylcholine (16:0_20:4), and Sphingomyelin (d34:1), exert their influence on sICH through inflammatory factors. TRAIL (OR: 1.078, 95% CI: 1.016-1.144, p = 0.013) and HGF (OR: 1.131, 95% CI: 1.001-1.279, p = 0.049) were identified as significant mediators. This study provides new evidence linking abnormalities in lipid metabolism with sICH and elucidates the role of inflammatory factors as mediators. These findings contribute to a better understanding of the pathogenesis of sICH and offer novel insights and therapeutic strategies for its prevention and treatment.