Anion-exchange membrane fuel cells (AEMFCs) hold promise as high-performance devices free of platinum group metals. A major bottleneck to achieve this goal is the moderate performance of nickel-based anodes. Metallic nickel is critical for hydrogen binding, which is essential for the electrocatalysis of the hydrogen oxidation reaction (HOR), but is prone to passivation. Here, we show that for representative mainstream Ni-based catalysts, their spontaneous passivation in ambient air blocks the HOR, necessitating activation protocols. In a three-electrode rotating-disk electrode setup, activation is readily accomplished by lowering the electrode potential. In an AEMFC, galvanostatic and chemical activation strategies are explored, revealing the strong influence of O2 crossover from the cathode, which can repassivate Ni. Chemical activation involving an initial H2/N2 feed at the anode/cathode proved to be the most practical, enabling a high open-circuit voltage, power density and stability in subsequent H2/O2 and H2/air AEMFC measurements. A chemically activated Ni@NC anode paired with a Pt/C cathode achieved an outstanding AEMFC peak power density of 1.2 W cm−2 using H2/O2 as feed and an unprecedented peak power density of 0.5 W cm−2 using H2/air (ambient) as feed.