The "Perfect" singer took to Instagram on Tuesday, May 07, to announce the pair's new track will be titled "I Don't Care".
The Brit wrote: "My track with @justinbieber I Don't Care comes out this Friday at 5am bst (British Summer Time)..."
Ed previously teased a snippet of the song and he and Bieber offered up sample lyrics from the song on both their Instagram pages.
Sheeran's manager Stuart Camp initially revealed Bieber and Ed were working on new music by posting an Instagram photo of the "Perfect" singer standing in front of a green screen - a shot that was identical to one Bieber's mentor Scooter Braun and his wife Hailey Baldwin had shared on social media.
Camp added the same caption Braun posted - "This guy! Something is happening."
Sheeran previously co-wrote Bieber's hit "Love Yourself".