Role of vacancy-type (N vacancy (V-N) and Ga vacancy (V-Ga)) defects in magnetism of GaMnN is investigated by first-principle calculation. Theoretical results show that both the V-N and V-Ga influence the ferromagnetic state of a system. The V-N can induce antiferromagnetic state and the V-Ga indirectly modify the stability of the ferromagnetic state by depopulating the Mn levels in GaMnN. The transfer of electrons between the vacancy defects and Mn ions results in converting Mn3+ (d(4)) into Mn2+ (d(5)). The introduced V-N and the ferromagnetism become stronger and then gradually weaker with Mn concentration increasing, as well as the coexistence of Mn3+ (d(4)) and Mn2+ (d(5)) are found in GaMnN films grown by metal-organic chemical vapor ...