Oxcarbazepine (Trileptal) is used alone or in combination with other medications to control certain types of seizures in adults and children. Oxcarbazepine extended-release tablets (Oxtellar XR) are used in combination with other medications to control certain types of seizures in adults and children 6 years of age and older. Oxcarbazepine is in a class of medications called anticonvulsants. It works by decreasing abnormal electrical activity in the brain.