Hesiod tells the earliest surviving version of Pandora’s story in Works and Days.
Works and Days is a didactic poem traditionally attributed to Hesiod, an early Greek poet usually dated to the late eighth or early seventh century BCE. It combines advice about farming and justice with myths explaining the human condition, including the stories of Prometheus and Pandora.
Hesiod also mentions Pandora-related material in Theogony, but Works and Days gives the more detailed narrative of her creation, arrival at Epimetheus’s home, and opening of the container. The poem’s context is important: Pandora’s story helps explain why toil, suffering, and hardship exist in human life.
The Iliad and The Odyssey are Homeric epics, not the principal source for the Pandora narrative. Theogony is another Hesiodic poem, but identifying Works and Days gives the most specific answer for the complete surviving account.