Using machine learning methods, this study demonstrated that the rs35697037 and rs2285666 polymorphisms were the most significant SNPs in determining COVID-19 outcomes, particularly hospitalization and mortality, related to the ACE2 gene. Here, ACE2 is linked to COVID-19.