Background and recording
Trainor performing "Woman Up" on the Untouchable Tour
In 2015, Meghan Trainor announced that she would be releasing her second album sometime in 2016, and confirmed some collaborations with a variety of artists and record producers, one of them was the Virgin Islands duo Rock City. Discussing her influences for the record, Trainor explained "I wanted to go big, I wanted to get all my influences in there and show everything from my Caribbean side to my love for Bruno Mars and Aretha Franklin and even some Elvis vibes, anyone I grew up listening to." "It's definitely a Meghan Trainor album, but it's a more grown up, matured, intense Meghan Trainor," she said in an interview with Los Angeles Times.
In January 2016, in an interview with Forbes, Trainor confirmed that the first single from Thank You would be picked the week after, adding, "we're going to figure it out, and it's probably after all this stuff the craziness will start". The album was made available for pre-order on March 4, on the same day as the release of the lead single "No". The song caused the direction of the album to change, as Trainor and the producer Ricky Reed started experimenting with new musical styles and began producing six more tracks, replacing most of the original track list.