The Defiled Temple lies beneath the Shattered Sanctum in Act 1's Goblin Camp. Its door is locked by a moon puzzle: four rotating stone discs carrying white and black circles. The goal is simple once you know it — move every black circle onto the disc lit by sunlight.

Short answer

From an untouched puzzle, press: Left, Top, Bottom, Right, Bottom, Bottom, Right, Right, Top, Right. The "top" disc is the one in direct sunlight. Or skip it: a Perception check reveals a hidden lever on the stairs — lockpick it and pull it to open the door.

How to get to the temple

  1. In the Shattered Sanctum, talk to True Soul Gut, the goblin priestess who offers to remove your parasite. She invites you to her quarters.
  2. Her quarters lead on to the Defiled Temple; you need her key (most players take it from her body after the fight that follows).
  3. In the bedroom behind the ogre's area, a cabinet holds the Selûnite Journal — the puzzle's hint: "Casting darkness where it belongs."

See also: Baldurs Gate 3 Early Access — the closest BG3 answer to this one.

How the puzzle works

  • There are four discs; each button rotates one of them, moving the circles on it.
  • One disc — called the "top" disc here — sits in direct sunlight.
  • The door opens when all black circles are on the sunlit disc. That is what "casting darkness where it belongs" means.
  • The order matters: each move changes where circles sit on neighbouring discs.

See also: Baldurs Gate 3 Game of the Year — the closest BG3 answer to this one.

The solution

From the starting position, press the discs in this order:

  1. Left
  2. Top
  3. Bottom
  4. Right
  5. Bottom
  6. Bottom
  7. Right
  8. Right
  9. Top
  10. Right

If you have already pressed some discs, the sequence will not line up. Reload a save from before you touched it, or use the lever below.

See also: Elden Ring Irina Quest — the same question, but for Elden Ring.

Skip it with the hidden lever

A character with a good Perception roll spots a lever on the staircases in the temple area. Lockpick it, then activate it — the door opens without solving the puzzle.

Defiled Temple puzzle FAQ

What is the solution to the Defiled Temple puzzle?

From an untouched state: Left, Top, Bottom, Right, Bottom, Bottom, Right, Right, Top, Right.

Where is the hint for the moon puzzle?

The Selûnite Journal, in a cabinet in the bedroom of True Soul Gut's quarters.

I messed up the puzzle. What now?

Reload a save from before you touched the discs, or find and lockpick the hidden lever on the stairs.

Can I skip the Defiled Temple puzzle?

Yes — the hidden lever on the stairs opens the door after a Perception check and lockpicking.

The short version: all black circles onto the sunlit disc — or find the lever.