Narrative:

Prior to departure off of runway xx we briefed the zzzzz X departure. Upon departure we flew the assigned heading in the SID and met the crossing restriction. Approach then gave us a climb to FL190. In the climb the FD mode off annunciator came on. We then turned direct to ZZZZZ1. Within a few seconds ATC queried us and asked where we were going. He told us to turn back to our originally assigned heading from the SID. We continued on uneventfully. I think several things came into play today. It was a swapped crew in the middle of my day. We haven't been flying very much in the past three months; I didn't sleep very well the night prior due to noisy rooms next door. And finally we were too hasty in responding to the FD mode annunciator; which should have been in heading for this departure.

Google
 

Original NASA ASRS Text

Title: Flight crew reported not flying the assigned heading on departure and being corrected by ATC. The crew referenced lack of flying as a contributing factor.

Narrative: Prior to departure off of Runway XX we briefed the ZZZZZ X departure. Upon departure we flew the assigned heading in the SID and met the crossing restriction. Approach then gave us a climb to FL190. In the climb the FD Mode Off annunciator came on. We then turned direct to ZZZZZ1. Within a few seconds ATC queried us and asked where we were going. He told us to turn back to our originally assigned heading from the SID. We continued on uneventfully. I think several things came into play today. It was a swapped crew in the middle of my day. We haven't been flying very much in the past three months; I didn't sleep very well the night prior due to noisy rooms next door. And finally we were too hasty in responding to the FD mode annunciator; which should have been in HDG for this departure.

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.