Pain and his partner Konan, arrived on the outskirts of Konoha and eliminated all of the village's scouts. As the village was surrounded by a detection barrier, Pain's Animal Path was sent in to the village alone to fool the Barrier Team, leading Konoha to believe there was only one invader. After infiltrating the village, the Animal Path summoned Konan and Pain's other five bodies to its location, where they dispersed.
The Animal Path, the Asura Path, and the Preta Path acted as diversions. The Animal Path summoned a variety of creatures to draw Konoha's attention. The Asura Path used its many weapons to wreak havoc and destroy most of the village. The Preta Path engaged whatever forces it came upon. Konan, the Deva Path, the Human Path, and the Naraka Path dedicated their efforts to finding Naruto. The Human Path read the villagers' minds. The Naraka Path asked those he encountered what they knew and then used its abilities to see who was lying. Konan and the Deva Path used the threat of death to find out what they wanted.
In the initial phase of the attack, Konoha mobilized its forces, expecting only one intruder. Once it became apparent that there was more than one attacker, the village switched tactics, focusing in on the diversionary Paths. The ordinary citizens and those that had been injured in the initial wave fled to the Konoha hospital. Sakura Haruno provided defense for the hospital and healed what injuries she could. Tsunade, the Fifth Hokage, instructed Kōsuke to call back Naruto. Danzō, having other plans, killed Kōsuke to keep Naruto from returning. From the roof of the Hokage Residence, Tsunade summoned Katsuyu. Tsunade then had Katsuyu divide, seek out, and adhere to every villager so that she could tend to the entire village remotely.
Kakashi Hatake, recognizing Pain's plan, engaged the Deva Path in battle. The Asura Path came to the Deva Path's defense. Although Kakashi was able to defeat the Asura Path, he could not defeat the Deva Path as well. He had Chōji Akimichi, who he had fought beside, take knowledge of the Deva Path's abilities to Tsunade while he bought time. While Chōji informed Tsunade of what they had learned, Kakashi died from exhaustion from using the Mangekyō Sharingan to protect Chōji from Asura Path's missile.
Across the village, Konan and Pain's remaining bodies began attracting the attention of Konoha's defenders. The Animal and Preta Paths then switched objectives. The Animal Path assaulted the location where Jiraiya's prisoner was being held and tried to eliminate everyone at the location. The Preta Path found and disposed of the body (and its chakra receivers) that Jiraiya had captured. The Deva Path located and spoke with Tsunade, but became irritated by her words. When the Human Path capturedShizune, Pain was able to discover where Naruto was.
The Deva Path had Konan and the remaining Paths evacuate while it used a large-scale Shinra Tensei to destroy the village and teach Tsunade "true pain." In a brief moment between when the destruction began and when it was completed, Tsunade had the remaining Katsuyu copies shielded the hospital. Tsunade also dedicated what was left of her chakra to keeping the villagers safe. In the wake of the destruction, all that remained of Konoha was a large crater, the Hokage Monument, and huge amounts of debris, ruins, and half-destroyed infrastructures.
Shima, having been near Konoha, noticed that something was wrong. In unison with the village's destruction, she summoned Naruto,Gamabunta, Gamaken, Gamahiro, Gamakichi, and Fukasaku to the village's center. When the dust cleared, Pain and his six bodies (the Asura Path having been restored by the Naraka Path), gathered to face Naruto. After viewing the full scale of the destruction and the scope of the damage, Naruto instructed the rest of the villagers not to interfere with the fight.
While the Deva Path's abilities were recovering from its massive attack, Naruto used his new senjutsu techniques to defeat the other five bodies. Before he could begin fighting the Deva Path, its powers returned. He got rid of Naruto's toad allies and captured him, rendering him immobile with its Chakra Disruption Blades. Defying Naruto's orders, Hinata Hyūga came to his aid, and was struck down and appeared to have been killed, all after revealing her feelings for Naruto. Naruto, in a fit of rage, erupted into his six-tailed transformation.
With the transformation, Naruto gave in to the Nine-Tails' animal instincts in return for power and freed himself from the Deva Path'sChakra Disruption Blades. After charging a Six-Tailed Fox Menacing Ball, Pain diverted Naruto's attack ,causing another massive explosion to shake Konoha. Needing more chakra to face Naruto's new form, the Deva Path moved to a location closer to Konan andNagato, Pain's true body. Naruto pursued him, finally giving the village a chance to regroup and tend to the wounded. After getting close enough to Nagato, the Deva Path performed Chibaku Tensei, nearly capturing Naruto in a large, floating sphere of earth. This pushed him into the eight-tailed transformation eventually breaking out of the trap.
After delving into his mind and resealing the Nine-Tails, Naruto exited the transformation and prepared to face the Deva Path again. Knowing that its abilities needed 5 seconds to recharge, Naruto used an elaborate array of backup plans to eventually defeat the final path with a Rasengan to the chest. After winning the battle, Naruto went to meet with Nagato. A skeptical Nagato berated Naruto for trying to stop his plans for peace, despite not even having an alternative plan. Upon hearing Nagato's story and realizing how hatred gave birth to Pain, Naruto decided to have faith in their teacher's teachings and not kill Nagato. Nagato, believing that Naruto would be able to find peace, revived all the people killed during the invasion, sacrificing his own life to do so.