A Bronx man was subjected to hellish torture that saw a gun forced into his mouth, a lighter stuck in his face and death threats against his family during a days-long nightmare in a bodega basement, prosecutors allege.

The 49-year-old survivor was freed by chance early Wednesday when two cops scoured the deli for suspects in a minor pot-smoking offense and stumbled on the captive man, putting an end to his horror-movie-worthy ordeal.

“This is a 9mm. I can blow your head off right now,” one of the man’s four captors purportedly sneered as he forced the gun’s barrel into the victim’s mouth in an apparent beef over money. “This is not a joke.”

The torment was revealed in documents filed Wednesday at the Bronx criminal court arraignment of Orinthia Gifford, the owner of the Bussing Avenue bodega where most of the sick saga allegedly played out.

On Sept. 7, Gifford and three male goons allegedly beat the victim in another Bronx bodega, forced him into a car and drove him to the “Deli ‘n’ Grocery With a Difference” at the corner of Bussing and Digney avenues in Wakefield, according to the criminal complaint.

“You want to thief people’s money,” Gifford, 49, said as her three un-apprehended henchmen marched the victim down a trapdoor into the basement and began the horror, the complaint alleges.

As one man held a machete, another slapped the blade of a kitchen knife against the victim’s cheek, the complaint alleges.

One of the men then repeatedly battered the victim with the butt of a rifle, before the handgun was pulled out and stuffed into the victim’s mouth, according to the complaint.

“Give us our money!” one of the men allegedly shouted.

Next came a lighter, which one of the men allegedly waved toward the victim’s face as another encouraged, “Yo, burn him!”

Temporarily satisfied, the trio allegedly handcuffed the victim to a metal bar, vowing “No food, no water. You’re gonna s–t when I say you’re gonna s–t.”

Another man allegedly menaced, “I am going to rape your daughter, rape your wife, and kill your family. I’ve killed before in Jamaica.”

The victim’s hell came to an end around 2 a.m. Wednesday, when cops searching for two suspects on an unrelated case entered the deli and got worker Richard Millwood to let them into the basement, according to police.

They found the man battered but alive — though Millwood fled before he could be captured, according to cops.

Gifford, facing a slew of charges including kidnapping and assault, was held in lieu of $75,000 cash bail or $50,000 bond at her Thursday arraignment.