A light emitting device of an embodiment includes a substrate, a light emitting structure disposed under the substrate, the light emitting structure including a first conductive semiconductor layer, an active layer, and a second conductive semiconductor layer, first and second electrodes respectively connected to the first and second conductive semiconductor layers, a metal reflecting layer disposed under the light emitting structure, and a first insulating layers disposed between the first electrode and the light emitting structure, between the first electrode and the second electrode, and between the first electrode and the metal reflecting layer, wherein the metal reflecting layer includes a first segment overlapped with the second electrode in a thickness direction of the light emitting structure and a second segment disposed with extending from the first segment.