Narrative:

During cruise at FL350 we heard a noise and then [noticed] a burning odor in the cockpit and also in the cabin according to the flight attendants. Because the odor persisted and it was strong we diverted to [an alternate airport]. Descending and running the smoke/avionics/fumes check list we got avionics vent ECAM message. Eventually the odor dissipated and we landed safely.maintenance told us that they found the avionics vent fan failed.

Google
 

Original NASA ASRS Text

Title: A321 pilot reported diverting to an alternate airport after noticing a burning odor.

Narrative: During cruise at FL350 we heard a noise and then [noticed] a burning odor in the cockpit and also in the cabin according to the flight attendants. Because the odor persisted and it was strong we diverted to [an alternate airport]. Descending and running the Smoke/Avionics/Fumes check list we got Avionics Vent ECAM message. Eventually the odor dissipated and we landed safely.Maintenance told us that they found the Avionics Vent Fan failed.

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.