In this work radial symmetric x-ray diffraction scans of Al0.15Ga0.85N thin films implanted with Tm ions were measured to determine the lattice deformation and crystal quality as functions of depth. The alloys were implanted with 300 keV Tm with 10° off-set to the sample normal to avoid channelling, with fluences varying between 1013 Tm cm−2 and 5 × 1015 Tm cm−2. Simulations of the radial 2θ–ω scans were performed under the frame of the dynamical theory of x-ray diffraction assuming Gaussian distributions of the lattice strain induced by implantation defects. The structure factor of the individual layers is multiplied by a static Debye–Waller factor in order to take into account the effect of lattice disorder due to implantation. For higher fluences two asymmetric Gaussians are required to describe well the experimental diffractograms, although a single asymmetric Gaussian profile for the deformation is found in the sample implanted with 1013 Tm cm−2. After thermal treatment at 1200 °C, the crystal quality partially recovers as seen in a reduction of the amplitude of the deformation maximum as well as the total thickness of the deformed layer. Furthermore, no evidence of changes with respect to the virgin crystal mosaicity is found after implantation and annealing.