A semiconductor laser comprises a sapphire substrate, an AlN buffer layer,
Si-doped GaN n-layer, Si-doped Al.sub.0.1Ga.sub.0.9N n-cladding layer,
Si-doped GaN n-guide layer, an active layer having multiple quantum well
(MQW) structure in which about 35 .ANG. in thickness of GaN barrier layer
62 and about 35 .ANG. in thickness of Ga.sub.0.95In.sub.0.05N well layer
61 are laminated alternately, Mg-doped GaN p-guide layer, Mg-doped
Al.sub.0.25Ga.sub.0.75N p-layer, Mg-doped Al.sub.0.1Ga.sub.0.9N
p-cladding layer, and Mg-doped GaN p-contact layer are formed
successively thereon. A ridged hole injection part B which contacts to a
ridged laser cavity part A is formed to have the same width as the width
w of an Ni electrode. Because the p-layer has a larger aluminum
composition, etching rate becomes smaller and that can prevent from
damaging the p-guide layer in this etching process.