Why doesn’t Gandalf use more magic in The Lord of the Rings?

The Fellowship of the Ring, Tolkien’s Unfinished Tales and Letter 156. Spoilers through the Bridge of Khazad-dûm, with a brief comparison to Peter Jackson’s film.
Gandalf lights a fire on Caradhras and immediately worries that it will give him away. In Moria, even trying to hold one door shut almost overwhelms him.
What holds Gandalf back?
The Istari were sent to help the free peoples resist Sauron by advising and encouraging them. They were forbidden to impose their will on those allies through displays of power. Gandalf still intervenes directly when the Fellowship needs a fire, time to get away or someone to stop the Balrog. [1][2][3]
A small fire gives the wizard away on Caradhras
The Fellowship cannot get a fire going by ordinary means on the snowy slope. Gandalf uses his staff and a few words to set the wood alight. He then remarks that he has announced his presence to anyone capable of reading such a sign. A wizard trying to cross the mountains quietly has just left his signature on the landscape. [1]
That remark tells us there is a risk of being detected. It does not establish that Sauron automatically senses every spell, whatever the type or distance. Gandalf is talking about this particular thing he did and about an observer who could recognise it. Even a small fire can be useful and costly at the same time. [1]

One word opens the Doors of Durin
Gandalf tries a string of spells at the West-gate. The breakthrough comes when he reads the inscription as an instruction to say the word friend. He says mellon, Sindarin for friend, and the doors open. The right password succeeds where the spells failed. [1]
In Moria, even a useful spell has a cost
After the fight at Balin’s tomb, Gandalf uses a shutting-spell to delay the pursuers. Something on the other side answers with a counter-spell. His attempt buys time for the company, but the struggle exhausts him and the door gives way. At that point he still does not know exactly what he is up against. [1]
On the bridge he faces the Balrog directly. Gandalf strikes the bridge with his staff and the stone breaks beneath the creature. The Balrog’s whip still drags him down with it. Those two scenes make it hard to reduce power to a single scale. Holding a door, delaying an enemy and stopping its advance across a narrow bridge are very different jobs. [1]

The Istari were sent to help the free peoples
In The Istari, Tolkien explains that the wizards were sent in the shape of Men. They were to offer counsel, encourage the free peoples and help unite them against Sauron. They were forbidden to dominate their wills through open displays of power. The purpose of the restriction matters: their allies still have to choose and act for themselves. [2][3][4]
Try grouping Gandalf’s interventions by whom they allow to act. The fire gives the group a chance to survive the slope. The shutting-spell gives them time to withdraw. The stand on the bridge lets them escape. That is a way of reading these particular scenes. Tolkien gives us no checklist of approved spells for each encounter. [1][2]
What the film changes on Caradhras and in Moria
Jackson’s film directly connects the storm on Caradhras to Saruman. Tolkien’s characters disagree about what causes it. The film also skips Gandalf’s struggle over the door behind Balin’s tomb and focuses on the Balrog at the bridge. The book gives us more of the smaller interventions and shows what they cost him. [1][5]
Common questions
Can Sauron sense every spell Gandalf casts?
Caradhras shows Gandalf worrying that a specific action might be recognised. The scene does not establish that every spell is automatically detected. [1]
Can Gandalf only match an opponent’s level of power?
The Istari’s mission sets limits on how they are supposed to help. It gives no numerical rule for the amount of force a wizard can use in a duel. [2][3]
Does Gandalf need his staff to cast every spell?
His staff matters in several scenes. The Doors of Durin open to a password, which is a property of the doors themselves. Neither detail establishes a universal rule. [1]
Did Gandalf avoid magic on Caradhras because of Sauron?
He does light a fire with magic. His warning is that this particular action can give him away to someone who knows how to recognise it. [1]
Where will your next adventure lead?
Sources and further reading
- J. R. R. Tolkien, The Fellowship of the Ring, Book II, chapters 3–5
- J. R. R. Tolkien, Unfinished Tales, Part Four, The Istari
- J. R. R. Tolkien, The Letters of J. R. R. Tolkien, no. 156, to Robert Murray
- Tolkien Estate, Christopher Tolkien’s introduction to Unfinished Tales
- Peter Jackson, The Lord of the Rings: The Fellowship of the Ring (2001), Caradhras and Moria