Intermetallic compounds of the type RE2Fe17Cx (RE= rare earth element) are promising candidates for permanent magnets. In case of Y2Fe17Cx, the Curie temperature increases from 325 K for x =0 to 550 K for x = 1.6 . X ray and electron diffraction reveal a carbon - induced structural transformation in Y2Fe17Cx from the hexagonal Th2Ni17 - type (x < 0.6 ) to the rhombohedral Th2Zn17 - type ( x ≥ 0.6). Planar crystal defects introduce local sheets of different magnetic anisotropy as compared with the ordered structure, and therefore may have an important impact on the coercivivity mechanism .High resolution electron microscopy ( HREM ) on a Philips CM30 / Super Twin has been used to characterize planar crystal defects in rhombohedral Y2Fe17Cx ( x ≥ 0.6 ). The basal plane stacking sequences are imaged in the [100] - orientation, showing an ABC or ACB sequence of Y - atoms and Fe2 - dumbbells, for both coaxial twin variants, respectively . Compounds resulting from a 3 - week annealing treatment at high temperature ( Ta = 1000 - 1100°C ) contain a high density of planar defects.