Rhinitis is a complex condition characterized by various subtypes, including allergic rhinitis (AR), which involves inflammatory reactions. The objective of this research was to identify crucial genes associated with inflammatory response that are relevant for the treatment and diagnosis of AR. We acquired the AR-related expression datasets (GSE75011 and GSE50223) from the Gene Expression Omnibus (GEO) database. In GSE75011, we compared the gene expression profiles between the HC and AR groups and identified differentially expressed genes (DEGs). By intersecting these DEGs with inflammatory response-related genes (IRGGs), resulting in the identification of differentially expressed inflammatory response-related genes (DIRRGs). Afterwards, we utilized the protein-protein interaction (PPI) network, machine learning algorithms, namely least absolute shrinkage and selection operator (LASSO) regression and random forest, to identify the signature markers. We employed a nomogram to evaluate the diagnostic effectiveness of the method, which has been confirmed through validation using GSE50223. qRT-PCR was used to confirm the expression of diagnostic genes in clinical samples. In addition, a consensus clustering method was employed to categorize patients with AR. Subsequently, extensive investigation was conducted to explore the discrepancies in gene expression, enriched functions and pathways, as well as potential therapeutic drugs among these distinct subtypes. A total of 22 DIRRGs were acquired, which participated in pathways including chemokine and TNF signaling pathway. Additionally, machine learning algorithms identified NFKBIA, HIF1A, MYC, and CCRL2 as signature genes associated with AR's inflammatory response, indicating their potential as AR biomarkers. The nomogram based on feature genes could offer clinical benefits to AR patients. We discovered two molecular subtypes, C1 and C2, and observed that the C2 subtype exhibited activation of immune- and inflammation-related pathways. NFKBIA, HIF1A, MYC, and CCRL2 are the key genes involved in the inflammatory response and have the strongest association with the advancement of disease in AR. The proposed molecular subgroups could provide fresh insights for personalized treatment of AR.