The optical semiconductor device comprises an active layer including a
plurality of quantum dot stacks 18, 22, 26 each of which is formed of a
plurality of quantum dot layers 14 and a plurality of first layers 16
alternately stacked, and a plurality of second barrier layers 20, 24
thicker than the first barrier layers 16 stacked alternately with the
quantum dot stacks 18, 22, 26. Thus, the quantum dot layers can be
stacked with the generation of dislocations due to lattice mismatching
between the substrate and the quantum dots suppressed. A number of
quantum dot layers can be stacked with a desired light confinement
coefficient ensured. The optical semiconductor device can have the
characteristics easily improved.