The excited states of heavy helium isotopes 6,7He were studied in stopped pion absorption on 10,11B nuclei. In three reaction channels 11B(π−, dt)6He, 10B(π−, pt)6He and 10B(π−, dd)6He the 6He state with Ex = 3.5(3) MeV and Г = 3.1(4) MeV has been observed. At high excitations new levels of 6He have been found with Ex = 9.3(2) MeV, Г = 1.0(4) MeV, Ex = 22(1) MeV, Г = 2.7(1.4) MeV and Ex = 27.0(8) MeV, Г = 2.5(1.1) MeV. Excitation spectrum of 7He has been studied in three reaction channels 11B(π−, pt)7He, 11B(π−, dd)7He and 10B(π−, pd)7He. For the first time in one experiment it was observed three low-lying narrow (Г<0.5 MeV) states with Ex = 3.1(1), 4.9(2) and 6.7(2) MeV. At high excitations new levels have been found with Ex = 19.8(3) MeV, Г = 1.5(3) MeV and Ex = 24.8(4) MeV, Г = 4.6(7) MeV.