Background Allergic rhinitis (AR) is a burdensome respiratory disorder whose etiology and pathophysiology remain controversial and most likely multifactorial. Accumulated evidence indicates that gut dysbiosis contributes to AR via the gut-airway axis. Constipation could result in alteration of the intestinal microflora. The clinical impact of constipation on AR has not been studied. We aimed to evaluate the risk of AR in constipated patients using a nationwide longitudinal population-based cohort. Methods We identified 57786 patients with constipation and 57786 matched controls between 1999 and 2013 from the Longitudinal Health Insurance Database, which is a subset of Taiwanese National Health Insurance Research Database. Propensity score analysis was used for matching age, sex, comorbidities, and medications at a ratio of 1:1. Multiple Cox regression and subgroup analyses were used to estimate the adjusted hazard ratio of AR. Results The incidence of AR was 32.2 per 1,000 person-years in constipated patients, which was twice that of non-constipated patients. After adjustment for patients' age, gender, comorbidities, and medications, patients with constipation had a 2.3-fold risk of AR compared to those without constipation (adjusted hazard ratio [aHR]: 2.30; 95% CI, 2.23-2.37). In subgroup analyses, patients aged 20-39 years had a 2.24-fold higher risk of AR in the constipation cohort (aHR; 95% CI, 2.12-2.36). Patients aged <20, 40-64, and �65 years had a 2.09, 2.05, and 2.