Compositionally graded Al x Ga 1-x N alloys with the Al concentration in the (7 ≤ x ≤ 32) range were implanted with Ar + ions to study the structural and strain changes (strain engineering). It was shown that ion implantation leads to ~0.3…0.46% hydrostatic strains and a relatively low damage of the crystal structure. The ion-implantation leads mainly to an increase of the density of point defects, while the dislocation configuration is almost unaffected. The density of microdefects is sufficiently reduced after the postimplantation annealing. The structural quality of the Al x Ga 1-x N layers strongly depends on the Al concentration and is worsen with increasing Al. The implantation induced structural changes in highly dislocated Al x Ga 1-x N layers are generally less pronounced. Based on the X-ray diffraction, a model is developed to explain the strain field behavior in the Al x Ga 1-x N/GaN heterostructures by migration of point defects and strain field redistribution. The approach to simulate 2θ/ω scans using statistical dynamical theory of X-ray diffraction for implanted compositionally graded structures AlGaN has been developed.