PURPOSE: Previous studies support the causal effect of insomnia on heart failure. Fatty acid metabolism plays key roles in the occurrence and development of heart failure. It is unclear whether fatty acids play roles in the causal association between insomnia and heart failure. This study aims to investigate the mediating role of fatty acids in the association between insomnia and heart failure. METHODS: We performed two-step, two-sample Mendelian randomization analysis by applying SNPs as genetic instruments for exposures, mediators and outcomes. Summary data obtained from genome-wide association studies for insomnia, proposed fatty acid mediators and heart failure were used in this study. The overall effect of insomnia on heart failure includes direct and indirect effects. RESULTS: Genetically predicted insomnia has a significant causal effect on circulating total fatty acids, saturated fatty acids, monounsaturated fatty acids and omega-3 fatty acids. In addition, different circulating fatty acids have no causal effect on insomnia incidence. A significant positive correlation between genetic predicted insomnia and heart failure (OR = 1.10, 95% CI: 1.06-1.14, CONCLUSION: These results support circulating fatty acids as potential mediators in the causal association between insomnia and heart failure.