Surface nanotribological properties and subsurface damage of flat and textured gallium nitride (GaN) substrates during both linear and circular nanoscratching processes are investigated using molecular dynamics simulation. Results show that the surface texture can remarkably reduce not only the surface friction and wear but also the scratching-induced subsurface damage regardless of the tip radius and penetration depth. Tangential force and friction coefficient decreased with an increase in groove width or depth primarily due to the reduced contact area. The effect of texturing on stress distribution can affect the development of dislocation to alleviate the nanoscale material deformation and removal and thereby reduce surface wear and subsurface damage. Increasing tip radius can reduce the friction coefficient and surface wear, but it promotes subsurface damage. By contrast, increasing tip penetration depth can increase the friction, wear, and subsurface damage for flat and textured GaN substrates. Compared with the c-plane, the m-plane GaN substrate exhibits higher friction but lower material wear, and it has a considerably thicker subsurface damage layer due to the difference in their dislocation networks. This work can provide useful insights into the design of GaN-based material with antifriction and wear properties through the surface texturing treatments.