Plot
While hosting a lavish orgy at his mansion, hedonistic millionaire investor, art collector and socialite Roland Voight invites sex worker Joey Coscuna to solve a mysterious mechanical puzzle box, which then springs a blade that cuts Joey and opens a portal to another dimension, from which chains fly out and rip him apart.
Six years later, recovering drug addict Riley McKendry lives with her estranged brother Matt, his boyfriend Colin, and their roommate Nora. Riley and her boyfriend Trevor discover the puzzle box in an abandoned storage warehouse. Returning home late, Riley storms out following an argument with Matt after he accuses her of relapsing. At an empty park, she solves the puzzle but misses being cut by the blade. The Cenobites, a group of mutilated humanoids, appear and demand another sacrifice. Matt, feeling guilty about his strained relationship with Riley, finds her incapacitated and inadvertently cuts himself on the box while attempting to awaken her. He enters a nearby restroom to clean his wound but then experiences a headache. Outside, Riley notices the box changing shapes before she hears Matt screaming, finding him missing upon entering the bathroom.
Believing the box caused Matt's disappearance, Riley and Trevor track down Voight's former lawyer Serena Menaker at an assisted living facility. Having concealed it in the warehouse, Menaker attempts to confiscate the box from Riley but is cut by the blade and later abducted by the Cenobites. Visiting Voight's abandoned mansion, Riley discovers from his journals that each of the box's 6 configurations require a victim to be marked for sacrifice by its blade. On completion, the holder receives a "gift" from Leviathan, the entity that rules over Hell. Riley sees an apparition of Matt and is horrified to discover he has been flayed.
Colin, Trevor and Nora arrive in Trevor's van to take Riley home. While Riley explains her findings to Colin, Nora hits a switch in the bar that opens a secret passage. Trevor inadvertently shuts the door, trapping her inside the passage, and as he attempts to rescue her, the mutilated Voight, concealed inside the walls, stabs her with the box. The group escapes the mansion to seek help, but the Cenobites abduct Nora, who is taunted, tortured, and fatally flayed in a decrepit hallway by their leader, the Priest. The van crashes after Riley sees a reflection of Nora's torture in the rearview mirror, whereupon the Priest appears. After Riley refuses the Priest's offer to exchange Matt for two sacrifices, she is ordered to sacrifice either two people or herself. After a Cenobite known as the Chatterer injures Trevor, Riley solves the next configuration and stabs the Chatterer, who is ripped apart as the next sacrifice.
The trio retreats to the mansion, realizing the steel doors will bar the Cenobites from entering. Leaving Trevor to rest, Riley and Colin plan to trap a Cenobite known as the Asphyx as the last sacrifice, but she drops the box. Voight appears, picks it up, and stabs Colin, revealing that he sought "sensation" after completing all of his sacrifices, but instead, a contraption was attached to him that randomly twists his nerve endings. He privately speaks with Trevor, revealing he employed him to locate suitable humans, then completes the final configuration and traps the Cenobites, demanding they ask Leviathan to free him. While Leviathan appears above the mansion, Riley retrieves the box, unlocks the steel doors, and rescues Colin from torture by stabbing Trevor, marking him as the final sacrifice. Meanwhile, the Priest warns Voight that his reward can only be exchanged and not revoked; he accepts her offer of "power" and is released from his contraption and healed, only for Leviathan to immediately impale him with a large chain and lift him away.
With the sacrifices completed, the Cenobites offer to resurrect Matt. Riley declines, realizing their gifts will bring pain, and decides to accept Matt's death. After the Cenobites accept her choice of the Lament Configuration, a life of regret with bitter and brief suffering, they vanish and the box resumes its cube configuration. As the duo leaves the mansion, Colin asks a silent Riley if her choice was justified; meanwhile, inside Leviathan's realm, Voight is brutally transformed into a new Cenobite.