Abstract: Objective: To explore the mechanism of Tianma Gouteng Decoction in treating tic disorders (TD) based on network pharmacology and molecular docking technology. Methods: The Traditional Chinese Medicine Systems Pharmacology Database and Analysis Platform (TCMSP) and BATMAN-TCM database were searched for the active ingredients and targets of Tianma Gouteng Decoction;the related targets of tic disorders were screened from GeneCards,CTD,DisGeNET,OMIM, PharmGKB and TTD databases; the intersection targets of the treatment of TD with Tianma Gouteng Decoction were obtained by VENNY2.1.0 software. The target-protein interaction network was established by STRING database and the Chinese medicine-active ingredients-target network by Cytoscape3.7.2. The analysis of Gene Ontology (GO) function and Kyoto Encyclopedia of Genes and Genomes (KEGG) pathway on key targets was respectively performed using R language software and the ability of major active ingredients to bind to key targets was verified by molecular docking technology. Results : A total of 205 active ingredients and 756 corresponding targets from Tianma Gouteng Decoction,and 4 072 related targets of TD were obtained. The key targets of Tianma Gouteng Decoction treating TD were recombinant V-JUN sarcoma virus 17 oncogene homolog (JUN), protein kinase B (AKT1), signal transducer and activator of transcription 3 (STAT3), tumor protein p53 (TP53), V-rel reticuloendotheliosis viral oncogene homolog A (RELA), cysteinyl aspartate specific proteinase 3 (CASP3), etc. The GO enrichment analysis suggested 3 035 biological processes (BP), 166 cell component (CC) and 307 molecular functions (MF). KEGG pathway enrichment analysis showed that the treatment of TD by Tianma Gouteng Decoction involved cyclic adenosine monophos-phate (cAMP),Calcium,mitogen-activated protein kinases (MAPK), interleukin-17 (IL-17), tumor necrosis factor (TNF) signaling pathways. According to molecular docking technology , the main active ingredients (quercetin , linolenic acid , α -linolenic acid , sucrose and m-hydroxybenzoic acid) had good binding activity with key targets (JUN,AKT1,STAT3,TP53,RELA and CASP3). Conclusion:The mechanism of Tianma Gouteng Decoction in treating TD is related to the effects of quercetin, linolenic acid, α -linolenic acid and other components on such targets as JUN, AKT1, STAT3,TP53 and RELA to regulate cAMP,Calcium,MAPK,IL-17 and TNF signaling pathways.