The invention relates to an optical imaging lens capable of being applied to a lens module for image shooting and picture recording. The imaging lens capable of eliminating stray light comprises a lens cone, an imaging unit arranged in the lens cone and a shading assembly arranged in the imaging unit. The shading assembly comprises a fixing portion arranged on the imaging unit in a clamping mode, an object side protruding portion and an image side protruding portion, the object side protruding portion protrudes from the inner periphery, close to an object side, of the fixing portion, extends inwards in a tilted mode and ends at a tail end edge, and the image side protruding portion protrudes from the inner periphery, close to an image side, of the fixing portion, extends inwards in a tilted mode and ends at a tail end edge. The fixing portion of the shading assembly enables the shading assembly to be located and assembled easily, so that good assembly accuracy can be maintained; the object side protruding portion and the image side protruding portion can effectively eliminate the stray light so as to reduce unnecessary influences of the stray light during imaging. The imaging lens has higher imaging quality.