A tool box includes a first casing, a second casing, and a locking mechanism. The locking mechanism includes a locking unit, and a snapping unit. The locking unit includes a locking block. The snapping unit includes a seat, a pivot member, a snapping member, and two torsion springs. Thus, the locking mechanism is operated to open the tool box automatically, so that a user can open the tool box easily and conveniently, thereby facilitating the user operating the locking mechanism to open the tool box.