Hesiod first recorded the Pandora story in Works and Days.
Hesiod was an archaic Greek poet generally dated to around the late eighth or early seventh century BCE. Works and Days is a didactic poem about farming, justice, work, social conduct, and the difficult conditions of human life. The Pandora episode appears within that broader discussion of why suffering and labor exist.
Hesiod also tells a related version in the Theogony, but Works and Days supplies the most detailed account of Pandora's creation, the gifts given by the gods, and the opening of the jar. Because the poems are ancient, exact dates for their composition remain approximate rather than certain.
Homer is often named alongside Hesiod as one of the foundational Greek poets, but the surviving early Pandora narrative is associated with Hesiod, not with the Homeric epics. Later authors and artists expanded the story in many directions.