Using sodium borohydride as reducing agent one can prepare metal-metal nano-alloy as follows. Two metal salt solutions is mixed in a round bottom flask. The flask is covered with black cloth to prevent photochemical reaction. Then reduction reaction is carried out in the presence of nitrogen in order to prevent the oxidation of metal during the reaction process.