Date: 202007
Local time of day: 1201-1800
Location: ZZZ.TRACON, US
Aircraft: Commercial Fixed Wing
Operator: Air Carrier
Operating under: Part 121
Flight plan: IFR
Mission: Passenger
Flight phase: Climb
Airspace: Class B ZZZ
ATC / advisory: TRACON ZZZ
Reporter organization: Air Carrier
Reporter function: Pilot Not Flying; Captain
Reporter qualification: Flight Crew Multiengine; Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument
Human factors: Situational Awareness; Human-Machine Interface; Fatigue; Confusion
Anomaly: Aircraft Equipment Problem Less Severe; Deviation - Track / Heading All Types; Deviation / Discrepancy - Procedural Clearance
Detector: Person Flight Crew
When detected: In-flight
Result: Air Traffic Control Issued New Clearance; Flight Crew Regained Aircraft Control; Flight Crew Became Reoriented
Contributing factors: Environment - Non Weather Related; Human Factors
Primary problem: Human Factors

Narrative: Departing ZZZ on the ZZZZZ2 [Departure]. FO flying. After TO he entered a 30 degree steep turn to the left. I told him no turns till past the [landmark] but he didn't respond. I took the aircraft away briefly and started a turn right to get in a more westerly heading. He said he was just following the command bars.Departure control gave us a 210 heading subsequently. The ZZZZZ2 was not entered into the GPS. I'm positive it was entered pre-departure. We were never rushed or felt pressured. Did everything well in advance on the ground. Went over the route. The FO was flying LNAV back to the ZZZ VOR I think...no SA whatsoever. Very steep turn. The sudden bank and steepness startled me. I thought he was avoiding a bird or plane or something. I'm really sorry in not being sure what he was doing but I took the aircraft as fast as I could in that situation. Also I didn't bank as steep back to the right to get back on course. Felt making steep turns wouldn't help. Pretty sure we flew out of Class B airspace. Just felt there was no hiding the deviation. Saw no other aircraft on TCAS and didn't want to throw passengers around in their seats doing steep turns. I don't know why the departure wasn't in the GPS. Nor why the FO would simply blindly follow command bars he should know were wrong. He was VERY tired on the flight up from ZZZ1 though. VERY tired. And he missed quite a bit of stuff. Lots of calls from ATC. I called for flaps three times before taxiing from our gate at ZZZ1. He said his flying experience had been almost nil.  On deplaning at ZZZ1 he stated he should have informed me that he has not flown a takeoff or landing in an actual airplane in over a year. He is an extremely nice guy and I'm sure this virus had something to do with his being out of sync and not proficient.I'm not sure what happened to the ZZZZZ2 departure in the GPS. We briefed it and then briefly mention it on the checklist when it calls for a brief as well. I was startled but don't think I could take the plane any faster nor bank hard back to the right considering no traffic on TCAS. I didn't want to compound anything by making abrupt maneuvers. It's pretty much the easiest departure to make. Almost straight out to 5;000 feet.I don't know what can be done. But the changes because of COVID...I definitely think guys that don't fly much and just come for landings every 90 days are maybe losing a lot of proficiency. That it's non linear drop off after a few extra months of no landing or experience.




Synopsis: Air carrier Captain reported the First Officer made a sudden steep turn on departure while following command bars. The Captain took control of the aircraft and noted that the FO was very tired and had not done a takeoff or landing in over a year.