Sarcopenia is a condition characterized by age-related loss of muscle mass and strength. Increasing evidence suggests that patients with sarcopenia have higher rates of coronavirus 2019 (COVID-19) infection and poorer post-infection outcomes. However, the exact mechanism and connections between the two is unknown. In this study, we used high-throughput data from the GEO database for sarcopenia (GSE111016) and COVID-19 (GSE171110) to identify common differentially expressed genes (DEGs). We conducted GO and KEGG pathway analyses, as well as PPI network analysis on these DEGs. Using seven algorithms from the Cytoscape plug-in cytoHubba, we identified 15 common hub genes. Further analyses included enrichment, PPI interaction, TF-gene and miRNA-gene regulatory networks, gene-disease associations, and drug prediction. Additionally, we evaluated immune cell infiltration with CIBERSORT and assessed the diagnostic accuracy of hub genes for sarcopenia and COVID-19 using ROC curves. In total, we identified 66 DEGs (34 up-regulated and 32 down-regulated) and 15 hub genes associated with sarcopenia and COVID-19. GO and KEGG analyses revealed functions and pathways between the two diseases. TF-genes and TF-miRNA regulatory network suggest that FOXOC1 and hsa-mir-155-5p may be identified as key regulators, while gene-disease analysis showed strong correlations with hub genes in schizophrenia and bipolar disorder. Immune infiltration showed a correlation between the degree of immune infiltration and the level of infiltration of different immune cell subpopulations of hub genes in different datasets. The ROC curves for ALDH1L2 and KLF5 genes demonstrated their potential as diagnostic markers for both sarcopenia and COVID-19. This study suggests that sarcopenia and COVID-19 may share pathogenic pathways, and these pathways and hub genes offer new targets and strategies for early diagnosis, effective treatment, and tailored therapies for sarcopenia patients with COVID-19.