Patients with chronic rhinosinusitis with nasal polyps (CRSwNP) and asthma comorbidity (ACRSwNP) present severe symptoms and are more likely to relapse. However, the pathogenesis of ACRSwNP is not fully understood. The aim of this study was to explore the underlying pathogenesis of ACRSwNP using bioinformatics approaches. ACRSwNP-related differentially expressed genes (DEGs) were identified by the analysis of the GSE23552 dataset. The clusterProfiler R package was used to carry out functional and pathway enrichment analysis. A protein–protein interaction (PPI) network was built using the STRING database to explore key genes in the pathogenesis of ACRSwNP. The bioinformatics analysis results were verified through qRT-PCR. The Connectivity Map (CMap) database was used to predict potential drugs for the treatment of ACRSwNP. A total of 36 DEGs were identified, which were mainly enriched in terms of regulation of immune response and detection sensory perception of taste. Thirteen hub genes including AZGP1, AQP9, GAPT, PIP, and PRR4 were identified as potential hub genes in ACRSwNP from the PPI network. Analysis of the GSE41861 dataset showed that upregulation of CST1 in nasal mucosa was associated with asthma. qRT-PCR detection confirmed the bioinformatics analysis results. Tacrolimus and spaglumic acid were identified as potential drugs for the treatment of ACRSwNP from the CMap database. The findings of this study provide insights into the pathogenesis of ACRSwNP and may provide a basis for the discovery of effective therapeutic modalities for ACRSwNP.