The growth of InGaN layers was carried out by molecular beam epitaxy (MBE). The nitrogen precursor was ammonia. The optical and structural properties of the InGaN layers have been investigated by transmission electron microscopy (TEM), x-ray diffraction (XRD) and photoluminescence (PL). For optimized growth conditions, the PL spectrum of InGaN (x=0.1) alloy is narrow (FWHM less than or equal to 50 meV) and the Stokes shift measured by PL excitation is weak (<50 meV), i.e. near band edge transitions are observed. Under these conditions, flat surfaces can be obtained, and InGaN/GaN quantum wells (QWs) with sharp interfaces can be grown. On the other hand, when growth conditions depart from a narrow optimum window, the structural quality of the samples strongly degrade, whereas the luminescence spectra are dominated by deep levels, exhibiting a strong Stokes shift. MBE grown light emitting diodes (LEDs) using InGaN/GaN QWs have been fabricated. Their electroluminescence (EL) peaks at 440 nm at 300K.