"On the Floor" is an up-tempo pop and dance-pop song[1][20] combining elements of Latin,[2] house[2] and techno music.[2] American rapper Pitbull starts the song with a rap introduction while the melody interpolates elements of the Los Kjarkas composition, "Llorando se fue", popularized by Kaoma's 1989 hit single "Lambada".[21][4] "On the Floor" was written in the time signature of common time, set at a tempo of 130 beats per minute and in the key of E♭ minor[23] by Bilal "The Chef" Hajji, Kinnda Hamid, Gonzalo Hermosa, Ulises Hermosa, Achraf "AJ Junior" Janussi, Nadir "RedOne" Khayat", Pitbull and Teddy Sky.[24] Lopez's vocal range spans from A♭3 to B♭4 while the melody uses a simple chord progression of E♭ minor–C♭ major–G♭ major–B♭ minor.[23] The song was adapted in Spanish as "Ven a Bailar" which featured additional lyrics by Julio Reyes Copello and Jimena Romero.[25]