The embodiment of the invention discloses an ultra-wide-angle optical system. From an object surface to an image surface along an optical axis, the ultra-wide-angle optical system successively at least comprises a first lens, a second lens, a third lens, a fourth lens, a fifth lens, a sixth lens, a seventh lens, an eighth lens and a ninth lens, wherein the focal power of the first lens is negative, the focal power of the second lens is negative, the focal power of the third lens is negative, the focal power of the fourth lens is positive, the focal power of the fifth lens is positive, the focal power of the sixth lens is negative, the focal power of the seventh lens is positive, the focal power of the eighth lens is negative, and the focal power of the ninth lens is positive. The embodiment of the invention further provides a lens unit. The optical system or the lens unit is formed by 9 lenses, the number of the lenses is small, and the structure is simple; in addition, the different lenses are combined and reasonably distribute the focal power, so that the good performance such as a large aperture, a larger view angle and high definition is realized.