A new type of platinum nanowire with a bumpy surface "Pt nanoworm" is electrochemically synthesized in mesochannels of mesoporous silica films with the assistance of a nonionic surfactant (C(16)EO(8)).