Transcranial magnetic stimulation (TMS) is a Food and Drug Administration (FDA) approved, non-invasive treatment. It is primarily used in treating major depression but can also treat some other conditions that may impact a person's mental health.