Shock footage has emerged of Miley Cyrus being groped by a crazed fan who got too close for comfort in Barcelona.

The 26-year-old singer was manhandled by the aggressive admirer when she stepped outside her hotel to a waiting car on the weekend.

In the disturbing video that went viral on Twitter, Cyrus could be seen walking past a crowd of fans with her husband, Liam Hemsworth, when the stranger grabbed her hair, forced an arm around her neck in a choke hold, and pulled her in for a kiss.

The footage also showed Cyrus trying to brush away the pushy fan’s arm before her security team intervened. But the terrifying incident happened so fast, that even Hemsworth — who was walking a few steps in front — was too late as he tried to pull his wife out of harm’s way.

Cyrus is manhandled by a crazed fan outside her Barcelona hotel. (Twitter)

A source told E! News that the singer was understandably shaken up over the incident. While she “always respects her fans’ enthusiasm,” the source said that Cyrus was “certainly unsettled by this” but she is “doing fine now.”

Miley Cyrus performs at the Orange Warsaw Festival on June 1. (PA/AAP)

Loyal fans were quick to condemn the actions of the fan as they showered Cyrus with well wishes on social media. Meanwhile, Cyrus’ good friend and The Voice Australia coach Boy George wasn’t so forgiving as he weighed in on the incident on Twitter.

“@MileyCyrus is steaming hot but don’t touch people,” the 57-year-old music legend warned.

Cyrus was in Barcelona this past week for the Primavera Sound Festival, where she performed over the weekend along with fellow stars Cardi B, Solange and Future.