The 43-year-old musician and his wife Sofia Wellesley welcomed their first child last year, and the British star has decided to entrust Ed with one of life's biggest responsibilities.
Ed told The Sun newspaper: ''James is like a brother to me, actually I'm not quite sure if I can say this, but I'm going to - he's just made me godfather to his son.
''To be honest, I think he's only done it because he knows I've got a good idea of what sort of person he'd want him to be when he grows up - an absolute lad. We're going to be brothers for life.''
James previously named the late 'Star Wars' actress Carrie Fisher as the godmother of his son, whose name has not been revealed.
The Hollywood star passed away in December last year, and James previously admitted to feeling ''desperately sad'' that his son never got to know her.
He shared: ''She's the most amazing person I know and I'm really desperately sad he won't get to know her but I have many memories, many stories I'll be able to tell him.''
However, James admitted he couldn't share many of his fondest memories of Carrie because they are often x-rated.
Asked if he could share any of the stories, the singer explained: ''I don't know if any of them are safe enough to tell on camera.''
Meanwhile, Ed previously revealed he would happily give up touring if he was to start a family with his girlfriend Cherry Seaborn.
Speaking earlier this year, the 'Shape Of You' hitmaker explained: ''I don't want to be touring when I have kids, I want to be like nipping out every now and then and being able to actually be a father so yeah, I think I would definitely love kids.
''I would definitely love all the kids in the world but I don't want to have them right now.''
Who are bassist Kyle Bann's biggest influences?
He's just dropped his latest single The Games Room.
On the South-East coast O'Hooley And Tidow treated the people of Deal to an evening of fabulous folk music.
Joep Beving's latest album 'Henosis' is an epic affair of more than twenty tracks and follows his 2018 release 'Conatus'.
Stronger Than Pride was released on this day (April 5) in 1988.
Everything you need to know about goth rock band Hana Piranha.