Migraine and restless legs syndrome (RLS) appear to be associated, but the relationship between tension-type headache (TTH) and RLS is unknown. This nationwide, population-based, retrospective cohort study explored the potential association between TTH and RLS.We identified 15,504 patients with newly diagnosed TTH from 2000 to 2007 and 62,016 individuals without TTH who were selected by frequency matched based on sex, age, and the index year. The study participants were followed until diagnosed with RLS, withdrawal from the NHI program, or the end of 2011. Cox proportional hazard models were used to identify risk factors for RLS in TTH patients.After adjusting for sex, age, comorbidity, and medications, TTH was significantly associated with an increased risk of RLS (hazard ratio [HR] = 1.57, 95% confidence interval [CI] = 1.22–2.02). The risk was most prominent in patients aged 20 to 39 years in the TTH group, which exhibited a 2.60-fold higher risk (95% confidence interval = 1.53–4.42) of RLS compared with the non-TTH group. The TTH group had a higher risk of RLS than that of the non-TTH group regardless of sex.Tension-type headache appears to be associated with an increased risk of developing RLS. This similarity to migraines may indicate that headache and RLS have a coincident pathophysiological mechanism, a possibility requiring further study. Clinicians should be more attentive to RLS as a possible comorbidity in patients with TTH.