The song was written by the Lady A trio with Rodney Clawson (Florida Georgia Line's "Get Your Shine On
," Luke Bryan's "Crash My Party
"). It was produced by Taylor Swift's regular producer Nathan Chapman. Lady A's Dave Heywood said: "The song, 'Bartender,' actually started with a title Charles had on his phone, and a little idea I had on my phone, and we pulled 'em all out. It was one of the last writing sessions we had on the road for this record."
"You know, we want to have songs that people can get lost in and come out and get lost in the noise of the crowd and these kinds of songs, and it just feels like one of those songs that can stand up in a big venue," he added. "We wanted to try to create something like that, and it's fun. I think anybody's been out where you want to go out and get lost because of something you've been going through and forget about what's been going on, and so that's part of the inspiration too for 'Bartender.'"