The invention relates to the field of office building entrance and exit control systems. An entrance and exit control system comprises a key, a reading module, a controller, a management end and an executing device. The executing device comprises a gate and an elevator running device, the controller and the reading module are arranged on the gate, and the gate comprises a barrier plate and a display screen, the management end is used for generate a key after visitor information is reviewed. A visitor holds the key into and out of the gate. After the reading module successfully identifies the key, the controller sends gate opening information to the gate; at the same time, the controller sends an operation signal to the elevator running device, and according to the operation signal, the elevator running device stops the elevator on floor where the gate is located for operation. The entrance and exit control system reduces the visitor's waiting time by linking the entrance and exit control and the elevator, office building workers' convenience in coming in and going out, experience and passage efficiency are greatly improved, the management costs are also reduced, and management efficiency is improved.