Mesoporous Fe3C is synthesised by combining a hard-templating approach with carbothermal reduction. The product shows high crystallinity, a transport pore size of d ≈ 20 nm and high specific surface area (415 m2 g−1). Its usefulness is exemplified by its catalytic activity and high stability in NH3 decomposition.