Eating walnuts can not cure insomnia, if the patient has a more serious insomnia, but also need to follow the doctor’s instructions for drug treatment. Walnuts have a high nutritional value, which is rich in protein, fat, vitamins and calcium, phosphorus, iron and other minerals, and also contains unsaturated fatty acids and other components, can provide the body with a variety of nutrients and energy, to maintain the body’s various functions; but walnuts are food, does not have the efficacy of the treatment of insomnia can not be used. Insomnia patients need to comply with medical advice to use flurazepam, triazolam, oxazepam and other benzodiazepines, and can also be used with eszopiclone, paroxetine, zolpidem, mirtazapine, such as melatonin agonist treatment. At the same time, patients also need to ensure a regular routine, avoid eating coffee, strong tea and other stimulating foods or strenuous exercise before bedtime, so as not to aggravate the symptoms. It is recommended that insomnia patients under the guidance of a doctor to plan a reasonable diet, if necessary, also need to follow the doctor’s instructions to take medication measures, so as not to delay the condition.