By the end, everyone in the star-studded audience was on their feet.

Do you remember the words to Eminem's \"Lose Yourself\"? The #Oscars crowd definitely does: https://t.co/bffyIA57Vs pic.twitter.com/fv9njycMmm

— Good Morning America (@GMA) February 10, 2020

When @Eminem starts performing... 🤘 #Oscars pic.twitter.com/aY9DYbmqTf

— ABC (@ABCNetwork) February 10, 2020

The 47-year-old rapper didn't attend the 2003 Academy Awards to accept his award from Barbra Streisand, but he got a second shot Sunday night.

In an interview Monday with Variety, Eminem explained, \"I kinda figured maybe since I didn't get a chance to do it at the time, maybe it would be cool. Back then, I never even thought I had a chance to win, and we had just performed 'Lose Yourself' on the Grammys with the Roots a couple of weeks before the Oscars, so we didn't think it was a good idea.\"

\"Also, back at that time, the younger me didn't feel like [it was] a show, like, that would understand me. ... I remember being kinda confused about why I was even up for one, because as a kid with the Oscars, it was like a vacuum,\" he added.

Instead of attending the Oscars that night in 2003, Eminem said he was just at home with his daughter and ended up sleeping. Luis Resto, his keyboard player who produces records with the rapper, went up and accepted the award on his behalf.

When the opportunity came to perform at this year's Academy Awards, Eminem was 100% on board and kept it under wraps.

\"Most of the rehearsals were offsite, not in [the Dolby Theatre], just trying to keep it secret,\" he told Variety. \"It was presented to me that way and I said, 'Oh, that's kinda dope to not even announce it.'\"

After he took the stage Sunday, Eminem took to Twitter to explain what prompted his performance.

\"Look, if you had another shot, another opportunity... Thanks for having me @TheAcademy,\" he tweeted, paraphrasing the song's lyrics. \"Sorry it took me 18 years to get here.\"

Look, if you had another shot, another opportunity... Thanks for having me @TheAcademy. Sorry it took me 18 years to get here. pic.twitter.com/CmSw2hmcZo

— Marshall Mathers (@Eminem) February 10, 2020

For those wondering, Eminem won for “Lose Yourself” but did not perform or pick up his Oscar from Streisand that year. Now he has rectified that. #Oscars

— Robert Mills (@Millsy11374) February 10, 2020

I got to see my Uncle Elton tonight at the Oscars. Congrats on your win too, Sir! @eltonofficial pic.twitter.com/9HsQHvGzM4

— Marshall Mathers (@Eminem) February 10, 2020
","canonicalUrl":"https://abcnews.com/GMA/Culture/story-eminems-surprise-oscars-performance-lose/story?id=68873035","legacySlug":"/culture/story/story-eminems-surprise-oscars-performance-lose-68873035","noIndexNoFollow":false},"publishTime":"01:24","publishDate":"02-11-2020","updatedTime":"03:22","updatedDate":"02-14-2020","socialImage":{"alt":"Eminem performs \"Lose Yourself\" during the Oscars show at the 92nd Academy Awards in Hollywood, Calif., Feb. 9, 2020.","credit":"Mario Anzuoni/Reuters","ratio":"16x9","url":"https://s.abcnews.com/images/GMA/eminem-oscar-02-rt-jef-200209_hpMain_16x9_1600.jpg","width":992,"height":558},"datePublished":"2/11/2020 01:24:00 GMT","video":{"live":false,"id":68873035,"headline":"Eminem gave a surprise Oscars performance","mediaAssetTitle":"EMINEN PERFORMS","description":"The rapper made an unexpected appearance on stage, performing \"Lose Yourself.\"","duration":"1:30","posterImg":{"url":"https://s.abcnews.com/images/GMA/default-img-undefined.png","width":608,"height":342},"video":{"feed":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2020/02/200209_gma_digital_oscarsbestmoments_1_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8"},"playlist":["68807138","68754299","68750614"]},"relatedItems":[{"contentType":"story","date":"February 10, 2020","headline":"2020 Oscars: See all the best red carpet looks of the night","section":"style","slug":"/style/story/oscars-2020-best-red-carpet-night-68807138","id":68807138,"image":{"alt":"2020 Oscars: See all the best red carpet looks of the night","url":"https://s.abcnews.com/images/GMA/oscars-9-ap-er-200209_hpMain_4x3t_240.jpg","credit":"Jordan Strauss/Invision/AP","ratio":"1x1"}},{"contentType":"story","date":"February 10, 2020","headline":"2020 Oscars: Complete list of winners at Academy Awards","section":"culture","slug":"/culture/story/2020-oscars-complete-list-winners-academy-awards-68754299","id":68754299,"image":{"alt":"2020 Oscars: Complete list of winners at Academy Awards","url":"https://s.abcnews.com/images/GMA/brad-pitt-oscars-1-gty-er-200209_hpMain_4x3t_240.jpg","credit":"Robyn Beck/AFP/Getty Images","ratio":"1x1"}},{"contentType":"story","date":"February 10, 2020","headline":"Oscars 2020 recap: 'Parasite' breaks barriers, Eminem's unexpected performance","section":"culture","slug":"/culture/story/oscars-2020-live-updates-janelle-monae-opens-show-68750614","id":68750614,"image":{"alt":"Oscars 2020 recap: 'Parasite' breaks barriers, Eminem's unexpected performance","url":"https://s.abcnews.com/images/GMA/parasite-cast-win-oscars-01-gty-jef-200209_hpMain_4x3t_240.jpg","credit":"Mark Ralston/AFP via Getty Images","ratio":"1x1"}}],"relatedContentSection":"news","schemaContent":{"name":"Eminem gave a surprise Oscars performance","description":"The rapper made an unexpected appearance on stage, performing \"Lose Yourself.\"","duration":"1:30","uploadDate":"02-11-2020","publication":"02-11-2020","images":"https://s.abcnews.com/images/GMA/default-img-undefined.png","url":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2020/02/200209_gma_digital_oscarsbestmoments_1_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8","contentUrl":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2020/02/200209_gma_digital_oscarsbestmoments_1_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8","link":"https://www.goodmorningamerica.com/culture/story/story-eminems-surprise-oscars-performance-lose-68873035"}},"playlist":[{"id":"132510121","contentType":"story","section":"news"},{"id":"132473181","contentType":"story","section":"news"},{"id":"132497933","contentType":"story","section":"news"},{"id":"132281378","contentType":"story","section":"news"},{"id":"132283010","contentType":"story","section":"news"},{"id":"132273278","contentType":"story","section":"news"},{"id":"132231169","contentType":"story","section":"news"},{"id":"132206748","contentType":"story","section":"news"},{"id":"132200241","contentType":"story","section":"news"},{"id":"132054443","contentType":"story","section":"news"},{"id":"132054798","contentType":"story","section":"news"},{"id":"132033010","contentType":"story","section":"news"},{"id":"131912713","contentType":"story","section":"news"},{"id":"131830583","contentType":"story","section":"news"},{"id":"131834976","contentType":"story","section":"news"},{"id":"131554765","contentType":"story","section":"news"},{"id":"131554815","contentType":"story","section":"news"},{"id":"131543053","contentType":"story","section":"news"},{"id":"131432442","contentType":"story","section":"news"},{"id":"131121474","contentType":"story","section":"news"}],"kvps":{"pgtyp":"article","lang":"en","sp":"goodmorningamerica","programmatic":"true","bundleId":"com.abcnews"}},"analytics":{"accountID":"wdgnewwdgnewgmaweb","ns":"gma","pageName":"gma:culture:video","pageType":"video","globalSpecVersion":"v1.08","siteDifferentiator":"gma:site","tagID":"g_page01","userABCookie":"0","section":"culture","title":"Eminem gave a surprise Oscars performance","pubTime":"20:24","pubDate":"02-10-2020","modTime":"22:22","modDate":"02-13-2020","taxonomyTags":"none","id":68873035,"editorialOtherSubjects":"","wordCount":"none","columns":"none","authors":"","authorsUnit":"none","authorsBureau":"none","subBrand":"Good Morning America","provider":"Good Morning America","videoName":"Eminem gave a surprise Oscars performance","mediaAssetTitle":"EMINEN PERFORMS","videoId":68873035,"mediaOnPage":"video","legacySlug":"/culture/story/story-eminems-surprise-oscars-performance-lose-68873035"},"taboola":{}},"request":{"headers":{},"httpVersion":"1.1","method":"GET","url":"/video/68873035","vary":{"host":"www.goodmorningamerica.com","cached":true,"path":"/video/68873035","forwarded-proto":"https","device":"desktop","userab":"0"}},"viewport":{"width":1260,"height":0},"user":{}};