Gate to the Ruins (The Last Door in the UK version) is a puzzle in Professor Layton and the Miracle Mask. The puzzle must be solved in order to progress the story.


The door to the ruins has five slots on it, each marked with a different symbol, and nine stone blocks that fit into those slots.

Can you place five blocks in the slots in the correct order and open the door?


Click a Tab to reveal the Hint.

The nine blocks each have some kind of ancient glyph on them, but there doesn't appear to be any direct correlations between the glyphs and the symbols in the slots.

If the glyphs on the blocks don't mean anything, then what could the code on the door represent?

You can place the block in the center of the door into the middle slot.

Do you understand why this block goes into that slot?

The bottom-right block goes into the leftmost slot.

The symbol in that slot bears a kind of resemblance to where you got the block from, doesn't it?

Each symbol represents how each block is framed by the surrounding blocks. The blocks surrounding the top-left block form the symbol in the rightmost slot. Those surrounding the top-right block make the symbol in the second slot from the right.

Now which block does the remaining symbol indicate?




The symbols show you which block to use in each slot based on the way each block is framed by the others.

Aren't you just itching to see what's beyond that door?

A big thanks to

Community content is available under CC-BY-SA unless otherwise noted.