"Like I'm Gonna Lose You" was written by Meghan Trainor, Justin Weaver, and Caitlyn Smith.It was composed as a demo "years ago", but Trainor was at first hesitant to show the song to her record label during the recording of her debut album, "Title" (2015).