The invention relates to a mechanical underground all-in-one blowout preventer, which belongs to the well control equipment. The blowout preventer mainly comprises two parts, an arrow-type check valve and an outer annular packer, wherein the arrow-type check valve adopts the principle of one-way conduction of a valve core to realize annular blowout prevention in a drill stem, and the outer annular packer mainly comprises a plastic cylinder, a set shear pin, an unset shear pin, a locking component and the like. When the set shear pin is cut off, an upper jacket compresses the plastic cylinder downwards to realize sealing under the effect of the gravity of the upper drill stem, and simultaneously drilling fluid circulating runner ports arranged on an inner sleeve and the upper jacket are communicated to realize circulation of the drilling fluid. The invention adopts the fully mechanical operating principle, has the advantages of simple and reliable structure and easy realization, and can realize the sealing of the internal and external annular sealing of the underground drill stem, thereby achieving the function of preventing the blowout, improving the handling efficiency of underground accidents, and reducing the well control risk.