RecruitingDevice studyPain and Major Depressive DisorderThis study will examine the effects of brain stimulation on pain symptoms associated with Major depressive disorder. This study will enroll 54 Subjects. Study subjects will be asked to complete surveys about their mood and well-being, 2 blood draws, 2 MRIs, 3 electroencephalograms, and receive 30 treatments of blinded transcranial magnetic stimulation. There is no control group as all subjects will receive some form of active treatment. Subjects are required to participate in 30-33 study visits and volunteer 40 hours of their time. Compensation for this study is $150 for completing all study activities.