Skip to content
CodexMythologia
Back to the Codex
Portrait of Shamash, Mesopotamian deity
Mesopotamian
Tap or drag
Mesopotamian

Shamash

The Sun God of Justice

Domain
Sun, Justice & Truth
Alignment
Lawful Good
Element
Light
Relics of Power
Serrated Saw of Truth
Speak with Shamash

The full Codex

5 sections of this entry are open to everyone: the summary, the people, the symbols, the lineage and the sources. The other 9 (Name and epithets, In the ancient sources, The myths, Worship and archaeology, How the god was depicted, What scholars debate, After antiquity, Did you know?, Codex relic) are part of the full Codex: PRO opens the whole study of all 500 deities, and without a subscription you can read one full entry a day, just like in the app.

The People

People
Sumerians, Akkadians & Babylonians
Region
Mesopotamia (modern Iraq)
Period
c. 3500 – 500 BC

The Mesopotamian gods were worshipped by the Sumerians, Akkadians, Babylonians, and Assyrians in the land between the Tigris and Euphrates, the cradle of writing and cities. Each city raised a ziggurat to its patron god, served by a powerful priestly caste. Their myths, such as the Enuma Elish and the Epic of Gilgamesh, are among the oldest in the world.

The Akitu festival opened the new year with processions along Babylon's Sacred Way, and the sacred marriage rite symbolically united Inanna and Dumuzi to ensure fertility. Lamentations, hymns, and divination by animal livers marked daily religious life.

At a glance

Shamash is the Akkadian name of the sun god Utu of Sumerian tradition. Hymns and inscriptions present him as a source of light and authority for just decisions. His daylight illuminates roads and regions, but his importance is not confined to crossing the sky: kings invoke him, people seek his protection, and travel narratives involve him. A Hymn to Utu calls him Ningal’s son and a judge who rules for many countries. Hammurabi’s inscription names him the great judge of heaven and earth. These texts belong to distinct genres and moments; together they show an enduring divine function without forming a single linear story.

8 min read · Reviewed on October 14, 2026 · How we research

Sacred symbols

The solar disk, the serrated saw, the rod-ring and the throne of justice

Family

Siblings
Shamash
Unions
Šerida / Aya
Genealogy according to Oracc, Utu/Šamaš e Šerida/Aya; ETCSL 4.32.2, linhas 7–26

Sources and further reading

Primary sources

  • ETCSL, University of Oxford, Hymn to Utu (Utu B). read
  • ETCSL, Universidade de Oxford, Gilgamesh and Huwawa, version A. read
  • Avalon Project, Yale University, Inscription of the Stele of Hammurabi. read
  • ETCSL, Universidade de Oxford, The Journey of Nanna-Suen to Nibru. read

Studies

  • Ruth Horry, Utu/Šamaš (god), Ancient Mesopotamian Gods and Goddesses, Oracc. 2019. open
  • Ruth Horry, Šerida/Aya (goddess), Ancient Mesopotamian Gods and Goddesses, Oracc. 2024. open
  • British Museum, Cylinder seal, museum number 1891,0509.2553. open

Name and epithets

Utu is the Sumerian form associated with the Sun; Šamaš, written here as Shamash, is the Akkadian form. The equivalence of the names reflects Mesopotamia’s linguistic traditions.

In the ancient sources

Hymn to Utu (Utu B), Sumerian hymn, date of composition uncertain. Solar praise and affirmation of his capacity to judge. Gilgameš and Huwawa, version A, Sumerian composition preserved in ancient manuscripts.

The myths

Light reaching the mountains. Hymn to Utu B sets the god in motion: he emerges, rises over the mountains, and spreads light.

Worship and archaeology

Shamash/Utu’s two principal centres were Sippar and Larsa. According to the Oracc profile, both had a temple called E-babbar, “White House.” The hymn to Utu mentions this name, and Hammurabi’s inscription speaks of the…

How the god was depicted

The most familiar image of Shamash in a royal setting is that on Hammurabi’s stele, where the king stands before an enthroned divine figure.

What scholars debate

The god and royal law. Shamash’s association with justice is ancient and verifiable, but Hammurabi’s stele speaks in the king’s voice.

After antiquity

Shamash remains visible today through Hammurabi’s stele and translations of Sumerian hymns and narratives. The monument is often reproduced as an image of ancient law, but its text is also a statement of the ruler’s rel…

Did you know?

Hymn to Utu B calls him Ningal’s son and describes his beard as lapis lazuli. On Nanna-Suen’s journey, Šerida welcomes the boat at Larsa before it reaches Nibru.

Codex relic

Serrated Saw of Truth. A saw with which he cuts through falsehood and clears a path for the light of justice through darkness.

The rest of this scroll is sealed

The legends, the myth, the cult and relics are part of the full Codex. You can open 1 full entry for free every day; to open all 500 deities with no limits and no ads, subscribe to Codex PRO.

See Codex PROGet it on Google Play

Divine Equivalents

From the same pantheon

View pantheon