Despite the well-documented therapeutic effects of histone deacetylase inhibitor (HDACi) on various diseases, including arthritis and asthma, the therapeutic effect of HDACi on allergic rhinitis remains unmentioned in the literature. This study investigated the therapeutic effect of sodium butyrate (SoB), a form of HDACi, on mice with allergic rhinitis. The results showed that the expression levels of histone deacetylase 1 (HDAC1), histone deacetylase 3 (HDAC3), and thymic stromal lymphopoietin (TSLP) were significantly upregulated in mice with allergic rhinitis, whereas H3 acetylation at lysine 9 (H3AcK9) was decreased. The intranasal application of SoB inhibited the expression levels of TSLP levels and upregulated the expression of H3AcK9 in a mouse model of allergic rhinitis. Furthermore, SoB treatment significantly decreased the increased levels of ovalbumin-specific IgE and improved clinical symptoms and nasal mucosa epithelial morphology in the mouse model of allergic rhinitis. In addition, we further demonstrated that SoB treatment significantly increased the serum levels of IL-2 and IFN-γ and decreased the serum levels of IL-4 and IL-10, correcting the Th1/Th2 imbalance in the mouse model of allergic rhinitis. Taken together, our study suggests that SoB has the potential to treat allergic rhinitis.