In addition, phenome-wide research, enrichment analysis, protein network construction, drug prediction, and molecular docking were performed to provide valuable guidance for the development of more effective and targeted therapeutic drugs.<h4>Results</h4>We identified 21 druggable genes significantly associated with migraine (BRPF3, CBFB, CDK4, CHD4, DDIT4, EP300, EPHA5, FGFRL1, FXN, HMGCR, HVCN1, KCNK5, MRGPRE, NLGN2, NR1D1, PLXNB1, TGFB1, TGFB3, THRA, TLN1 and TP53), two of which were significant in both blood and brain (HMGCR and TGFB3). The gene discussed is TP53; the disease is migraine disorder.