The Grammy nominee will take on the part of Cormac in "The Bastard Executioner", reported Contactmusic.
The new FX drama has been created by 'Sons of Anarchy's Kurt Sutter.
It is being billed as a "blood-soaked medieval epic that tells the story of a 14th century warrior whose life is forever changed when a divine messenger beseeches him to lay down his sword and lead the life of a journeyman executioner".
It will also star Stephen Moyer and Katey Sagal.
Sheeran, 24, was a huge fan of biker gang drama "Sons of Anarchy" and recorded Foy Vance's "Make It Rain" for the penultimate episode.