At the end of week 8, participants will undergo detoxification from methadone over a 4-week period (weeks 8-12) and discontinuation from levetiracetam over a concurrent 2-week period. All participants will receive weekly 1-hour of individual psychotherapy (Cognitive Behavioral Treatment) with experienced clinicians specifically trained to deliver the therapy and who will receive ongoing supervision. The primary outcomes will be reported medication side effects (medication tolerability), and reduction in cocaine use, as assessed by self-report and thrice-weekly urinalyses. Secondary outcomes will include weeks in treatment (retention), and change in measures of: cocaine craving, anxiety symptoms and opiate withdrawal symptoms. This study will occur at the Outpatient Treatment Research Program in Building 36 at the VA CT Healthcare System.