Meghan Trainor has recorded a duet with Harry Styles.

The 'All About That Bass' hitmaker has revealed she was joined in the studio by the One Direction heartthrob to record a song called 'Someday Maybe', which is all about love.

She said: ''It's real! It's a duet. It's a beautiful song we wrote together on my ukulele. We even recorded a rough demo together with our vocals together. It's a cute acoustic love thing.''

The 21-year-old star confessed she wasn't sure what 20-year-old Harry's song writing skills would be like, so she came prepared with her own but was shocked by his maturity.

She told The Sun newspaper: ''It's one of the first cool things I got to do with a pop star.

''A friend of mine said Harry was a fan and said he would love to write with me.

''He's an incredible writer, too. I was worried he'd just be a 20-year-old boy. So I walked in with a prepared verse and chorus. But he gave me very poetic, mature lyrics.

''I was like, 'Well, damn, Harry, you know what love is'.''

However, Megan admits the song may never be released as Harry remains committed to his One Direction bandmates - Niall Horan, Liam Payne, Zayn Malik and Louis Tomlinson.