AbstractAluminum nitride (AlN) and boron nitride (BN) are well‐known ceramic materials with numerous valuable properties, whereas recently there is a growing field of research on the AlN/BN advanced ceramic materials. Here, we present a study on boron‐rich AlN, structural and electronic properties, and structure–property relationship. Several AlxB1−xN solid solutions (x = 1, .875, .75, and .625) have been investigated, and structure optimization has been performed for four different structure types: h‐BN, wurtzite, sphalerite, and rock salt. First‐principles calculations were performed using hybrid B3LYP functional. New modifications and compounds have been predicted as a function of boron concentration in AlN, and especially, interesting phase transitions were found at extreme pressure conditions. Electronic properties and band structures were computed, and the possibility for bandgap tuning has been discovered. The present study, and especially the structure–property relationship, gives new possibilities for bandgap engineering in boron‐rich AlN electroceramic materials.