Date: 202107
Local time of day: 1801-2400
Location: ZZZ.Airport, US
Flight conditions: VMC
Aircraft: B767 Undifferentiated or Other Model
Operator: Air Carrier
Operating under: Part 121
Flight plan: IFR
Mission: Passenger
Flight phase: Takeoff / Launch
Aircraft component: Turbine Engine
Component problem: Malfunctioning
Reporter organization: Air Carrier
Reporter function: First Officer; Pilot Not Flying
Reporter qualification: Flight Crew Multiengine; Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument
Second reporter function: Captain; Pilot Flying
Anomaly: Aircraft Equipment Problem Critical
Detector: Person Flight Crew
When detected: In-flight
Result: Air Traffic Control Issued New Clearance; Air Traffic Control Provided Assistance; Flight Crew Returned To Departure Airport; Flight Crew Landed in Emergency Condition; Flight Crew Inflight Shutdown; Flight Crew Requested ATC Assistance / Clarification
Contributing factors: Aircraft
Primary problem: Aircraft

Narrative: We executed a reduced power departure. Passing through 400 feet AGL immediately after takeoff and upon beginning to execute our assigned heading with a right turn to 155 degrees; the right engine experienced a significant compressor stall with an immediate over temp. The CA (Pilot Flying) immediately applied the appropriate steps to deal with the loss of thrust. I (Pilot Monitoring) immediately referenced the QRC and began to run the Engine Fire/Engine Severe Damage or Separation checklist. The EGT continued to climb and exceeded limits (712 Max) with no signs of recovery with the throttle moved to idle. We subsequently continued the QRC and secured the right engine. We then completed all steps of the checklist upon continuing with the flight manual and coordinated for an expeditious return to departure airport. We cleaned up the aircraft to flaps 5 and 210 KIAS; began cross feeding fuel; climbed to 3;000 feet; calculated landing distance and completed vectors to a single engine landing utilizing the ILS. Weather was not a factor and winds were approximately 10-12 knots. I was able to coordinate with the FAs per the FOM and then conveyed the situation to the passengers. We stopped straight ahead on the runway and coordinated for Fire/Rescue forces to inspect the aircraft for any signs of further fire or damage that would limit our ability to clear the runway. We were given the all clear and subsequently taxied to parking. Shut down was normal. Upon a thorough debrief; we believe we accomplished all required checklist and emergency action items; as well as used excellent CRM to back each other up and set up the aircraft for the immediate return and recovery.


Second narrative: As we were climbing through 400 feet and starting our right turn out we heard a loud bang followed by the right engine displays going to zero. We both called out engine failure and then followed up with our engine failure procedures. We [contacted] Tower and they offered us runway XXR for landing; but we elected to use XYL as that would give us more time to complete all the checklist and set up for the approach. We had the emergency equipment waiting for us and I elected to stop on the runway so that they could look over the aircraft. Once they gave us the all clear we taxied back to the gate.


Synopsis: B767 flight crew reported returning to departure airport after inflight shutdown of the right engine following a compressor stall and EGT overtemp event.