Precipitates in GaN epilayers grown on sapphire substrates were investigated by atomic number contrast (ANC), wavelength-dispersive x-ray spectrometry (WDS), energy-dispersive spectrometry (EDS), and cathodoluminescence (CL) techniques. The results showed that the precipitates are mainly composed of gallium and oxygen elements and distribute more sparsely and inhomogeneously in directions in the sample grown on substrate nitridated for a longer period. Yellow luminescence intensity was imaged to be stronger in the precipitates. The results suggest that the precipitates are formed on dislocations and grain boundaries by substituting oxygen onto the nitrogen site, and result in the formations of deep levels nearby.