Narrative:

I was pilot flying and both the first officer (first officer) and I had to go to the bathroom. The flight attendants called up; we said the password and opened the door. I went to the bathroom first and then had the flight attendant (flight attendant) call up front and let them know I was ready to come back to the cockpit and the first officer said he was gonna come out also. As I opened the door the first officer walked out; I said 'what are you doing?' and squeezed by him quickly in the doorway and got in my seat and closed the door. The flight controls were left unattended for a couple seconds. Inform the first officer's and stress that you cannot leave the cockpit unattended. Also; the new flight attendant was obviously unaware of the procedures for entering and exiting the cockpit while inflight.

Google
 

Original NASA ASRS Text

Title: ERJ-175 flight crew reported an improper exchange of controls during a restroom break.

Narrative: I was pilot flying and both the FO (First Officer) and I had to go to the bathroom. The flight attendants called up; we said the password and opened the door. I went to the bathroom first and then had the FA (Flight Attendant) call up front and let them know I was ready to come back to the cockpit and the FO said he was gonna come out also. As I opened the door the FO walked out; I said 'what are you doing?' and squeezed by him quickly in the doorway and got in my seat and closed the door. The flight controls were left unattended for a couple seconds. Inform the FO's and stress that you cannot leave the cockpit unattended. Also; the new FA was obviously unaware of the procedures for entering and exiting the cockpit while inflight.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.