Beyonce's hair got caught in a spinning fan near the stage as she performed at a show in Montreal.

Superstar Beyoncé found herself caught in a real-life emergency after her hair got caught in a stage fan during her Mrs Carter tour.

The 31-year-old singer was belting out a rendition of her hit Halo at a show in Montreal when her curly locks became entangled in the blades of the appliance.

In a video posted on her Instagram page, the Single Ladies hitmaker can be seen being taken by surprise after getting too close to the fan and struggling.

Within seconds her crew rushed to her aid while a bodyguard can be seen attempting to free her.

Ever the professional, Queen B continued singing the rest of the song despite the potentially dangerous situation.

Although she appeared shocked momentarily while trapped, the songstress, who is married to Jay Z, managed to make light of the situation.

She later addressed the incident by posting a song for the fan on Instagram - to the melody of "Halo".

"Gravity can't begiiiiiin, to pull me out of the fan again.

I felt my hair was yankiiiiiin , From the fan that's always hatiiiiin", the lyrics read.

"Virgin Remy & Malaysiiiiiaaaaaaannnn, Haaaaaaaaaaaaaaaaaa!

"I got snatched, 2 snaps

"Goodnight All, B".

Beyonce is in the middle of the North American leg of her Mrs Carter Show world tour.