The surface of an n-GaN crystal etched with an Ar, Kr, or Xe plasma was analyzed by nitrogen K near-edge X-ray absorption fine structure (NEXAFS) spectroscopy. The NEXAFS spectroscopy was carried out with the total electron yield (TEY) method in a sample current mode and the total fluorescence yield (TFY) method by measuring the amount of fluorescence using a photodiode. The shapes of the spectra of Ar plasma-etched samples obtained by the TEY method became smooth (blunt) with increasing Ar pressure from 10 to 200 mTorr. However, those obtained by the TFY method did not change with pressure. These results indicate that the etching damage was restricted in the shallow region of less than a few nm from the surface. A change in the NEXAFS spectral shape of Kr or Xe plasma-etched samples was not observed even when measured by the TEY method. This result indicates that the surface damage in Kr or Xe plasma-etched samples was less pronounced than that in Ar plasma-etched samples.