Harry Styles won't be recording a song he wrote with Ed Sheeran.

The One Direction hunk previously ''jammed out'' a track with his close friend, but the 'Shape of You' singer says his pal has now ''gone in a totally different direction'' but when he does release his long-awaited solo material, Ed thinks it will be ''massive''.

He said: ''He came round like two years ago and we jammed out a song. I think he's gone in a totally different direction now.

''It's really good. Anything he puts out is going to be massive, let's be honest. But I think it's very good musically as well.''

Meanwhile, the 26-year-old star gave another song he'd written, 'Love Yourself', to Justin Bieber, and though the track was a huge hit for the Canadian pop star, Ed has no regrets about not keeping it for himself and is just thankful that and 'Cold Water' - the Major Lazer track he co-wrote which also featured the 'Believe' hitmaker - kept him in the public consciousness during his hiatus last year.

He told The Sun newspaper: ''A lot of people say, 'Do you wish you finished that and kept it for yourself'. But in my year off I had that song and 'Cold Water', and both kept me in the public eye without me being in the public eye.

''So it came as a blessing. I don't think Justin owes me. I think that song did quite well. I think I'm alright.''

Ed is expecting his close friend Taylor Swift to release a new album this year - her first since 2014's '1989' - though doesn't think she's in a rush to get new material out because she's enjoying her own career break.

He said: ''I don't know the ins and outs of it but if you look at the trend of how many years are between each album then it does seem likely. But I think she is enjoying her time off - I don't think there's any rush. She has kept a very low profile and the music will speak for itself.''