A laser diode capable of operating at high temperature by preventing
carrier overflow is provided. A laser diode includes an AlGaInP-based
laminate configuration including at least a lower cladding layer, an
active layer and an upper cladding layer in this order, wherein the
AlGaInP-based laminate configuration receives a larger compressive stress
than 2200 ppm from a stress source.