The invention discloses a direct methanol fuel cell with alloy-TiO2 nanotube/Ti anode and a preparation method thereof. The direct methanol fuel cell comprises a cell housing, the cell housing is inside provided with a membrane electrode, an air chamber is arranged between the housing and the membrane electrode, the membrane electrode is inside provided with an electrolyte chamber, and the membrane electrode successively comprises a cathode diffusion layer, a cathode catalyst layer, a Nafion membrane, a porous titanium pipe, a TiO2 nanotube and a nanometer alloy layer formed through electroplating deposition; the cathode diffusion layer is connected with the cell housing via welding points and is arranged as a cathode output terminal, and an anode diffusion layer is connected with the cell housing via welding points and is arranged as an anode output terminal; a position, close to the electrolyte chamber, on the housing is provided with a feeding hole and a feeding sealing cover; a position, close to the air chamber, of the housing is provided with an air circulation hole; a position, close to the air chamber, at the bottom of the housing is provided with a water discharging hole; and a position, close to the anode diffusion layer, at the bottom of the housing is provided with a CO2 discharging hole. According to the direct methanol fuel cell, the catalytic oxidation performance and the CO-poisoning resistance of a TiO2 composite catalyst on methanol are improved, and alloy-TiO2 nanotube/Ti can be directly used as the anode of a direct methanol fuel cell and helps to improve the cell performances.