In the present work, nickel (Ni) and palladium (Pd) core–shell structure nanospheres with various thicknesses have been facilely obtained via a one-pot synthesis process.