Disclosed is a method for realizing batch-based traceability for pork based on a QR code. Based on the QR code, user information is added to a web address carried by the QR code to realize the traceability for the pork. The method includes: 1) registering basic information of pigs in breeding and brokering processes; 2) printing an initial traceability QR code of a carcass in a slaughtering process; 3) adding user information to the initial traceability QR code in a selling process, and updating the user information to the traceability system; and 4) scanning the traceability QR code to recall data of the traceability system in a catering process to achieve transparent information. The pork and pork products are traced from production process to the selling process.