Background. The interplay among human gut microbiota (GM) composition, osteoarthritis (OA) and OA-related medication use has been extensively discussed. However, to date, there has been no exploration of the genetic correlation among these three factors. Hypothesis/Gap. The potential causal link between GM and OA), and whether medications influence this relationship, remains unclear. Methods. We utilized bidirectional Mendelian randomization (MR) to explore the genetic associations between GM and OA. We leveraged genome-wide association study (GWAS) summary statistics from the MiBioGen and GO consortia, which provided data on GM taxa and OA cases, respectively. We identified outlier single-nucleotide polymorphisms using radial-MR and assessed causal associations using inverse variance weighting (IVW), weighted median and MR-Egger methods. Robust outcomes, consistent across these methods, were reported. We addressed potential biases through tests for horizontal pleiotropy and heterogeneity, supplemented by the Mendelian randomization pleiotropy residual sum and outlier method. Multivariable MR techniques were applied to adjust for OA medication use using UK Biobank data. Results. IVW estimates revealed a significant increase in hip OA risk for Gordonibacter and Eubacterium (brachy group) [odds ratio (OR): 1.09, 95% confidence interval (CI): 1.04-1.15, P =7.82E-04; OR: 1.09, 95% CI: 1.03-1.16, P =4.67E-03, respectively]. Conversely, Senegalimassilia , Slackia and Streptococcus exhibited protective effects (OR: 0.88, P =2.14E-02; OR: 0.88, P =3.33E-02; 0.91, P =4.29E-02). Sutterella increased the risk of knee OA (OR=1.15, 95% CI: 1.07-1.25, P =4.06E-04), while Haemophilus decreased it (OR=0.94, 95% CI: 0.88-1.00, P =4.26E-02). No significant heterogeneity or horizontal pleiotropy was observed in the results. Even after accounting for the potential confounding effect of medication, the results remained consistent. No reverse causation was detected. Conclusions. Our MR study reveals gut microbiome links to OA risk. Associations hold after adjusting for medication, indicating a potential causal connection between GM and OA.