A 22 second sample of the song, with Lopez singing the chorus over a latin and electro background. Papi is a Latin and electro-flavored, up-tempo dance song written by Bilal Hajji, AJ Junior and Teddy Sky, co-written and produced by BeatGeek, RedOne and Jimmy Joker. The melody is driven by beating drums and pounding synths.