Narrative:

During cruise flight at FL230; we experienced a strong odor in the cockpit. The odor was present in the cabin also. We believe the odor originated in the cabin first. When we experienced the odor; we were in IMC and several lightning flashes occurred close by. We [requested priority handling] with ATC; requested a diversion to ZZZ and performed an emergency descent. We advised ATC to have fire rescue standing by. We were vectored for the ILS xxl and performed a normal landing. Fire rescue inspected the aircraft then followed us to the gate. No injuries. Flight attendant and flight deck crew as well as passengers detected the electrical odor. We immediately [requested priority handling]; requested a diversion; and performed emergency descent.

Google
 

Original NASA ASRS Text

Title: EMB-145LR flight crew reported strong odor in cockpit; also reported by Flight Attendants during cruise; and diverted to nearest suitable airport.

Narrative: During cruise flight at FL230; we experienced a strong odor in the cockpit. The odor was present in the cabin also. We believe the odor originated in the cabin first. When we experienced the odor; we were in IMC and several lightning flashes occurred close by. We [Requested Priority Handling] with ATC; requested a diversion to ZZZ and performed an emergency descent. We advised ATC to have fire rescue standing by. We were vectored for the ILS XXL and performed a normal landing. Fire rescue inspected the aircraft then followed us to the gate. No injuries. Flight Attendant and flight deck crew as well as passengers detected the electrical odor. We immediately [Requested Priority Handling]; requested a diversion; and performed emergency descent.

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.