The invention discloses full-automatic rack vertical quenching and horizontal tempering equipment and relates to the technical field of heat treatment machining equipment. The equipment comprises a vertical quenching machine tool, a horizontal tempering machine tool and an external carrying mechanism; the vertical quenching machine tool comprises a vertical machine body part, a sliding plate lifting part, a displacement tracking part, a machine tool tooth surface positioning part, a rotating main shaft part, an upper center part and a quenching load part; the horizontal tempering machine toolcomprises a horizontal machine body part, a tempering guide push rod part, a tempering pushing part, an active discharge part, a stepping blanking part and a tempering load part; and the equipment further comprises an electrical numerical control system, a power supply control system and a cooling system. The multi-functional integrated design can be realized for a rack in multiple stations of feeding storage, tooth surface positioning, workpiece two-dimensional code scanning, robot feeding and discharging carrying, vertical scanning quenching, horizontal scanning tempering, stepping discharging mechanisms and the like, unmanned operation is realized, and the equipment can be connected with client previous and next work procedures on line, and is high in full automation degree.