Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument; Flight Crew Multiengine
Aircraft Equipment Problem Critical
Air Traffic Control Provided Assistance; Flight Crew Landed in Emergency Condition; Flight Crew Took Evasive Action; Flight Crew Returned To Departure Airport; Flight Crew Requested ATC Assistance / Clarification; Flight Crew Overcame Equipment Problem; General Maintenance Action
Aircraft
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.
Pilot reported an engine failure on initial climb that resulted in a return to the departure airport.