A man in Thailand suffered huge blood loss after a python sank its fangs into his penis while he was sitting on the toilet.

Atthaporn Boonmakchuay tried desperately to break free after the huge snake attacked in the bathroom of his home in Chachoengsao, east of the capital Bangkok.

The 38-year-old reportedly reached down with his hand after feeling a sharp bite - only to discover the serpent's jaws clamped around the tip of his penis.

Aftermath: A man in Thailand suffered huge blood loss after a python sank its fangs into his penis while he was sitting on the toilet

Gruesome: Atthaporn Boonmakchuay tried desperately to break free after the huge snake attacked in the bathroom of his home in Chachoengsao, east of the capital Bangkok

Atthaporn screamed out for his wife as he thrashed around trying to dislodge the 11ft python.

Moments before collapsing, he managed to tie rope around the snake's head and tie it to the bathroom door.

But he was rushed to hospital after suffering horrific blood loss in the ordeal.

Footage shows emergency crews trying to ease the python out of pipes under the toilet and using hammers to smash it free.

Recovery: Atthaporn Boonmakchuay (pictured) screamed out for his wife as he thrashed around trying to dislodge the python

Terrifying: There are reports that the snake had swam up pipes to the house before emerging in the bathroom

Discovery: The 11ft python was found by emergency crews jammed up in the pipes leading to the victim's toilet

Rescue: The reptile was then made safe and placed in a bag ahead of being released back in wild, local media reported

The reptile was then made safe and placed in a bag ahead of being released back in wild, according to Bangpakong News.

There are reports that the snake had swam up pipes to the house before emerging in the bathroom.