Intracerebral hemorrhage (ICH) is the most devastating subtype of stroke with high morbidity and mortality. The previous study has confirmed the therapeutic effect of Baihui (DU20)-penetrating-Qubin (GB7) acupuncture on ICH, while the related mechanism is left to be revealed. The aim of this study was to investigate the relevant mechanisms. ICH rat models were established utilizing the autologous blood injection method and the beneficial effect was found after DU20-penetrating-GB7 acupuncture along with decreased miR-34a-5p levels in the perihemorrhagic penumbra. Inversely, upregulating miR-34a-5p expression inhibited microglia M2 polarization while accelerated M1 polarization through targeting Krüppel-like factor 4 (Klf4), and thereby diminished the protective effect of DU20-penetrating-GB7 acupuncture on ICH. The results suggested the therapeutic effect of DU20-penetrating-GB7 acupuncture on ICH might be attributed to its modulation on microglia polarization through miR-34a-5p/Klf4 signaling.