The invention relates to a method and system for controlling an access controller and an elevator controller via identity identification. The method comprises the following steps: S1, judging and identifying whether a visitor is an owner or a temporary visitor; if the visitor is the owner, entering S4, and if the visitor is the a temporary visitor, entering S2; S2, placing, by the temporary visitor, an identity card on a person-card all-in-one machine to perform identity verification; S3, registering the visitor information, and synchronizing the data to a server; S4, identifying a human face,and after successful verification, sending a door opening instruction to the access controller, and sending an electric control lock instruction to an electric control lock to open the door; S5, after entering a resident unit building, coming to an elevator room, performing comparison verification on the human face, and transmitting an elevator opening instruction to the elevator controller; andS6, controlling, by the elevator controller, the elevator to arrive at the floor of the owner. According to the method and system provided by the invention, the owner or the temporary visitor automatically completes the passage, so that the cumbersome operations of the personnel can be reduced, the security resources are saved, and the security is improved.