Aluminum Nitride is an active element of sensors that monitor the performance and well-being of the nuclear reactors due to its piezoelectric properties. Yet, the variations of its properties under irradiation are largely unexplored. Here, we report the results of the molecular dynamics simulations of the structural changes in AlN under irradiation via the knock-on atom technique. By creating and evolving the irradiation cascades due to energetic particle interaction with the atom of the crystalline lattice we determine the rate of the defect production as a function of the deposited energy. Further, we determine a displacement energy, a key characteristic that describes how efficient the defect production in the given material is. Comparison with the isostructural GaN is provided