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.''
From their newest EP 'What Did You Think When You Made Me This Way', Nothing But Thieves drop the lyric video for their single 'Take This Lonely...
The Lumineers honour their friend and hero Tom Petty with a sensational cover of his 1996 song 'Walls' from the 'She's the One' soundtrack.
Watch Olly Murs get his nerd on as he blags his way into an exclusive Snoop Dogg party (where Rowan Atkinson is the bartender) in the video for their...
From 'Happy' to 'Banana Pancakes', these are soaked in positivity.
Mariah Carey is the picture of glamour in the black and white video for her brand new single 'With You'. It's the lead single from her forthcoming...
Eminem draws attention to the negative response his 2017 album 'Revival' received in the video for his latest song 'Venom'; a song recorded for the...
With the recent release of her third, very well received album 'Hunter' just behind her, Anna had plenty of relatively new songs to showcase.