The song was co-written by Penn, a professional songwriter and producer, and Moman, a former session guitarist at Gold Star Studio in Los Angeles and also the owner of American Sound Studio in
Memphis, Tennessee. The song itself was ultimately recorded across town at
Royal Studios, home of
HI Records. In the summer of 1966, while a DJ convention was being held in Memphis, Penn and Moman were cheating while playing cards with Florida DJ Don Schroeder, and decided to write the song while on a break. Penn said of the song “We were always wanting to come up with the best cheatin’ song. Ever.” The duo went to the hotel room of
Quinton Claunch, another Muscle Shoals alumnus, and founder of Hi Records, to write. Claunch told them "Boys, you can use my room on one condition, which is that you give me that song for
James Carr. They said I had a deal, and they kept their word.” The song, lyrics and all, was written in about 30 minutes. ==Chart performance==