The structural and magnetic properties of HoErFe17-xGax (x = 0-7) were studied by means of X-ray diffraction and magnetization measurements. Powder X-ray diffraction studies show that the compounds transform from the hexagonal Th2Ni17 structure (x ≤ 4) to rhombohedral Th2Zn17 structure (x ≥ 5) with increasing Ga concentration. The substitution of Ga for Fe leads to an increase in lattice constants a, c and unit-cell volume v. The Curie temperature is found to first increase and then decrease with increasing Ga concentration, attaining a maximum value of 535 K at about x = 4, which is 207 K higher than that of HoErFe17. Both iron sublattice anisotropy and rare-earth sublattice anisotropy are found to be modified by the introduction of the Ga atoms and have been confirmed through X-ray diffractograms of magnetically aligned samples. © 1998 Elsevier Science B.V. All rights reserved.