The composition dependence of the natural band alignment at nonpolar Al x Ga 1−x N/Al y Ga 1−y N heterojunctions is investigated via hybrid functional based density functional theory. Accurate band-gap data are provided using Heyd-Scuseria-Ernzerhof (HSE) type hybrid functionals with a composition dependent exact-exchange contribution. The unstrained band alignment between zincblende (zb) Al x Ga 1−x N semiconductor alloys is studied within the entire ternary composition range utilizing the Branch-point technique to align the energy levels related to the bulklike direct v → c and indirect, pseudodirect, respectively, v → X c type transitions in zb-Al x Ga 1−x N. While the zb-GaN/Al x Ga 1−x N band edges consistently show a type-I alignment, the relative position of fundamental band edges changes to a type-II alignment in the Al-rich composition ranges of zb-Al x Ga 1−x N/AlN and zb-Al x Ga 1−x N/Al y Ga 1−y N systems. The presence of a direct-indirect band-gap transition at x c = 0.63 in zb-Al x Ga 1−x N semiconductor alloys gives rise to a notably different composition dependence of band discontinuities in the direct and indirect energy-gap ranges. Below the critical direct-indirect Al/Gacrossover concentration, the band offsets show a close to linear dependence on the alloy composition. In contrast, notable bowing characteristics of all band discontinuities are observed above the critical crossover composition.