The objective of this study is to evaluate functional brain activity measures that correlate with clinically assessed mood symptoms and their changes before, during, and after repetitive transcranial magnetic stimulation (rTMS) treatment for a major depressive episode. A secondary aim is to explore the relationship between pre- and post-treatment functional brain changes and depression outcomes, including changes in depression scores, response rates, and remission status. The dorsolateral prefrontal cortex (DLPFC), a brain region involved in mood regulation, shows altered activity in depression and will be targeted in this study. All patients in this study will undergo an accelerated rTMS protocol over the course of five days, using the pre-treatment imaging to localize the brain region (i.e. DLPFC) targeted by the TMS coil. In addition to rTMS, the investigators will administer questionnaires to evaluate mood and function at multiple time points: before, during, and after treatment. Patients will also undergo dry quantitative EEG (qEEG), which records brain electrical activity to see how these networks are altered in depression and rescued by rTMS. Participants will also undergo dry quantitative EEG (qEEG) recordings, a method that measures brain electrical activity, to investigate how brain networks are disrupted in depression and how they are modulated by rTMS. Participants who respond to rTMS will be monitored for recurrence of depressive symptoms during follow-up visits. If depressive symptoms worsen, maintenance treatment will be administered. Two maintenance TMS protocols will be compared in this study: 1) a gradually tapering protocol involving once-daily treatments delivered weekly for one month, followed by a gradual taper to one treatment every two weeks for two months, 2) a cluster protocol involving five treatments delivered over two consecutive weekdays (e.g., two treatments on Day 1 and three treatments on Day 2, or vice versa). This research aims to deepen our understanding of the mechanisms by which rTMS modulates brain activity, improve our ability to predict treatment response, and determine the most effective maintenance treatment protocol for sustained symptom relief.