 "I Just Had Sex" was written by The Lonely Island during the winter of 2010.The comedy troupe, in the same fashion as the recording process for their debut, "Incredibad", rented a house in Los Angeles and created a makeshift studio where they would record songs from that album.The music video for "I Just Had Sex" features Akon, Andy Samberg, and Jorma Taccone singing about how they just had sex with their unsatisfied girlfriends played by Blake Lively and Jessica Alba.