"Hanky Panky" is a song by American recording artist Madonna from her soundtrack album I'm Breathless. It was released on June 12, 1990, by Sire Records as the album's second and final single. Written and produced by Madonna and Patrick Leonard, the song was developed from a line in the parent film, Dick Tracy, talking about a woman who enjoys being spanked by her partner. Performed in an almost comical style, "Hanky Panky" is a jazz and swing song with a changing bassline and minor to major key-shift in the chorus. It caused some controversy in Ireland because of its innuendo and racy lyrics, with women's groups deeming them as harmful; Madonna later clarified that the lyrics were intended as a joke.
The song garnered positive response from music critics, many of them highlighting its lyrical content. It was a commercial success, becoming a top-ten hit in many countries including Australia, Ireland, Italy, the United Kingdom and the United States while topping the chart in Finland. Madonna has performed the song on two of her concert tours: Blond Ambition (1990) and Re-Invention (2004). The song has been covered by several tribute acts and was also performed on the television series Ally McBeal (1997).