EMB ERJ 170/175 ER/LR
Flight Crew Air Transport Pilot (ATP)
Situational Awareness
Aircraft Equipment Problem Less Severe
Flight Crew Overcame Equipment Problem
Aircraft
Pilot Flying (PF) indicated that he need[ed] to use the lavatory. I called the Flight Attendants (FA) and informed them of the physiological needs of the First Officer (FO) and asked them to set up the security procedure for flight deck crews to use the lavatory. I then turned on the seatbelt sign. A few minutes later; the 'A' FA called and gave the cockpit code word for cockpit access.Upon opening the cockpit door; it immediately fell off its hinges and toward the FAs standing in the way per procedure. The FO was able to keep the door upright; as it was attached by a small cable. The 'B' FA then entered the cockpit while I donned the O2 mask. Upon returning to the cockpit; the FO and the 'A' FA were able to temporarily place the door in position where it could be used effectively and the cockpit door was closed securely and locked.Upon landing a discrepancy was entered in the logbook briefly describing the incident for repair to Maintenance.Door was tested FO operation and override locking before departure. Crew has no explanation for this event.
An Embraer E-175 Captain reported that while opening the cockpit door; it fell off its hinges.