Activated microglia were considered to be the toxic inflammatory mediators that induce neuron degeneration after brain ischemia. Hypoxia can enhance the expression of hypoxia-inducible factor-1α (HIF-1α) in microglia and cause microglial activation. However, intermittent hypoxia has been reported recently to be capable of protecting the body from myocardial ischemia. We established a high-altitude environment as the hypoxic condition in this study. The hypoxic condition displayed a neuroprotective effect after brain ischemia, and mice exposed to this condition presented better neurological performance and smaller infarct size. At the same time, a high level of HIF-1α, low level of isoform of nitric oxide synthase, and a reduction in microglial activation were also seen in ischemic focus of hypoxic mice. However, this neuroprotective effect could be blocked by 2-methoxyestradiol, the HIF-1α inhibitor. Our finding suggested that HIF-1α expression was involved in microglial activation in vitro and was regulated by oxygen supply. The microglia were inactivated by re-exposure to hypoxia, which might be due to overexpression of HIF-1α. These results indicated that hypoxic conditions can be exploited to achieve maximum neuroprotection after brain ischemia. This mechanism possibly lies in microglial inactivation through regulation of the expression of HIF-1α.