Recent reports have suggested that insulin promotes airway smooth muscle contraction and enhances airway hyperresponsiveness, which are cardinal features of asthma. In contrast, metformin can reduce both airway inflammatory and remodeling properties. However, these results are all from in vitro and animal studies. This study investigated whether diabetes and various antidiabetic agents associate with the risk of asthma.We used a retrospective population-based cohort study using Taiwan's National Health Insurance claim database from 2000 to 2010 and a Cox proportional hazards regression model to compare the incidence of asthma between patients with diabetes (n = 19,428) and a matched non-diabetic group (n = 38,856). We also used a case-control study nested from the above cohort including 1,982 incident cases of asthma and 1,982 age- and sex-matched controls. A time density sampling technique was used to assess the effects of various antidiabetic agents on the risk of asthma.The incidence of asthma was significantly higher in the diabetic cohort than that in the non-diabetic cohort after adjustment for age, sex, and obesity, with a hazard ratio of 1.30 (95% confidence interval [CI]: 1.24-1.38). Insulin was found to increase the risk of asthma among diabetic patients (odds ratio [OR] 2.23; 95% CI: 1.52-3.58). In contrast, the use of metformin correlated with a decreased risk of asthma (OR 0.75; 95% CI: 0.60-0.95).Individuals with diabetes are at an increased risk of asthma. Insulin may further increase the risk of asthma, but the risk could possibly be reduced by using metformin.