Interpolated within the song are recurrent elements of the 1982 Bolivian composition "Llorando se fue" written by Gonzalo and Ulises Hermosa of Los Kjarkas, a composition that gained notoriety when it was sampled by Kaoma in their 1989 single "Lambada". Lopez described "On the Floor" as an evolution of her classic sound and as something which sounded very current. The debut and release of "On the Floor" coincided with Lopez's appointment as a judge on the tenth season of US reality TV show American Idol, as well as several other product endorsement deals.