TMS is not harmful to the majority of patients. During a TMS treatment session, energy is transferred into the patient’s brain from a magnetic field (created by passing electrical energy through a coil of wires). Magnetic energy easily passes through the skin activating the brain without causing pain.