Written by Bareilles, the track was produced by Eric Rosse. Its music video was released on February 3, 2009. Bareilles said she wrote the song after her "first real heartbreak", and was hoping the ballad would help others in similar situations.