Method for making a Distributed Bragg Reflector, DBR, laser diode device with a distributed grating reflector in a planar section of a semiconductor laser with stabilized wavelength, comprising the steps of: - providing a diode formed by a substrate, at least one first cladding layer arranged on the substrate, an active layer arranged on the first cladding layer and adapted to emit a radiation, and at least one second cladding layer arranged on the active layer, said cladding layers (CL1, CL2) being adapted to form a heterojunction to allow for efficient injection of current into the active layer and optical confinement, and a contact layer, - creating, on a first active portion of the device, a waveguide configured to provide confinement of the optical radiation, - -creating, on the remaining passive portion of the device, two different gratings for light reflection and confinement, wherein said two gratings are laterally adjacent to each other along an optical axis of said DBR laser diode and define two different zones (R1, R2), wherein the first zone comprises a grating of low order and is configured for reflection, wherein the second zone is laterally adjacent to the first zone on both sides of the first zone along the optical axis and comprises a grating of the same order, or a grating of a higher order than the previous one, wherein the duty cycle of the grating of the first zone is higher than the duty cycle of the grating of the second zone, and wherein the reduced volume of the semiconductor material in the second zone is configured for lateral optical confinement by the lower effective refractive index of the second zone in comparison to the effective refractive index of the first zone. - providing a diode formed by a substrate, at least one first cladding layer arranged on the substrate, an active layer arranged on the first cladding layer and adapted to emit a radiation, and at least one second cladding layer arranged on the active layer, said cladding layers (CL1, CL2) being adapted to form a heterojunction to allow for efficient injection of current into the active layer and optical confinement, and a contact layer, - creating, on a first active portion of the device, a waveguide configured to provide confinement of the optical radiation, - -creating, on the remaining passive portion of the device, two different gratings for light reflection and confinement, wherein said two gratings are laterally adjacent to each other along an optical axis of said DBR laser diode and define two different zones (R1, R2), wherein the first zone comprises a grating of low order and is configured for reflection, wherein the second zone is laterally adjacent to the first zone on both sides of the first zone along the optical axis and comprises a grating of the same order, or a grating of a higher order than the previous one, wherein the duty cycle of the grating of the first zone is higher than the duty cycle of the grating of the second zone, and wherein the reduced volume of the semiconductor material in the second zone is configured for lateral optical confinement by the lower effective refractive index of the second zone in comparison to the effective refractive index of the first zone.