The invention provides an all-solid-state dual-wavelength ultrafast laser, comprising a seed light source as well as a multi-pass amplifying module and a dual-wavelength switching module connected with the seed light source, wherein the multi-pass amplifying module comprises three 45-degree reflectors, a polarizer, four crystals, four faraday rotators, a 1/2 wave plate and two pumping sources; the dual-wavelength switching module comprises a 1/2 wave plate, a polarizer, a KTP (Potassium Titanyl Phosphate) crystal, a spectroscope, an ABS (Acrylonitrile Butadiene Styrene) absorber; an electromagnetic valve is arranged on the 1/2 wave plate, and an external control circuit controls the 1/2 wave plate via the electromagnetic valve to realize dual-wavelength external switching and control. The all-solid-state dual-wavelength ultrafast laser has the advantages: a dual-pumping module is adopted in the traditional scheme, and beams are transmitted single times in lean body weight, so the amplification factor is limited, whereas a multi-pass amplification technology is adopted in this scheme, energy can be effectively amplified multiple times, and the utilization rate of the energy can be imrpoved.