Narrative:

Shortly after takeoff on runway xxr in ZZZ we (ca/first officer/js) smelled a strong odor; presumably an electrical odor. The flight attendant called the flight deck and told the ca that the smell was in the cabin as well. The ca immediately [contacted ATC] and we were given immediate vectors to return to runway xyr in ZZZ. As the pilot flying; I was vectored to a right downwind for runway xyr and we leveled off at 3000 ft. Flight attendant's were briefed; a PA was made to the passengers and ATC was notified. The QRH was referenced and were back on the ground within 10 minutes. After landing we taxied off of runway xyr and came to a stop so fire rescue could examine the aircraft. No discrepancies were noticed by arf and we proceeded to the gate without further incident.

Google
 

Original NASA ASRS Text

Title: B737 crew noticed an electrical burning smell immediately after takeoff. Cabin crew also detected the fumes. Crew returned to departure airport.

Narrative: Shortly after takeoff on Runway XXR in ZZZ we (CA/FO/JS) smelled a strong odor; presumably an electrical odor. The FA called the flight deck and told the CA that the smell was in the cabin as well. The CA immediately [contacted ATC] and we were given immediate vectors to return to Runway XYR in ZZZ. As the pilot flying; I was vectored to a right downwind for Runway XYR and we leveled off at 3000 FT. FA's were briefed; a PA was made to the passengers and ATC was notified. The QRH was referenced and were back on the ground within 10 minutes. After landing we taxied off of Runway XYR and came to a stop so fire rescue could examine the aircraft. No discrepancies were noticed by ARF and we proceeded to the gate without further incident.

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.