Pregnant Meghan Trainor has confirmed she's having a baby boy.

The 26-year-old is expecting her first child with her husband Daryl Sabara and has revealed her exciting news on The Kelly Clarkson Show on Tuesday.

The mum-to-be giggled when her pop star pal asked if she knew whether she was having a boy or a girl, before telling her: “We’ve never told anyone … I saved it for you, Kelly, I love you.”

Former actor hubby Daryl, who appeared on the show alongside his expectant wife, then spilled the beans, telling Kelly their baby is a boy.

The ecstatic couple then revealed they are over halfway through their pregnancy and will welcome their little one to the world early next year.

Pregnant Meghan Trainor has confirmed she's having a baby boy

The All About That Bass hitmaker announced on the Today Show that she's expecting her first child with the Spy Kids actor, 28, earlier this month.

The happy couple, who tied the knot in 2018, broke the news together.

During an appearance on the show, she said: "I'm very good as you can tell — it's all Christmas here.

"But there's other news that I'm dying to tell you and my heart's pounding out of my chest."

She shouted: "Hit it, Daryl," as he proudly revealed: "We're pregnant!"

The 26-year-old is expecting her first child with her husband Daryl Sabara and has revealed her exciting news on The Kelly Clarkson Show on Tuesday

Meghan added: "We're so excited we couldn't sleep. We've been waiting for so long. I was thinking about who do we tell first and I've told Hoda since I was 19, going to the Today show, 'I will have the most babies in the world'."

Meghan and Daryl tied the knot two years ago in an intimate backyard ceremony.

They had been dating for two years after being set up on a date by mutual friend, Kick-Ass star Chloe Grace Moretz.

She told People in 2018: "I definitely was positive month one when he was on tour with me, and we were like basically living together on the road."

He added: "It's super cheesy, but when you know, you know. As soon as she walked in the room and I saw her, I just knew: This is the one."

Meghan announced their news on Instagram after appearing on the Today Show

Meghan also took to Instagram on the same day the couple announced their news on the Today Show to share a picture of her baby scan set into the image of a Christmas tree.

She wrote: "You all know how long I’ve wanted this!!!! @darylsabara and I are so beyond happy and excited to meet this little cutie early next year! WE’RE PREGNANTTTTT!!!"

Her fans and famous pals rushed to offer their congratulations.

Hailee Steinfeld wrote: "MEGHAN‼️ CONGRATULATIONS MAMA."

While rapper Diddy told the couple: "Congrats!"

The mum-to-be giggled when her pop star pal Kelly asked if she knew whether she was having a boy or a girl
The All About That Bass hitmaker announced on the Today Show that she's expecting her first child with the Spy Kids actor, 28, earlier this month

Model Ashley Graham posted: "MEGHAN! I couldn’t be happier for you both!!!!!!!!!!!!"

Meghan and Daryl have always spoken openly about their dream of starting a family.

She told People just before her wedding: "If we could do it how we want to, we'd be, like, totally preggo right now!

"We're ready to rumble. I want some children! I want kids! We're both so excited for it. We both constantly watch baby YouTube videos and lessons on YouTube, like 'How to take care of an infant.' We're just getting prepared every single day."