We investigated the relationship between the dislocation densities and the electro‐luminescence (EL) peak intensities in AlGaN, which was grown on GaN‐ or AlGaN‐on sapphire, by low‐pressure metalorganic chemical vapor deposition. Crystallographic properties of the AlGaN epilayer has been investigated by a high‐resolution X‐ray diffraction method. We showed that EL intensity was strongly dependent on the full‐width at half maximum (FWHM) from (10$ \bar 1 $2) AlGaN diffraction peaks for GaN‐ or AlGaN‐ based LEDs at omega mode. This result indicated the reduction of edge and mixed dislocation densities led to improvement of the EL characteristics. Although the GaN‐based LEDs absorb UV‐light, the EL intensity was higher than that AlGaN‐based LEDs. Comparing at the same FWHM value of AlGaN (10$ \bar 1 $2) peaks, EL intensity of AlGaN‐based LEDs were several times higher than that of GaN‐based LEDs. (© 2008 WILEY‐VCH Verlag GmbH & Co. KGaA, Weinheim)