Cubic, multi-armed, and dendritic Pd nanoparticles with efficient electrocatalytic activities toward formic acid oxidation can be selectively prepared with high yields and good uniformity by just changing the injection sequence of reductant and surfactant.