Epilepsy is a common neurological disorder that affects millions of people worldwide. Patients with epilepsy generally require long-term antiepileptic therapy and many of them receive polypharmacy. Certain medications, including older-generation antiepileptic drugs, have been known to predispose patients to developing diabetes. Although data mining techniques have become widely used in healthcare, they have seldom been applied in this clinical problem. Here, the authors used association rule mining to discover drugs or drug combinations that may be associated with newly diagnosed diabetes. Their findings indicate in addition to the most common culprits such as phenytoin and valproic acid, prescriptions containing carbamazepine, oxcarbazepine, or lamotrigine may be related to the development of newly diagnosed diabetes. These mined rules are useful as guidance to both clinical practice and future research.