Lisbeth (Noomi Rapace) is airlifted to a hospital in Gothenburg. Surgeons remove bullets from her shoulder, hip, and head, where Zalachenko shot her. In the hospital, she meets Dr. Jonasson (Askel Morisse), who cares for her throughout her stay, preventing anyone except her lawyer from visiting. Niedermann (Micke Spreitz) is a fugitive, wanted for killing a police officer. A man named Evert Gullberg (Hans Alfredson) meets with his former colleague of 35 years, Fredrik Clinton (Lennart Hjulström); the two decide that they must silence Zalachenko and Lisbeth.
Zalachenko (Georgi Staykov) is still alive, in a hospital room down the hall from Lisbeth. Zala is met by a member of the "Section", a group within the Secret Police, to decide how to conceal his existence. Zala puts all the blame on Niedermann, saying he is just an old man but threatens that if he were to be convicted, he would spill everything to the police and media, and also that Lisbeth must disappear.
Mikael (Michael Nyqvist) asks his sister, Annika (Annika Hallin), to be Lisbeth's lawyer, as she is accused of attempted murder. Evert Gullberg arrives at the hospital at the same time as Annika, passing right by her. He then tells Zalachenko that they will not help him, before shooting him in the head. Annika saves Lisbeth by barricading the door to Lisbeth's room, preventing Evert from killing her too, and he shoots himself. Afterward, police are soon put outside Lisbeth's room, and Fredrik visits the Section headquarters to confirm that Evert shot Zalachenko, stating that he had chosen to do a final job because he had liver cancer. Fredrik visits Dr. Peter Teleborian (Anders Ahlbom), and explains his plan to punish her for trying to kill Zalachenko by having her committed to St. Stephen's mental hospital again. Teleborian tries to meet with Lisbeth, to make a psychological evaluation, but Dr. Jonasson denies him entry and insists he make the necessary official requests.
Mikael and Annika lose both copies of the Björck investigation files, files needed to prove that Lisbeth was in fact being punished by corrupt men of law, as they were stolen under orders from Fredrik. Mikael then calls Milton Security in desperation. Meanwhile, a representative from the Section speaks to the Prosecutor Ekström, stating that if Zalachenko's secrets were to come out in the case, relations with foreign countries and Sapo's secret contacts would be ruined, and that there are many useful background facts about the case, including her previously attempted patricide, that would help convict her.
The Millennium team work to find out more about the Section, but find it difficult since many of the politicians and Sapo workers would have leaked information about it in their autobiographies. Mikael then decides to uncover more information on Gullberg to find out more about the Section. Mikael tells Jonasson the conspiracy against Lisbeth. He finds it unlikely, but Mikael assures Jonasson that it is true. Mikael then convinces him to sneak in her internet phone. Upon receiving her phone, Lisbeth immediately contacts Plague to see if he can find information on Teleborian, and then tells Mikael that Annika has permission to use the rape video in the case if necessary. At the office the next day, Christer finds out that Evert Gullberg and a man named Hans von Rotting visited the Prime Minister in 1976. Mikael decides to visit one of the secretaries, Bang Janeryd, and shows him the files. He says he had no idea what Zalachenko was doing, and that he wants nothing to do with the trial. Mikael forces him to either have his involvement revealed or tell Mikael what he knows and become a confidential source. He confirms that Gullberg and Rotting had visited the Prime Minister, as well as Fredrik Clinton. He tells Mikael that Zalachenko had cooperated with them and gave them invaluable information, and that everything was to be top secret at the time.
Plague contacts Lisbeth, and tells her that he did not find anything on Teleborian's work computer. She then suggests that he hack into his personal computer. He will do it, regardless of the difficulty. Later, a woman named Monica Figuerola of the police asks Mikael to meet with her and her boss Torsten Edklinth. They say that there is in fact an underground crime group that is involved with the government, and that Torsten's meeting with the Prime Minister resulted in a full investigation. They also inform Mikael that they need time to identify those involved, and that he must print the magazine after the investigation is over, because if not, it will be put in jeopardy. They are also aware of the torture Lisbeth was subjected to. Mikael then gives them a few of the names of those involved.
Lisbeth starts working on an autobiography to tell her story to Mikael. She continues to have nightmares of memories about her time at St. Stephen's, her father and half-brother, and of her rape by Bjurman. When she wakes up, Niedermann is outside of her window, and aims at her with a gun, but she moves out of his view before he shoots. Mikael continues his story, and then follows Teleborian, with Christer's help. They also follow the Section member he is meeting with, which leads to a flat that Fredrik Clinton had been to four hours before. Lisbeth finishes her autobiography and sends it to Mikael, and Jonasson informs Lisbeth he can stall no longer and she will be taken away in a couple of days. Jonasson is surprised that she is not worried about the trial. Mikael finishes his story as well.
Sonny, of the motorcycle gang from the previous film, is informed that he was searched, but found clean, and that his friend had sent Niedermann to hide out in his home. There, he finds his brother dead and his girlfriend tied, gagged, and apparently assaulted. She tells him that Niedermann was the culprit, and Sonny vows revenge. Fredrik, in dialysis, is given a copy of Lisbeth's autobiography, and is told that none of it can be proven. Meanwhile, Erika has been receiving anonymous hate mail, which causes an uproar in the office. Lisbeth is interrogated by the prosecutor, and says nothing. Annika is later given Lisbeth's computer and the DVD, which she watches. Niedermann breaks into an abandoned warehouse, and kills a witness, a random biker. Erika has been receiving more hate mail, as she and the whole office is being spied on by the Section. Teleborian meets with Lisbeth, and again remains silent.
Erika's bedroom window has been smashed, and she, in desperation, has called Milton Security. Mikael meets up with the owner, and is informed of this, and that someone had broken into his apartment and smuggled cocaine and cash there. The owner concludes that they are trying to frame him, since they cannot hurt the newspaper. The police find that Jonas (the Section member Teleborian had met with) had met up with the Nikolic brothers, sharpshooters in the Civil War and the ones who are pursuing the members of Millennium. Mikael decides to meet with Erika at a restaurant names "Samir's Gryta". The police try to warn Mikael that they will attempt to kill them there, but Mikael had left his phone at the office. They call the restaurant, and Mikael, in an attempt to answer the phone, runs into one of the brothers, who pulls out a gun. Mikael fends him off as the police hurry towards the restaurant. Figuerola arrives with the police and recognizes the other brother waiting in a car outside the restaurant, and arrests them both. The Section is dismayed when they find that the two brothers had failed their job.
At court, Lisbeth enters with piercings, a mohawk hairstyle, black makeup, and dark clothing. As the court procession proceeds, Mikael decides to print the magazine. Mikael visits Erika, who is being monitored by police, to say that he had gone against her decision to not print the magazine. Teleborian heads into court, stating that her autobiography is entirely incredible, that it includes allegations against many people, and based on her paranoid schizophrenia. Annika lashes back by demolishing Teleborian's credibility, where he states that she was restrained at St. Stephen's for a few days, when in reality, she had been restrained for 381 days. She uses Lisbeth's word and files from the hospital to prove this. The judge does not accept old files as proof against Teleborian's credibility. Afterward, Plague follows Teleborian up to his hotel. From the lobby he is able to use wireless internet to hack Teleborian's computer, and catches him looking at child pornography. Plague makes a full copy of the computer, which he soon gives to Mikael, who passes on the information to Annika and the police. In court, Annika shows the video proving Bjurman raped Lisbeth, and showing her statements were completely true.
As Annika presents her case, the police arrest the people involved with the Section and seize their place of operation. She proves that Teleborian had confined Lisbeth to an institution as punishment for setting her father on fire. She proves that he wants to detain Lisbeth at St. Stephen's once more. Annika calls Mikael to the stand and states that Teleborian had written his psychiatric opinions before he had even been allowed to interview Lisbeth. Then Annika calls Edklinth to the stand, and he states that the opinions were formulated in cooperation with Jonas Sandberg, using his computer as proof. Teleborian is left speechless. Edklinth tells Teleborian he is to be arrested, on charges of possessing over 9,000 items of child pornography, and his computer seized as evidence. After Teleborian is arrested, the court then decides that Lisbeth has no further need to been detained in custody.
The Millennium workers celebrate their victory, with Erika returning. Lisbeth is encouraged by Annika to check the property she has inherited from Zala and is led to the warehouse where Niedermann was hiding. Niedermann attempts to trap her in the warehouse and kill her, but she is too fast for him. Lisbeth using a nail gun to trap Niedermann, nailing him to the floor. She considers nailing him in the head but runs out of nails. Upon leaving, Lisabeth instead phones Sonny and tells the bikers where to find Niedermann, and then she calls the police after the bikers arrive.
Lisbeth returns home, Mikael briefly visits her to tell that the motorcycle gang killed Niedermann and were arrested soon after. They talk in the door opening. Lisbeth nods without telling him that she made it happen. She thanks him for everything, he thanks back. They don't have more to say, but agrees in a hurry to stay in touch when Mikael is about to leave.
You can send in your spoiler to other movies by going here.