Narrative:

[I was] operating as pilot flying from ZZZ to ZZZ1. After performing a normal takeoff from runway xx; during climb out; we turned left heading 360 as per the pre departure clearance. Once we were established on the 360 heading; captain (pm) noticed that we had a difference of about 25-30 degrees between our pfds. We then switched to dg mode and tried correcting the heading; however; we both got a red magnetic flag on our heading indicator. We initially got an EFIS comp mon caution message. I called for the ahrs failure checklist; [and] captain notified ATC we were not able to maintain heading. They cleared us direct zzzzz. I set direct zzzzz; executed; and then selected navigation mode. We then lost both moving maps on the mfds and a yellow map flag appeared. The captain continued ahrs failure checklist; however; he saw it only identified a failure on one side. In this case; both sides were not working. We again notified ATC that we were having issues with our navigation and they told us to go direct [via fix]. We were unable to restore our navigation to go direct [via fix] and ATC then told us to turn to a heading of 240. Still with heading indicator failure; I used the aircraft's magnetic compass to turn to the assigned heading. Using the magnetic [compass]; I overshot our heading and were instructed again by ATC to turn 240. We advised ATC we were still having navigation and heading information failure but could hold a 240 heading. We were switched to another controller who instructed us to climb to 17000 from 15000. On the climb out; the magnetic flags and map flags were gone and our navigation restored. We were then instructed to go direct [another fix] and then were on track and enroute to ZZZ1 with no further issues. Once landed at ZZZ1; we advised maintenance and they could not find any issues at that time. We had a scheduled aircraft swap at ZZZ1; so I am unaware if the problem has presented itself again. Safety was not compromised; no far's or company procedures were violated; and to our knowledge; there was no aircraft separation issues.

Google
 

Original NASA ASRS Text

Title: CRJ-900 First Officer reported a significant difference between heading indications during climb.

Narrative: [I was] operating as Pilot Flying from ZZZ to ZZZ1. After performing a normal takeoff from Runway XX; during climb out; we turned left heading 360 as per the PDC. Once we were established on the 360 heading; Captain (PM) noticed that we had a difference of about 25-30 degrees between our PFDs. We then switched to DG mode and tried correcting the heading; however; we both got a red MAG flag on our heading indicator. We initially got an EFIS COMP MON caution message. I called for the AHRS Failure Checklist; [and] Captain notified ATC we were not able to maintain heading. They cleared us direct ZZZZZ. I set direct ZZZZZ; executed; and then selected NAV mode. We then lost both moving maps on the MFDs and a yellow MAP flag appeared. The Captain continued AHRS Failure Checklist; however; he saw it only identified a failure on one side. In this case; both sides were not working. We again notified ATC that we were having issues with our navigation and they told us to go direct [via fix]. We were unable to restore our navigation to go direct [via fix] and ATC then told us to turn to a heading of 240. Still with heading indicator failure; I used the aircraft's magnetic compass to turn to the assigned heading. Using the magnetic [compass]; I overshot our heading and were instructed again by ATC to turn 240. We advised ATC we were still having navigation and heading information failure but could hold a 240 heading. We were switched to another controller who instructed us to climb to 17000 from 15000. On the climb out; the MAG flags and MAP flags were gone and our navigation restored. We were then instructed to go direct [another fix] and then were on track and enroute to ZZZ1 with no further issues. Once landed at ZZZ1; we advised Maintenance and they could not find any issues at that time. We had a scheduled aircraft swap at ZZZ1; so I am unaware if the problem has presented itself again. Safety was not compromised; no FAR's or company procedures were violated; and to our knowledge; there was no aircraft separation issues.

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.