Tunable periodically ordered mesoporosity in palladium membranes enables exceptional enhancement of intrinsic electrocatalytic activity for formic acid oxidation.