According to results of Heineken and Stadelmann, a non-torsion group is a 2-Baer group if and only if it is 2-Engel, and it has all subgroups 2-subnormal if and only if it is nilpotent of class 2. We extend some of these results to values of n greater than 2. Any non-torsion group which is an n-Baer group is an n-Engel group. The converse holds for n = 3, and for all n in the case of metabelian groups. A non-torsion group without involutions having all subgroups 3-subnormal has nilpotency class 4, and this bound is sharp.