The invention relates to the field of identification, and particularly relates to a method for carrying out electronic identity recognition by utilizing two-dimensional codes. The method is characterized in that at least one client terminal, a ticket reservation system, a ticket business server, a ticket business database, a ticket selling workstation, an electronic tag printer, an identity card reader, a ticket checking entrance, wireless radio-frequency equipment and an identity card database are adopted in the method, wherein the client terminal refers to a passenger, namely a person who needs to purchase a ticket for taking a bus and acquires a two-dimensional code electronic tag through intelligent terminal equipment during ticket purchasing; the ticket reservation system refers to a network ticket reservation system; and the ticket selling workstation refers to the existing station ticket window and various agent ticket offices. The method for fast and conveniently carrying out the electronic identity recognition, which is provided by the invention, mainly aims at overcoming the defects of the existing paper ticket and solving the problem of difficult queuing during the ticket purchasing and can reduce the labor intensity of ticket checking personnel, improve the incoming efficiency of the passengers and realize the high security and the high antifalsification through the uniqueness of a second-generation identity card.