Tupac - who was shot dead in Las Vegas on 7th September 1996 - appeared as a hologram on the stage after a tribute performance of his hit single California Love.
The Changes hitmaker then performed a solo of Hail Mary from beyond the grave, before teaming up with Snoop Dogg on an haunting rendition of Ain't Nothin' Like A Gangsta Party.
Fans were stunned by Shakur's eerie involvement in the show, with one fan branding Snoop and Dre's stint at Coachella "the best rap concert of the decade."
Singer Katy Perry also took to Twitter to comment on Tupac's surprise appearance, telling her followers: "I think I might have cried when I saw Tupac. #coachella."
As well as Tupac's eerie cameo on stage, the likes of 50 Cent, Eminem, Wiz Khalifaand Kendrick Lamar also joined the duo at the event, with Warren G also making an appearance to honour late singer, Nate Dogg.