Background: Autism Spectrum Disorder (ASD) is a widespread developmental disorder, which mostly occurs in children. When the degree of autism spectrum disorder increases, it will lead to childhood autism. Autism spectrum disorder will seriously endanger children's physical and mental health. Therefore, finding an appropriate intervention to treat children's autism spectrum disorder is of great significance to the children themselves, their families and social development. Based on the theory of analytical psychology, this study analyzes the mind, personality and consciousness of children with autism spectrum disorders, and then analyzes the law of children's psychological changes. Based on the analysis results, the study puts forward the intervention mode of drama therapy, which can regulate the children's psychology through drama performance, and then treat the children's autism spectrum disorder. Subjects and methods: 60 children with autism spectrum disorders were selected as the research object. 60 children with autism spectrum disorders were randomly divided into study group and control group by random number table method, with 30 people in each group. In addition to routine treatment, children in the study group also received dramatic treatment intervention. The children in the control group only received routine treatment. Results: Before the experiment, it was found that the CSHQ scores of the two groups of children were very similar, with little difference. After 3 months of drama performance intervention, CSHQ scale was used again to evaluate the sleep status of the two groups of children. It was found that the CSHQ scores of the children in the experience group were significantly higher than those in the general group. Conclusions: When the degree of autism spectrum disorder increases, it will lead to childhood autism. Based on the theory of analytical psychology, this study puts forward the intervention methods of drama therapy. The results showed that after the intervention, the CSHQ scores of children in the study group were significantly lower than those in the control group (P < 0.05). The above results show that the drama performance intervention based on analytical psychology can effectively treat children's autism spectrum disorders, and is of great significance to the children themselves, their families and social development.