“Ain’t It Funny” is an latin-pop song written by American singer-songwriter Jennifer Lopez, and Cory Rooney for Lopez’s second studio album, J. Lo (2001). It was produced by Rooney, and Dan Shea and was released as the album’s third international single in autumn 2001. The song reached the top 5 in Argentinia, Belgium, Sweden, the United Kingdom, and Greece and entered the top ten in Belgium, Ireland, Norway, Portugal, and Switzerland. “Que Ironia”, a Spanish version of this single, peaked at number 10 on the Spanish Singles Chart.