The invention provides an optical lens. The optical lens can be used for near-
infrared band imaging, the optical lens comprises a lens
barrel, a lens group and a spacing element group, the lens group and the spacing element group are located in the lens
barrel, and a first spacing element is located between a first lens and a second lens and makes contact with one part of the image side face of the first lens; the
minimum distance EP01 between the object side end face of the lens
barrel and the first spacing element in the extension direction of the
optical axis, the maximum thickness CP1 of the first spacing element, and the air interval T12 between the first lens and the second lens on the
optical axis satisfy the following condition: 0.56 < = EP01 / (T12 + CP1) < = 1.01. The curvature
radius R1 of the object side face of the first lens, the
refractive index N1 of the first lens and the inner
diameter d1s of the object side face of the first spacing element meet the condition that R1 * N1 / d1s is larger than or equal to-4.44 and smaller than or equal to-1.71. According to the invention, the problem of serious
stray light caused by reduction of aberration in an optical lens in the prior art is solved.