What Did Gandalf Actually Try as Passwords for Moria’s Gates?

What Did Gandalf Actually Try as Passwords for Moria's Gates?
Original conceptual illustration of an imagined scenario, not a recorded Tolkien event or production still.

The first words that failed

Gandalf’s first recorded attempt to open the West-gate of Moria is not a password in the ordinary sense. It is an Elvish command addressed directly to the entrance, asking the stone to open and heed his speech. This distinction matters because the scene is frequently remembered as a succession of unsuccessful passwords, when Tolkien actually presents something rather different: a wizard attempting to command a door whose proper means of entry he has misunderstood.

In The Fellowship of the Ring, Book II, Chapter 4, ‘A Journey in the Dark’, Tolkien records the invocation explicitly:

Annon edhellen, edro hi ammen!

Fennas nogothrim, lasto beth lammen!

The first line calls upon the Elvish gate to open now for the company. The second addresses the doorway of the Dwarven people, commanding it to listen to the word of Gandalf’s tongue. Both are meaningful sentences rather than arbitrary combinations of mysterious syllables.

The opening line is also the familiar first invocation associated with the West-gate sequence in Peter Jackson’s film adaptation. Its origin is Tolkien’s own writing, not an additional Elvish spell composed specifically for the screenplay.

The important feature of the invocation is its grammatical form. Gandalf is telling the entrance what to do. He is not supplying the particular word that the entrance requires. His subsequent efforts develop this same mistaken approach, and Tolkien records only a small portion of their actual wording.

What Did Gandalf Actually Try as Passwords for Moria's Gates?
Original conceptual illustration of an imagined scenario, not a recorded Tolkien event or production still.

What the Sindarin invocation actually means

The meaning of Gandalf’s words is unusually secure because Tolkien himself supplied a linguistic explanation. In Words, Phrases and Passages in Various Tongues in The Lord of the Rings, published in Parma Eldalamberon 17, Tolkien identifies the passage as an improvised verse invocation and provides both a translation and an analysis of its vocabulary. His explanation removes the need to reconstruct its meaning through speculative Elvish grammar.

The individual words of the first line are:

– annon: gate; – edhellen: Elvish; – edro: a command to open; – hi: now; – ammen: for us.

That final word deserves particular attention. Some circulating transcriptions of the film translate it as ‘for me’, but Tolkien’s own explanation establishes the plural meaning. Gandalf demands admission for the company, not merely for himself. The difference is small in English but significant when establishing what the original Sindarin actually says.

The second line is equally intelligible:

– fennas: doorway; – nogothrim: of the Dwarven people; – lasto: a command to listen; – beth: word; – lammen: of my tongue.

Tolkien explains that beth is a mutated form of peth, while the ending of lammen expresses first-person possession. He also discusses nogothrim as an unusual formation, possibly devised by Gandalf for the occasion. The ordinary collective name for the Dwarves in Sindarin was Naugrim.

These details establish something more interesting than a general translation. Gandalf has constructed an invocation appropriate to the identity of the entrance before him. He acknowledges both its Elvish character and its Dwarven ownership. The parallel descriptions introduce parallel imperatives: the gate must open, and the doorway must listen.

Nothing in Tolkien’s linguistic explanation identifies these words as an inherited password or a traditional formula originally established by the makers of the Doors of Durin. His description of the verse as improvised points in the opposite direction. Gandalf is composing an address suited to the circumstances.

What Did Gandalf Actually Try as Passwords for Moria's Gates?
Original conceptual illustration of an imagined scenario, not a recorded Tolkien event or production still.

An invocation addressed to stone

The physical action accompanying the words helps establish their function. Gandalf approaches the rock and touches the silver star beneath the emblem of the anvil with his staff. He then delivers the invocation authoritatively.

This is not the behaviour of someone merely reading possible passwords from a remembered list. Gandalf combines a gesture directed at the entrance with speech demanding a particular result. The grammar and the accompanying action belong together.

Tolkien makes the outcome unmistakable. The luminous markings disappear, but the stone itself remains stationary. Gandalf has not gained admission.

It would nevertheless be excessive to interpret the disappearance of the silver lines as proof that the invocation activated some defensive enchantment. Tolkien describes the observable sequence without providing a technical explanation of the relationship between the words and the fading inscription. There is no account here of magical energy being reflected, a hostile intelligence rejecting Gandalf, or a stronger spell overpowering his own.

The distinction is important because Gandalf encounters a very different problem later, at the Chamber of Mazarbul. That episode involves an attempt to secure a door and opposition to his spell. It cannot supply missing information about the mechanics of the West-gate merely because both incidents concern doors and magical language.

At the western entrance, the evidence is considerably narrower. Gandalf speaks; the entrance does not open. His words are correctly formed commands, but they fail to accomplish their intended purpose.

The scene therefore allows us to distinguish linguistic correctness from practical effectiveness. Gandalf has not failed because his Sindarin is demonstrably defective. Tolkien’s own translation confirms that the invocation says precisely the sort of thing Gandalf intends to say. The problem lies elsewhere.

What Did Gandalf Actually Try as Passwords for Moria's Gates?
Original conceptual illustration of an imagined scenario, not a recorded Tolkien event or production still.

The other attempts Tolkien does not transcribe

The two-line invocation is sometimes treated as though it were the first entry in a recoverable catalogue of Gandalf’s unsuccessful spells. The published chapter does not provide such a catalogue.

After the initial failure, Gandalf repeats and rearranges his words, introduces variations, attempts other spells and utters individual Elvish words. Tolkien describes an extended process of experimentation rather than preserving a complete record of its vocabulary.

The distinction between these activities should not be overlooked. Rearranging the invocation is different from introducing another spell, and neither necessarily amounts to proposing a password. Gandalf is trying several approaches whose exact relationship to one another remains unspecified.

Tolkien does preserve one particularly revealing fragment of the subsequent attempts: Edro, edro! The repetition amounts to an emphatic demand that the entrance open. Gandalf also issues the command in different languages, eventually raising his voice.

These later efforts confirm the character of the initial invocation. Gandalf continues to treat opening the entrance as something that might be achieved through the appropriate verbal command. Changing the language, arrangement or delivery of that command becomes part of his search for a solution.

But Tolkien does not identify every language employed, reproduce every variation or disclose the wording of the other spells. It would therefore be misleading to provide a reconstructed sequence of Sindarin, Quenya or Khuzdul formulas and present them as Gandalf’s actual words.

Nor does the reference to individual Elvish words establish what those words were. They might have included possible passwords, but the narrative does not identify them sufficiently for a reader to make that determination.

The complete answer to the question of what Gandalf said must consequently include an admission of incompleteness. We possess the opening invocation, a subsequent repeated imperative and a description of numerous other attempts. The intervening vocabulary is not recoverable from the published narrative.

Why the first film attempt sounds familiar

The first Sindarin invocation in Peter Jackson’s The Fellowship of the Ring is recognisable precisely because it comes from Tolkien. The adaptation preserves the opening command of the book’s verse rather than substituting an entirely new formula.

The dialogue transcription maintained by the Gwaith-i-Phethdain linguistic website identifies the first line in its section devoted to the Moria gate and marks the second line as extended-edition material. That transcription is useful evidence for the adaptation’s treatment of the passage, although its English rendering of ammen should be corrected against Tolkien’s own linguistic notes.

The appropriate translation remains an instruction to the Elvish gate to open immediately for the company. It is not a request for the gate to admit Gandalf alone.

There is also a reported Quenya element in the film dialogue. A publicly available transcription preserves fragments beginning with Ando Eldarinwa, followed by a lasta quettanya and Fenda Casarinwa. These belong to the adaptation’s reported verbal material, not to the explicit wording of the corresponding passage in Tolkien’s novel.

Their fragmentary preservation requires caution. They should not be expanded into a complete reconstructed invocation and attributed either to the film with certainty or to Tolkien’s original chapter. The theatrical and extended cuts have not been independently checked against their audio for this account, so the transcription cannot establish an exhaustive inventory of everything Gandalf says in both versions.

Nevertheless, the relationship between the opening Sindarin command and the book is clear. Anyone wondering what the familiar first film invocation means can turn directly to Tolkien’s linguistic explanation. The answer does not depend upon decoding an otherwise unattested piece of cinematic Elvish.

What the failed words reveal about Gandalf’s mistake

Gandalf’s difficulty is not simply that he has chosen an incorrect word. His initial mistake concerns the kind of utterance he believes the entrance requires.

The distinction emerges particularly clearly from the verbs Tolkien gives him. Opening and listening are actions Gandalf demands of the doorway. His speech is constructed around imperatives, and the reported subsequent experiments continue to emphasise the command to open.

There is an understandable logic to his approach. Earlier in the chapter, Gandalf discusses the opening of Dwarven doors and the use of particular words to gain entry. His knowledge gives him reason to investigate verbal means of opening this entrance. What it does not immediately give him is the correct understanding of this particular inscription.

The resulting irony is that Gandalf’s considerable linguistic resources initially encourage increasingly elaborate attempts at something the entrance does not require. He can vary the wording, change languages and speak more forcefully without resolving the underlying misunderstanding.

That is an interpretation of the narrative’s structure, not a claim that Tolkien establishes a universal distinction between command-based magic and password-based enchantment. The chapter provides no comprehensive theory of either. It does, however, dramatise the difference between the approach Gandalf adopts and the utterance that ultimately succeeds.

It is equally important not to infer that his failed formulas are powerless in every possible circumstance. Their ineffectiveness at this particular entrance tells us nothing definite about their potential use elsewhere. Tolkien records a local failure, not a general judgement upon the magical properties of Sindarin imperatives.

What Gandalf lacks at the West-gate is not another language in which to express his demand. He lacks the correct reading of the instructions already before him.

The boundary between the commands and the password

The successful word, mellon, meaning friend, belongs to a different category from the opening invocation. It does not grammatically instruct the doors to move, listen or obey. Gandalf ultimately speaks the required word after reconsidering the inscription itself.

In the book, Merry’s earlier questioning helps prompt that reconsideration. The film transfers the decisive interpretative contribution to Frodo. Both presentations distinguish the unsuccessful verbal experimentation from the eventual solution, even though they distribute the discovery differently among the characters.

Nothing in the published chapter merges the two categories. The unsuccessful verse addresses the entrance and demands an action; the word that works answers a condition instead. The distinction is visible in the book’s own sequence rather than inferred from later commentary.

The important point is that the successful word should not be folded into a list of spells that differ only in effectiveness. The earlier verse addresses the entrance and demands an action; the final word satisfies the instruction that Gandalf has at last understood.

Consequently, describing every unsuccessful utterance as a failed password obscures the very feature that makes the episode worth examining. Tolkien gives us an improvised Sindarin invocation, repeated and altered commands, and references to other largely unrecorded verbal experiments. He then contrasts these with the single word that opens the entrance.

We can translate the first invocation with confidence because Tolkien explained it himself. We can identify the nature of the subsequent experiments because he described them. We cannot supply their complete wording because he did not publish it in the narrative.

Gandalf’s first words at Moria are therefore neither meaningless magical syllables nor a mysterious alternative password awaiting decipherment. They are intelligible commands addressed to a particular doorway. Their failure is what makes them revealing: Gandalf knows how to tell the gate to open, but has not yet understood what the gate requires.


Sources & Notes

This article is based on close reading and interpretation of Tolkien's published works and related source material where relevant.