The connecting record
statedThe Two Towers
Gandalf killed Durin's Bane in The Two Towers.
The Battle of the Peak, told afterwards by Gandalf himself: he threw down his enemy from the top of Zirakzigil, and it broke the mountain side where it fell. The second film shows the fight.
What each of them is ranked on
The killer · Gandalf · rank 7
Mithrandir, Olórin
Held the Bridge of Khazad-dûm against the Balrog, broke its sword with Glamdring, and broke the bridge under it. The whip dragged him down, and he chased the thing through the roots of the mountain and up the Endless Stair. He threw it down from the peak, and then died. He won that fight as a wizard sent in an old man's body, under orders to stay humble, and it is what puts him above every Elf. Sent back as the White, he broke Saruman's staff with one sentence at Orthanc. In the extended film the Witch-king breaks his staff in the streets of Minas Tirith. In the book he stops the Witch-king under the arch, and Rohan's horns sound before a blow is struck.
shownThe Fellowship of the Ring · Book II ch. 5 “The Bridge of Khazad-dûm”
On the bridge, Glamdring meets the Balrog's flaming sword, and the Balrog's sword flies up in molten fragments.
shownThe Fellowship of the Ring · Book II ch. 5 “The Bridge of Khazad-dûm”
Smites the bridge with his staff, which breaks; the bridge cracks at the Balrog's feet and it falls, lashing its whip about his knees and dragging him after it.
statedThe Two Towers · Book III ch. 5 “The White Rider”
Tells how he threw down his enemy from the peak, and then darkness took him, and he was sent back naked for a brief time until his task is done.
All 8 citations
statedThe Two Towers · Book III ch. 5 “The White Rider”
Says he is very dangerous, more dangerous than anything they will ever meet unless brought alive before the seat of the Dark Lord.
statedThe Lord of the Rings, Appendix B · The Tale of Years, headnote to The Third Age
The Istari were forbidden to match Sauron's power with power, or to dominate Elves or Men by force and fear, and came in the shape of Men.
shownThe Return of the King · Book V ch. 4 “The Siege of Gondor”
Alone on Shadowfax before the broken Gate, he orders the Lord of the Nazgûl back; the Witch-king raises his sword, and the horns of Rohan sound before any blow falls.
shownThe Fellowship of the Ring (film) · The Bridge of Khazad-dûm
Breaks the bridge under the Balrog with his staff after the line “You shall not pass!” and is dragged down by its whip.
shownThe Return of the King (film) · Extended edition, the Witch-king at Minas Tirith
The Witch-king breaks Gandalf's staff, and the horns of Rohan sound before he can strike Gandalf down.
The victim · Durin's Bane · rank 8
the Balrog of Moria
Woken by Dwarves digging too deep for mithril, it killed King Durin VI, then his son Náin a year later, and emptied Moria. It had lain hidden under the mountains since it fled the fall of Thangorodrim at the end of the First Age. No Dwarf held Moria for long again in that age. On the bridge it met an opponent of its own order and lost its sword at the first stroke. It then fought him under the mountain and up to the peak, and took him down to death with it.
statedThe Lord of the Rings, Appendix A · III “Durin's Folk”
Roused from sleep by Dwarves delving for mithril, a Balrog of Morgoth that had lain hidden since it fled Thangorodrim; Durin was slain by it, and the year after Náin I his son.
shownThe Fellowship of the Ring · Book II ch. 5 “The Bridge of Khazad-dûm”
On the bridge, its flaming sword breaks into molten fragments against Glamdring.
shownThe Fellowship of the Ring · Book II ch. 5 “The Bridge of Khazad-dûm”
As the bridge breaks beneath it, swings its whip about Gandalf's knees and drags him into the chasm.
All 5 citations
statedThe Two Towers · Book III ch. 5 “The White Rider”
Gandalf tells of fighting it on the peak of Zirakzigil, where lightning was seen and the ice fell like rain, until he threw it down.
shownThe Two Towers (film) · Opening, the fall into Moria
Fights Gandalf in free fall through the chasm under the bridge.
What this does not settle
One death in one work. It is the only place the record puts these two in the same room, and it is evidence about that meeting and nothing wider — not a general matchup, not a rematch, and not a ranking of its own.
The ranking is argued from everything either of them has been shown doing; this page is argued from one citation.
Where the two disagree, the disagreement is the point, and it stays visible rather than being resolved by whichever of them happens to be on this page.