The Battle of Ruapekapeka took place from late December 1845 to mid-January 1846 between British forces, under command of Lieutenant Colonel Henry Despard, and Māori warriors of the Ngāpuhi iwi (tribe), led by Hōne Heke and Te Ruki Kawiti, during the Flagstaff War in the Bay of Islands, New Zealand.
The battle site was a pā located 20 kilometres (12 mi) southeast of Kawakawa, which was one of the largest and most complex fortifications of its kind in New Zealand; designed specifically to resist British cannon fire. Its earthworks can still be seen.