"4 in the morning" was written by stefani and kanal after stefani finished her "harajuku lovers tour" in 2005. the song was influenced by songs from stefani's debut album "love. angel. music. baby." (2004). stefani listened to ballads sung by roberta flack and billy idol. stefani also said that "4 in the morning" was one of her favorite songs from the album.