Transcranial magnetic stimulation therapy assessed the trait of insomnia in patients with insomnia due to disturbed intracortical excitability. Reduction of an overexcited state in patients with insomnia can effectively improve sleep patterns.