Individuals between the ages of 18 and 65 with current (past 3 months) prescription opioid use and chronic pain are being recruited. Participants will be screened on the telephone for major inclusion/exclusion criteria. Individuals meeting inclusion criteria based on the screening assessment will be set up for an appointment in the clinic. Participants will be instructed not to use alcohol, prescription opioids, or any other drugs on the day of their appointment. All study procedures will take place at the 30 Bee Street location of the Brain Stimulation Lab (BSL). The protocol contains 1 screening visit, 10 TMS visit, and 2 follow up visits. Individuals that are eligible following the screening visit will be randomized to receive real or sham TMS.