BackgroundThe interaction between intestinal microbiota and erectile dysfunction (ED) is less investigated. This study was performed to explore the association between intestinal microbiota and ED.MethodsIn this two‐sample Mendelian randomization (MR) study, genetic variants of gut microbiota were obtained from MiBioGen consortium containing 18,340 individuals. Six methods including inverse variance weighting (IVW), MR‐Egger, weighted median, maximum likelihood, MR robust adjusted profile score, and MR pleiotropy residual sum and outlier were used to investigate the causal links between intestinal microbiota and ED. Furthermore, reverse MR analysis was performed to exclude the causal impact of ED on gut microbiota.ResultsAs revealed by the IVW estimator, the risks of ED were raised by genetically proxied Lachnospiraceae (OR: 1.27), Lachnospiraceae NC2004 group (OR: 1.17), Oscillibacter (OR: 1.20), Senegalimassilia (OR: 1.32) (All P < 0.05) and Tyzzerella‐3 (OR: 1.14, P < 0.05). It was observed that Ruminococcaceae UCG013 exerted protective effect against ED (OR: 0.77, P < 0.05). These results were consistent with other estimators in sensitivity analyses. In reverse MR analyses, genetic liability to ED did not alter the abundances of Lachnospiraceae, Lachnospiraceae NC2004 group, Oscillibacter, Senegalimassilia, Tyzzerella‐3, and Ruminococcaceae UCG013 (All P > 0.05). No heterogeneity and pleiotropy were detected by Cochran's Q‐test, MR‐Egger, and global test (All P > 0.05).ConclusionsThis study provided novel evidence that genetically proxied Lachnospiraceae, Lachnospiraceae NC2004 group, Oscillibacter, Senegalimassilia, Tyzzerella‐3, and Ruminococcaceae UCG013 had potentially causal effects on ED. Further studies are needed to clarify the biological mechanisms linking intestinal microbiota to ED.