A student is fighting for his life after jumping off the roof of a two-storey house at a large Dunedin flat party last night.

Dunedin District Command Centre Senior Sergeant Brian Benn said the 21-year-old was seriously injured after an aerial stunt at the Pitt St party went wrong.

He said the man jumped from the roof but failed to land safely.

"You could say alcohol was a factor," said Mr Benn.

Advertisement

St John ambulance spokesman Andy Gray said by the time the student reached Dunedin Hospital his condition had deteriorated to "critical" and he was suffering life threatening injuries.

Mr Benn said police were initially called by ambulance to help navigate the drunken partygoers but the party resumed and they returned to the residence a couple of hours later to deal with a noise complaint.