A diffusion welding of coarse-grained and ultrafine-grained (UFG) specimens of titanium near-α alloy Ti-5Al-2V used in nuclear power engineering was made by Spark Plasma Sintering. The failure of the welded specimens in the conditions of hot salt corrosion and of electrochemical corrosion were shown to have preferentially intercrystalline character. In the case of presence of macrodefects, crevice corrosion of the welded joints was observed. The resistance of the alloys against the intercrystalline corrosion was found to be determined by the concentration of vanadium at the titanium grain boundaries, by the size and volume fraction of the β-phase particles and by the presence of micro- and macropores in the welded joints. The specimens of the welded joints of the UFG alloy have higher hardness, hot salt corrosion resistance and the electrochemical corrosion.