Platinum and ruthenium nanoparticles that are uniformly dispersed on multiwalled carbon nanotubes (MWNTs) were synthesized by vacuum pyrolysis using Pt(acac)2 and Ru(acac)3 as the metal precursors. The resulting nanocomposites were characterized by transmission electron microscopy and X-ray diffraction. The Pt, Pt45Ru55, and Ru nanoparticles had mean diameters of 3.0 +/- 0.6, 2.7 +/- 0.6, and 2.5 +/- 0.4 nm and the same mole number as their metal precursors at 500 degrees C. The electrocatalytic activity of the Pt/MWNTs and PtRu/MWNTs was investigated at room temperature by cyclic voltammetry and chronoamperometry. All of the electrochemical results showed that the PtRu/MWNTs exhibited a high level of catalytic activity for methanol oxidation as a result of the large surface area of the supporting carbon nanotubes and the wide dispersion of the Pt and Ru nanoparticles. Compared with the Pt/MWNTs, the onset potential for methanol oxidation of the PtRu/MWNTs was significantly lower, and the ratio of the forward anodic peak current to the reverse anodic peak current during methanol oxidation was somewhat higher. The Pt45Ru55/MWNTs displayed the best electrocatalytic activity of all of the carbon-nanotube-supported Pt and PtRu catalysts.