Narrative:

I was cleared for takeoff; assigned 140 heading. Advanced the throttles and checked the engine gauges (normal; power set; no lights; airspeed alive). Departed runway xx; rotated at 89 kts. Upon positive rate gear up. Runway heading at full power but started drifting right but I thought it was just the crosswind pushing me. Airplane began to yaw right between 500-800 ft. AGL. The engine did not sound right and began to run rough. Right rpm began to drop and right fuel flow was high (over 300) and the airplane began to yaw significantly to the right. I [requested priority handling] and ATC said 'yep we saw it did you lose the right engine?' I said affirm and he asked if I wanted to do a 180 back for runway xy. I said yes and he instructed the aircraft behind me to exit runway to which they said they saw it happen too.took a few seconds to assess the situation and then proceed with the engine failure after takeoff red box memory items:mix full; prop full (engine power spiked and yawed plane to the left); throttles full (engine lost power and yawed back right); flaps up; gear up.there was no change in condition and the airplane began to yaw back and forth with surges in power. I pulled out the QRH and climbed to 1;500 ft. I secured the right engine and made a left turn back to runway xy.began descent to 1;000 ft. And tower asked if I could make the turn to runway xy and I said yes just taking it slow. Followed the rest of the procedure and landed on runway xy and taxied to the gate.

Google
 

Original NASA ASRS Text

Title: Pilot reported an engine failure on initial climb that resulted in a return to the departure airport.

Narrative: I was cleared for takeoff; assigned 140 heading. Advanced the throttles and checked the engine gauges (normal; power set; no lights; airspeed alive). Departed Runway XX; Rotated at 89 kts. upon positive rate gear up. Runway heading at full power but started drifting right but I thought it was just the crosswind pushing me. Airplane began to yaw right between 500-800 ft. AGL. The engine did not sound right and began to run rough. Right rpm began to drop and right fuel flow was high (over 300) and the airplane began to yaw significantly to the right. I [requested priority handling] and ATC said 'yep we saw it did you lose the right engine?' I said affirm and he asked if I wanted to do a 180 back for Runway XY. I said yes and he instructed the aircraft behind me to exit runway to which they said they saw it happen too.Took a few seconds to assess the situation and then proceed with the engine failure after takeoff red box memory items:Mix full; Prop full (engine power spiked and yawed plane to the left); Throttles full (Engine lost power and yawed back right); Flaps up; gear up.There was no change in condition and the airplane began to yaw back and forth with surges in power. I pulled out the QRH and climbed to 1;500 ft. I secured the right engine and made a left turn back to Runway XY.Began descent to 1;000 ft. and Tower asked if I could make the turn to Runway XY and I said yes just taking it slow. Followed the rest of the procedure and landed on Runway XY and taxied to the gate.

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.