ED Sheeran has submitted plans for 5ft railings outside his £8million home to keep out homeless people — even though he wrote a song about sleeping rough.

The millionaire singer, 27, wants the barrier between his front door and the street to improve security.

7 Plans have been submitted to erect iron cast railings outside Ed Sheeran's £8m home in a bid to keep out rough sleepers Credit: Rex Features

In the planning application his building agent Paul Smith says one of the reasons for the railings is “preventing opportunities for rough sleeping.”

Ed wrote the song Homeless based on his own experiences sleeping rough while a struggling teenage musician.

It features the line: “It's not a homeless life for me. It's just I'm home less than I'd life to be."

In his 2014 book A Visual Journey, he said: “There was an arch outside Buckingham Palace that has a heating duct and I spent a couple of nights there. That’s where I wrote the song Homeless.”

7 The Shape Of You singer may have 5ft railings put outside his £8million home

7 Notes from the planning application submitted

7 The millionaire singer penned a song about how he slept rough while trying to make it as a musician Credit: Getty Images - Getty

The song was on Ed’s 2010 EP Loose Change. He also supported a homeless charity’s helpline.

Ed was previously refused permission by the council for a fence with gates at the four-bedroom London townhouse.

Some neighbours object to his railings plan as being “detrimental to the conservation area.”

7 Ed currently lives with his childhood sweetheart and fiancée Cherry Seaborn Credit: Splash News

7 The singer is said to have asked Cherry to marry him over the New Year Credit: Duke University

7 Planners at the local council are being recommended to refuse permission Credit: Splash News

MOST READ IN BIZARRE Exclusive DELIVE-RAY Dancing On Ice winner Ray Quinn earning £11.40 an hour as Hermes delivery driver MONR-OOH! Stephen Merchant's girlfriend Mircea Monroe wows in sexy white shirt and undies Exclusive A QUESTION OF COURTSHIP Alex Scott is dating Coronation Street hunk Sam Robertson CAKES PANNED Bake Off judges left in hysterics by dodgy attempts to make celebs out of cake Exclusive CAINE AND ABLE Capt Tom signs 7-figure film deal - and he wants Michael Caine to play him Exclusive COVID SCARE Michelle Keegan tested for Covid after Brassic crew member showed symptoms

Planners at the local council are being recommended to refuse permission.

Ed’s spokesperson said: “This is a standard planning application, which was not written by Ed, and it is not reflective of Ed’s views or feelings on homelessness.”

His planning agent added: “We have sought to work with the council from the very start, yet we have been met with barriers.