Objective To explore the relationship between the gut microbiome (GM) and psoriasis using a two-sample two-way Mendelian randomization (MR) approach. Methods The forward analysis uses the gut microbiota as the exposure factor, and its genetic data are derived from the genome-wide association study dataset published by the MiBioGen consortium. Psoriasis was used as the outcome variable, and its genetic data were obtained from the UK Biobank. The reverse MR analysis, on the other hand, took psoriasis as the exposure and the specific gut microbiota taxonomic units identified in the forward analysis as the outcome variable. MR analysis was conducted using maximum likelihood, MR Egger regression, weighted median, inverse variance weighting (IVW), and weighted models to study the causal relationship between the gut microbiota and psoriasis. Then, sensitivity analyses including horizontal pleiotropy test, Cochran’s Q test, and leave-one-out analysis were used to evaluate the reliability of the results. Results A total of 51 single nucleotide polymorphisms from 5 fungi were included in the forward study. The forward IVW analysis results showed that, the class Mollicutes [odds ratio (OR)=1.003, 95% confidence interval (CI) (1.001, 1.006), P=0.004], genus Lachnospiraceae FCS020 group [OR=1.003, 95%CI (1.000, 1.006), P=0.041], and phylum Tenericutes [OR=1.003, 95%CI (1.001, 1.006), P=0.004] were causally associated with an increased risk of psoriasis. The family Victivallaceae [OR=0.998, 95%CI (0.997, 1.000), P=0.005] and order Pasteurellales [OR=0.998, 95%CI (0.996, 1.000), P=0.047] were also linked to a decreased risk of psoriasis. The results of the sensitivity analysis were robust. There was no evidence of a reverse causal relationship from psoriasis to the identified bacterial taxa found in the results of reverse MR analysis results. Conclusions The abundance of three species, class Mollicutes, genus Lachnospiraceae and phylum Tenericutes, may increase the risk of psoriasis. The abundance of two species, family Victivallaceae and order Pasteurellales may reduce the risk of psoriasis. These results provide new directions for the prevention and treatment of psoriasis in the future, but further research is needed to explore how the aforementioned microbiome affects the progression of psoriasis.