Toutongning capsule (TTNC) is an effective and safe traditional Chinese medicine used in the treatment of migraine. In this present study, a multiscale strategy was used to systematically investigate the mechanism of TTNC in treating migraine, which contained UPLC-UESI-Q Exactive Focus network pharmacology and experimental verification. First, 88 compounds were identified by the UPLC-UESI-Q Exactive Focus method for TTNC. Then, the target fishing for these compounds was performed by means of an efficient drug similarity search tool. Third, a series of network pharmacology experiments were performed to predict the key compounds, targets, and pathways. They were protein-protein interaction (PPI), KEGG pathway enrichment analysis, and herbs-compounds-targets-pathways (H-C-T-P) network construction. As a result, 18 potential key compounds, 20 potential key targets, and 6 potential signaling pathways were obtained for TTNC in treatment with migraine. Finally, molecular docking and experimental were carried out to verify the key targets. In short, the results showed that TTNC is able to treat migraine through multiple components, multiple targets, and multiple pathways. This work may provide a theoretical basis for further research on the molecular mechanism of TTNC in the treatment of migraine.