The aim of this study was to investigate the alleviating effect of wogonin on intracerebral hemorrhage (ICH) and its mechanism. The hemin-treated PC-12 cells were constructed to mimic ICH in vitro. 3-(4,5-Dimethylthiazol-2-yl)-2,5-diphenyltetrazolium bromide (MTT) analysis was used for cell viability measurement and flow cytometry was for pyroptosis detection. Enzyme-linked immunosorbent assay (ELISA) assay and western blot were used to detect the protein levels of pyroptosis-related proteins. The modification level of N6-methyladenosine (m6A) methylation was detected by quantitative real-time polymerase chain reaction (qRT-PCR) combined with m6A dot blot assays. Molecular docking experiments analyzed the binding of wogonin and METTL14 protein. The correlation between METTL14 and NLRP3 was confirmed by bioinformatics analysis and dual luciferase reporter gene detection. ICH was induced in mice injected with collagenase into the basal ganglia, and the neurobehavioral damage was evaluated. Triphenyltetrazolium chloride monohydrate (TTC) staining and neurological scores were used to assess brain damage in mice. The results demonstrated that wogonin alleviated neuronal cell pyroptosis, and was molecularly docked with METTL14. Overexpression of METTL14 partly reversed the protecting effects of wogonin on brain in vitro and in vivo. Furthermore, NLRP3 was methylated by METTL14. Taken together, wogonin inhibits neuronal pyroptosis and thus treats IHC by inhibiting METTL14 and its methylated NLRP3.