Objective To explore the mechanism of Taohong Siwu Decoction in the treatment of vitiligo based on network pharmacology and molecular docking technology. Methods The active ingredients and potential targets of Taohong Siwu Decoction were screened out among the Traditional Chinese Medicine Systems Pharmacology Database and Analysis Platform, PubChem database, SwissTargetPrediction database, and relevant literatures, the GeneCards, DrugBank, and TTD databases were used to screen disease-related targets, and the UniProt database was used to standardize the gene names of the target proteins. Intersection of the potential targets and the disease-related targets was taken, and the Cytoscape 3.7.1 software was used to construct a "component-target" network diagram; the STRING database was used to obtain the protein-protein interaction (PPI) network diagram of the intersectional targets, and the Cytoscape 3.7.1 software was employed to visualize the network diagram and conduct topological analysis. The DAVID database was used to perform Gene Ontology (GO) enrichment analysis and Kyoto Encyclopedia of Genes and Genomes (KEGG) pathway enrichment analysis on the key targets. The main active ingredients and key targets were verified by molecular docking technology. Results A total of 59 potential active ingredients were screened out, and 20 potential targets for Taohong Siwu Decoction in the treatment of vitiligo were obtained. In the "component-target" network diagram, the components with the top three degree value were as follows: quercetin, with 12 action targets; kaempferol, with 8 action targets; and luteolin, with 7 action targets. In the PPI network diagram, the key targets with the top three degree value were serine/threonine-protein kinase 1 (AKT1), acetylcholinesterase (AChE), and myeloperoxidase (MPO). A total of 24 items were screened out by GO enrichment analysis, including 13 biological processes, 8 molecular functions, and 3 cell components. A total of 3 pathways were screened out through KEGG pathway enrichment analysis: the insulin resistance pathway, the cholinergic synapse pathway, and the diabetic cardiomyopathy pathway. The results of molecular docking showed that quercetin, kaempferol, and luteolin all exhibited good binding activities with AKT1, AChE, and MPO. Conclusion In the treatment of vitiligo, Taohong Siwu Decoction is characterized by multiple components, multiple targets, and multiple pathways. It may exert its therapeutic effect on vitiligo through acting on targets such as AKT1, AChE, and MPO by its active components like quercetin, kaempferol, and luteolin and regulating the insulin resistance pathway, cholinergic synapse pathway, and diabetic cardiomyopathy pathway.