This paper studies the optical properties of a GaN Laser Diode (LD). Through simulation, the GaN LD is optimized for the best optical confinement factor. It is found that there are optimal thicknesses of each layer in the diode that yield the highest optical confinement factor. There is a strong relationship between the optical confinement factor and lasing threshold-a higher optical confinement factor results in a lower lasing threshold.