The invention discloses a traceability anti-counterfeiting multi-dimensional code online tagging and verification method adopting a block chain Internet of Things technology, which is applied to the field of anti-counterfeiting technology, the multi-dimensional code tagging process is that an Internet of Things module additionally arranged on production equipment reads from a cloud end and tags the codes to commodities on a production line in real time, each product is produced, and the verification of the products is completed. The equipment is endowed with a unique recognition code. When the code is endowed, information of a product needing to be produced is injected, reading and binding activation through other image recognition technologies are not needed any more, in this way, the product tagging cost can be reduced to the maximum extent in cooperation with the commodity production takt. Meanwhile, in the tagging process, enterprises cannot obtain the anti-counterfeiting code, and the product tagging efficiency is improved. The network end address of the Internet of Things module is authenticated and locked by the system, and if the module is moved to different websites, the commodity cannot be tagged, so that the origin protection can be really realized, and the commodity is ensured to be produced in the original factory.