AbstractThe spin injection into 2D electron gas (2DEG) in AlN/GaN heterostructures is studied by magneto‐transport measurements. An ultrathin AlN layer at the hetero‐interface acts as a barrier to form high‐quality 2DEG in the triangular quantum well and a tunneling barrier for the spin injection to overcome the conductance mismatch issue. In this study, Hanle signals and inversed Hanle signals are observed, proving that the spin injection is achieved in the 2DEG in the AlN/GaN heterostructure rather than in the interfacial states. The spin‐relaxation time in 2DEG at 8 K is found to be as long as 860 ps, which almost keeps constant with bias and decreases with increasing temperature. The spin‐relaxation process is illustrated as Rashba spin‐orbit coupling dominated D'yakonov Perel’ mechanisms above 8 K. These results show the promising potential of 2DEG in AlN/GaN heterostructures for spin field‐effect transistor applications.