"My Bad" is a mellow apology track in which Khalid has upset a girlfriend by not responding to her texts. The singer provides an explanation in the second verse, explaining he didn't text her back because he was working.
Khalid accepts his portion of the blame during the chorus for his part in the communication breakdown:
Blowin' me up, we been wilin' We was cool, yeah, we was vibin' Gotta put my phone on silent So my, my, my, my bad
The singer had put his phone on silent when he was working.
The track was produced by Brooklyn born Dernst "D'Mile" Emile II, whose other credits include Janet Jackson's "Feedback," Jennifer Lopez's "One Love" and The Carters "Boss."
Khalid said in an Apple Music Track by Track that the song "floated out" of him. It took him less than ten minutes to write "My Bad."