Sleepwalking at night in a 12-year-old boy is mostly related to genetic factors, psychosomatic factors, drug factors, disease factors and so on. 1. Genetic factors: sleepwalking has a certain relationship with heredity, 12-year-old boy sleepwalking at night may be due to his parents suffer from sleepwalking, resulting in the boy also sleepwalking. 2. Psychological factors: If a 12-year-old boy is chronically overstressed, stressed and in a bad mood, it can also lead to the phenomenon of sleepwalking at night. 3. Drugs: If a 12-year-old boy takes antidepressants, sedatives and other drugs, it may also cause sleepwalking at night. 4. Disease factors: If a 12-year-old boy suffers from restless legs syndrome, gastroesophageal reflux disease and other diseases, it may also cause sleepwalking at night. The exact etiology and pathogenesis of sleepwalking is not completely clear, there may be other reasons, it is recommended to go to the hospital in time to identify the cause of the disease, and then receive treatment as soon as possible.