The invention discloses a turnover locking mechanism and a table, and belongs to the technical field of turnover locking mechanisms. The turnover locking mechanism comprises a fixing assembly, a rotating assembly, a locking assembly and an unlocking assembly, the rotating assembly is connected with the fixing assembly, the fixing assembly is connected with the locking assembly, the locking assembly is matched with the unlocking assembly, the rotating assembly is matched with the unlocking assembly, the fixing assembly comprises a locking shell and a cross rod, the locking shell is connected with the cross rod, the fixing assembly further comprises a mounting seat, the mounting seat is connected with the locking shell, and the mounting seat is connected with the rotating assembly. The table comprises the turnover locking mechanism and a supporting frame, the supporting frame is connected with the turnover locking mechanism, and a table plate is arranged on the turnover locking mechanism. According to the turnover locking mechanism, more space can be saved after turnover, the turnover operation method is simple, turnover steps are few, the turnover process is labor-saving, most of structures are installed inside, use is safe, and the appearance is concise.