In a series of three videos, the song can be heard as Trainor lip-syncs and her friends dance along in the background.
“New song I wrote last night with @gelbuda… Amazing Background dancers: @lorienmeillon @acommonfemalecitizen,” Trainor, 21, captioned the first of three videos featuring the new song.
“Glad you guys like the song. It’s called #JustAFriendToYou,” she added in the caption for the third video.
Take a listen below.
Earlier this week, Trainor earned a Grammy nomination for Best New Artist. You can see the full list of nominees here.