A light emitting device package, comprising: a first lead frame; a second lead frame spaced apart from the first lead frame in a minor axis; a body coupled to the first lead frame and the second lead frame, the body including a first cavity which exposes a portion of the upper surface of the first lead frame, a second cavity which exposes a portion of the upper surface of the second lead frame, and a spacer disposed between the first lead frame and the second lead frame; and a boundary portion (131a, 231a, 331a, 431a) disposed on the spacer and between the second cavity and the first lead frame; at least one light emitting device (151,153) disposed in the first cavity on the exposed portion of the upper surface of the first lead frame; a protection device disposed in the second cavity on the exposed portion of the upper surface of the second lead frame, and a first wire connecting the exposed portion of the upper surface of first lead frame with the protection device, wherein the first cavity includes a first inclined inside surface to a fourth inclined inside surface which position along an edge of the exposed portion of the upper surface of the first lead frame, wherein the second cavity extends from the first inclined inside surface of the first cavity toward the second lead frame, wherein the second cavity includes a fifth inside surface to an eighth inside surface which position along and edge of the exposed portion of the upper surface of the second lead frame,wherein an area of a bottom surface of the first cavity is equal to or less than 40% of entire area of the body, wherein the seventh inside surface and a portion of the first inclined inside surface belong to the boundary portion (131a, 231a, 331a, 431a); wherein the fifth inside surface is disposed to face the seventh inside surface in the minor axis direction. a first lead frame; a second lead frame spaced apart from the first lead frame in a minor axis; a body coupled to the first lead frame and the second lead frame, the body including a first cavity which exposes a portion of the upper surface of the first lead frame, a second cavity which exposes a portion of the upper surface of the second lead frame, and a spacer disposed between the first lead frame and the second lead frame; and a boundary portion (131a, 231a, 331a, 431a) disposed on the spacer and between the second cavity and the first lead frame; at least one light emitting device (151,153) disposed in the first cavity on the exposed portion of the upper surface of the first lead frame; a protection device disposed in the second cavity on the exposed portion of the upper surface of the second lead frame, and a first wire connecting the exposed portion of the upper surface of first lead frame with the protection device, wherein the first cavity includes a first inclined inside surface to a fourth inclined inside surface which position along an edge of the exposed portion of the upper surface of the first lead frame, wherein the second cavity extends from the first inclined inside surface of the first cavity toward the second lead frame, wherein the second cavity includes a fifth inside surface to an eighth inside surface which position along and edge of the exposed portion of the upper surface of the second lead frame,wherein an area of a bottom surface of the first cavity is equal to or less than 40% of entire area of the body, wherein the seventh inside surface and a portion of the first inclined inside surface belong to the boundary portion (131a, 231a, 331a, 431a); wherein the fifth inside surface is disposed to face the seventh inside surface in the minor axis direction.