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 disposed on the spacer and between the second cavity and the first lead frame ; at least one light emitting device 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 (W2) 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 ; 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 disposed on the spacer and between the second cavity and the first lead frame ; at least one light emitting device 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 (W2) 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 ; wherein the fifth inside surface is disposed to face the seventh inside surface in the minor axis direction. <EOS>