Writing emerged in Sumer (southern Mesopotamia, c. 3400–3200 BCE) as a practical response to societal complexity:
Temples managed vast estates — grain, livestock, labor. Early tablets (Uruk IV period) record allocations, rations, inventories. Pictographs evolved into abstract signs for efficiency.
Sumer imported timber, stone, metals (from Anatolia, Iran, Indus Valley). Merchants needed contracts, receipts, credit records — writing enabled trust across distances.
Ziggurats, canals, city walls required labor scheduling, material logistics, ration distribution. Writing coordinated thousands of workers.
Laws (Ur-Nammu, Hammurabi), treaties, royal decrees, land grants — all required permanent, referenceable records.
Myths (Gilgamesh), hymns, omens, astronomical observations, medical texts — writing transcended oral limits.
Specialized schools (edubbas) trained scribes in cuneiform, mathematics, languages — creating a professional class essential to bureaucracy.
Tokens (8000 BCE) → Bullae with impressions → Pictographic tablets → Cuneiform wedge-writing (reeds on clay) → Phonetic signs (rebus principle) → Full syllabic script capable of any spoken language.
Writing was not "invented" once — it emerged incrementally over centuries as administrative needs outgrew memory and tokens.