Narrative:

Was in pilot crew bunk and smelled electrical odor same time got call from flight crew of odor in first class galley and first class area. Turned off galley power and odor seemed to dissipate. All flight crew returned to cockpit. After returning to cockpit electrical odor was again noticed in cockpit and a call from purser saying odor noticed again in first class and business cabin area. We elected to declare an emergency and divert. [We] went through smoke and fire checklist and made normal landing. Electrical odor dissipated and aircraft was looked over by fire rescue when all clear we parked at gate.

Google
 

Original NASA ASRS Text

Title: B777 flight attendants and pilots detected an electrical odor in First and Business Classes so an emergency was declared and the flight diverted to an enroute airport for maintenance. The flight later continued on the same aircraft.

Narrative: Was in pilot crew bunk and smelled electrical odor same time got call from flight crew of odor in First Class Galley and First Class area. Turned off galley power and odor seemed to dissipate. All flight crew returned to cockpit. After returning to cockpit electrical odor was again noticed in cockpit and a call from Purser saying odor noticed again in First Class and Business cabin area. We elected to declare an emergency and divert. [We] went through smoke and fire checklist and made normal landing. Electrical odor dissipated and aircraft was looked over by fire rescue when all clear we parked at gate.

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