He robbed a hot dog stand — then accidentally shot himself in the wiener!

A clumsy Chicago crook gave himself the shaft when he tried to stuff a gun in his pocket and it discharged, shooting him in the junk, according to a report Friday.

Terrion Pouncy, 19, barged into a restaurant, Original Maxwell Street Polish on the city’s South Side, with a scarf over his face Tuesday, according to the Chicago Tribune.

The ballsy bandit allegedly whipped out a small-caliber pistol and demanded cash from the register, the paper reported, citing court documents. He then allegedly snatched a cellphone and wallet from a 39-year-old worker’s pocket.

But the stick-up kid’s escape didn’t cut the mustard.

He tried to stuff the pistol in his pants pocket while running away, but it prematurely discharged twice — shooting him in the right thigh and penis, the paper reported.

The teen stumbled to a vacant car wash with his mangled manhood and was forced to call 911 for help, according to the report.

He was rushed to a hospital — and now faces two counts of armed robbery with a firearm.

Police soon suspected Pouncy was the bandit behind the hot dog shop heist, which was caught on camera, the paper reported.

The 39-year-old employee later found his wallet — near the spot where the thief had accidentally shot himself, according to the report.

On Tuesday, Judge Stephanie Miller ordered Pouncy held without bail, pending a hearing.