Narrative:

I was the pilot not flying. Climbing out of ZZZ toward the east nearing FL180; I was getting ready to reset the altimeters to 29.92 when there was a sudden strong odor in the cockpit that smelled of burning electrical wires. Immediately looked at the captain and we realized the situation we were in -- memory items were completed; and declared an emergency with a return to ZZZ. Continued flight manual checklist items. During the descent; the flight attendant notified us of a passenger that said she was having a panic attack and requested paramedics; and as we continued; the flight attendant told us the fumes were in the cabin; and later; starting to dissipate. We continually asked the flight attendant if there was any change in the status of the fumes and; based on his answers; continued past ZZZ1 and landed to taxi to the gate. Electrical short and/or possible lightning strike.

Google
 

Original NASA ASRS Text

Title: Approaching FL180 EMB145 flight crew detects electrical fumes and declares an emergency. After complying with flight manual procedures; fumes began to dissipate and crew elects to return to departure airport.

Narrative: I was the Pilot Not Flying. Climbing out of ZZZ toward the east nearing FL180; I was getting ready to reset the altimeters to 29.92 when there was a sudden strong odor in the cockpit that smelled of burning electrical wires. Immediately looked at the Captain and we realized the situation we were in -- memory items were completed; and declared an emergency with a return to ZZZ. Continued flight manual checklist items. During the descent; the Flight Attendant notified us of a passenger that said she was having a panic attack and requested paramedics; and as we continued; the Flight Attendant told us the fumes were in the cabin; and later; starting to dissipate. We continually asked the Flight Attendant if there was any change in the status of the fumes and; based on his answers; continued past ZZZ1 and landed to taxi to the gate. Electrical short and/or possible lightning strike.

Data retrieved from NASA's ASRS site as of April 2012 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.