Plot
Convicted murderer Seth Baxter wakes up chained to a table beneath a pendulum blade. He is told that he can release himself by crushing his hands between two presses. He does so, but the blade still bisects him as someone watches through a hole in the wall.
FBI agent Peter Strahm escapes from the room he was locked in by Detective Hoffman. He is then attacked by a figure in a pig mask and wakes up with his head sealed in a box that is quickly filling with water. Outside, Hoffman delivers Corbett, the kidnapped daughter of Jeff, to the police and claims they are the only survivors. Strahm, having survived the trap by performing a tracheotomy with his pen, is brought out alive as well.
Hoffman is promoted and credited with closing the Jigsaw case. Hoffman later finds a note in his office reading "I know who you are", and learns of Agent Lindsey Perez's death while taking Strahm's cell phone from the police evidence room. At the hospital, Strahm tells Hoffman that Perez's last words were "Detective Hoffman" and questions how he escaped the plant. After being put on medical leave by his boss, Agent Dan Erickson, Strahm, suspicious of Hoffman, decides to uncover his involvement with Jigsaw and takes case files of past Jigsaw victims to research them.
In an underground sewer, Ashley, Brit, Charles, Luba and Mallick awaken with collars locked around their necks, connected by cables to a set of blades mounted on the wall behind them. The keys to the collars are in individual glass boxes across the room. A videotape says that they are all connected and that they must "do the opposite" of their instincts if they are all to survive the tests ahead of them. Ashley fails to retrieve the key and gets decapitated. In the second room, which is filled with explosives on a timer, Charles first attacks Mallick and then Luba, but she, Brit, and Mallick each retrieve keys to bomb shelters set in the walls. Charles is left to die when the timer expires and the explosives detonate.
Strahm learns that Hoffman killed Seth Baxter, who had killed Hoffman's sister, years prior. John Kramer abducted Hoffman after the fact and blackmailed him into helping him set up his future "games."
In the third room, Brit kills Luba before she and Mallick put her corpse in a bathtub and connect it to five cables to complete an electric circuit that unlocks the next door.
John's ex-wife Jill Tuck claims Strahm is stalking her. Strahm concludes that everyone was meant to die at the plant except for Corbett and Hoffman. After Hoffman tells Erickson about Strahm's theory of a second Jigsaw accomplice, Erickson tries to call him. Hoffman answers on Strahm's phone and hangs up. Erickson has one of his agents track the phone's signal.
In the final room, Mallick and Brit find a machine fitted with five saws and a beaker requiring ten pints of blood to open the final door. They realize that all prior tests could have been completed without casualties if they had worked together (In Room 1, all keys were the same and 1 could unlock any of the collars, in Room 2, there was room for 2 people in each of the 3 bomb shelter, in Room 3, everyone was supposed to grab one of the electronic devices and suffer a small shock at the same time to unlock the door, and Room 4, everyone needed to provide at least 2 pints of blood.) They figured out their connection: they were all involved in a building fire that killed eight people. Mallick and Brit concede a truce and each slice an arm in the saws to provide the blood needed to open the final door. Mallick sacrifices himself as he allows his arm to be cut in half, saving Brit from the worst of it.
Following the signal to the sewer observation room, Erickson finds the phone and his own personnel file, both planted by Hoffman. He also finds the still-living Brit and Mallick and calls for medical attention, before putting an all-points bulletin on Strahm, convinced that he is Jigsaw's successor. Meanwhile, Strahm follows Hoffman to the renovated nerve gas house and finds a tape in a room with a box filled with broken glass. The tape is a message from Hoffman urging Strahm to enter the box, but Strahm stops it short and ambushes Hoffman, whom he seals in the box. Strahm believes he has finally caught Hoffman, but the door to the room shuts itself and the walls begin to close in as the box is lowered beneath the floor. Strahm finishes playing the tape, which says that if he does not enter the box, he will die and be framed as Jigsaw's apprentice. Safe inside the box, Hoffman watches as Strahm unsuccessfully tries to escape the room and is crushed to death.