A man woke up after a boozy night to discover his penis had been hacked off — and he had no idea how it happened, it’s reported.

Tan Nan had allegedly been out with friends in Hunan, southern China when he became so drunk he fell asleep, according to local media reports.

When he came round the following morning he felt a sharp pain in his groin, then noticed his genitals had been chopped off, reported Chinese-language local paper STEN. Police are now investigating the bizarre case.

Nan allegedly told cops he had no idea who was responsible for the cruel prank.

According to the Sanxiang Metropolis Daily, the 44-year-old from Huaihua, Hunan, was bleeding profusely but several hospitals apparently turned him away as they were not equipped for such an operation.

Finally, he was taken to Changsha Hospital and treated by microsurgery experts, according to reports.

Local media reported that Dr. Wu Panfeng, who treated Nan, said usually parts of the body that had been amputated should be kept in a dry, refrigerated manner.

After seven hours of surgery, his manhood was reported to have been successfully reattached.

Now he is recovering and doing well, medics have said.