Hesiod first records the Pandora myth in Works and Days. This didactic poem, generally dated to the seventh century BCE, presents Pandora as part of Zeus's punishment for Prometheus's theft of fire.
Hesiod also tells a related version in the Theogony, where Pandora is connected with the origin of women and the hardships of human life. Works and Days gives the fuller narrative of her creation, the divine gifts, and the opening of the storage jar.
Homer does not provide the familiar Pandora story. Ovid wrote much later in Latin and is associated with other Greek myths retold in the Metamorphoses, while Pindar was a later Greek lyric poet. Their names can therefore be tempting but are not the answer to the question about the earliest surviving literary record.
Because Hesiod's works survive through manuscript transmission rather than an original ancient copy, exact dating remains approximate. Still, his poems are the standard early literary sources for Pandora's myth.