When-was-Genesis-written
Short answer: Genesis was written by Moses in the second millennium BC, most likely during the wilderness years after the exodus, because the Pentateuch itself presents Moses as a writer of books at God's explicit command. Exodus 17:14 says, "Yahweh said to Moses, “Write this for a memorial in a book, and rehearse it in the ears of Joshua: that I will utterly blot out the memory of Amalek from under the sky.”" That is not a later editor imagining a scribe; it is God telling a named man to write. Exodus 24:4 adds that Moses wrote all Yahweh's words. Deuteronomy 31:24 describes Moses finishing the words of the law in a book. The internal evidence therefore places Genesis before Joshua's lifetime, not five hundred years after David. The precise year cannot be fixed, but the biblical witness is a Mosaic Genesis written in the wilderness generation.
What Exodus 17:14 Actually Says About Writing
Exodus 17:14 arrives at a strange moment. Israel has just won a battle against Amalek, but the text does not celebrate the general or the army. It records a command to write. God speaks to Moses directly and assigns him a documentary task with a purpose clause: a memorial in a book and a recitation in Joshua's ears. Whatever else is happening, Israel's earliest post-exodus religion is already a written religion, not a purely oral tradition passed around campfires for generations.
This matters for the question of when Genesis was written because it establishes that writing was commanded and practiced at the very beginning of Israel's national life. If God could command Moses to write a memorial against Amalek in the same period, there is no literary or theological obstacle to Moses also composing the foundational narrative of creation, the patriarchs, and the covenant promises. The command in Exodus 17:14 is the first explicit divine instruction to write in Scripture, and it is given to the man later credited with the law.
Notice also the audience. Joshua is named as the one who must hear the memorial read. That assumes a fixed, reusable text that can be rehearsed to a successor. Oral tradition can be repeated, but the text says write and rehearse, which is the pattern of a document being preserved and publicly read. The book existed because God wanted a durable record, not a rumor.
Moses Wrote All Yahweh's Words at Sinai
Exodus 24:4 says, "Moses wrote all Yahweh’s words, then rose up early in the morning and built an altar at the base of the mountain, with twelve pillars for the twelve tribes of Israel." This is the covenant ratification ceremony at Sinai. Before the altar is built and before the blood is sprinkled, Moses writes the words down. The sequence is deliberate: revelation, then inscription, then worship. The written text is not an afterthought; it is the legal document of the covenant itself.
If Moses wrote all Yahweh's words at Sinai, then the question is not whether Moses could write but what he was expected to write. The covenant words given in Exodus 20-23 are extensive, covering worship, slavery, restitution, festivals, and justice. A man who can record those chapters is a man who can record Genesis. The literary skill and the theological range required are of the same kind. Genesis is longer, but it is not categorically different from the covenant code in its demand for sustained composition.
Some readers have argued that Moses was only a compiler of older sources, and that may be partly true. Scripture does not tell us whether Noah's flood account reached Moses through family records, oral memory, or direct revelation. What it does tell us is that Moses wrote. The human author is real, active, and responsible for the finished text, which is exactly what Jesus assumes when he attributes the law to Moses.
Numbers and Deuteronomy Confirm a Finished Book
Numbers 33:2 says, "Moses wrote the starting points of their journeys by the commandment of Yahweh. These are their journeys according to their starting points." This is administrative, almost dull material: a travel log. And yet Moses is said to have written it at God's command. The point is that writing was not reserved for grand theology. It was the ordinary method by which God's dealings with Israel were preserved, from the parting of the sea to the names of camping grounds.
Deuteronomy 31:24 then describes the end of the process: "When Moses had finished writing the words of this law in a book, until they were finished." The phrase until they were finished indicates completion within Moses's lifetime. He did not leave a fragment for others to complete from memory. He finished the book. That statement is about the law, but it establishes the pattern for the Pentateuch as a whole, including Genesis, which sits at the front of the same collection.
Joshua 24:26 adds a later note: "Joshua wrote these words in the book of the law of God; and he took a great stone, and set it up there under the oak that was by the sanctuary of Yahweh." Joshua writes into an existing book of the law. He does not create it. The book of the law of God is already there, already authoritative, already the standard against which later covenant renewals are measured. Genesis was inside that book.
Why the Date Is Usually Placed in the Wilderness, Not the Exile
The biblical timeline is straightforward. Jacob's family enters Egypt, they multiply, an unknown Pharaoh enslaves them, and Moses leads them out. If the exodus occurred in the fifteenth or thirteenth century BC, as the internal chronologies of 1 Kings 6:1 and Judges 11:26 suggest, then Moses wrote Genesis sometime during the wilderness wanderings, roughly 1440-1400 BC on the earlier reckoning or a century later on the later one. The exact number is debated; the generation is not.
The alternative favored in many modern universities is that Genesis reached its final form during or after the Babylonian exile in the sixth century BC, using sources written centuries after Moses. This view is built largely on literary analysis of repeated names, styles, and supposed document divisions. It is a serious scholarly position, but it rests on source criticism rather than on any statement in the text, and it must explain why the text itself consistently presents Moses as the writer of books.
There is a further problem with a very late date. Later Old Testament books treat the law of Moses as already ancient and authoritative. Joshua writes in it. Kings judge rulers by it. Prophets indict the nation for breaking it. If Genesis and the law were invented in the exile, the entire prophetic critique of Israelite history loses its documentary anchor. The text's own account, a Mosaic Genesis in the wilderness, fits the evidence of the canon better.
What Jesus and the Apostles Assume About Genesis
Jesus treats Moses as a real author, not a legend. Matthew 19:8 says, "He said to them, “Moses, because of the hardness of your hearts, allowed you to divorce your wives, but from the beginning it has not been so." Jesus argues from the creation account in Genesis and attributes the Mosaic legislation to Moses himself. He does not say the tradition of Moses or the school of Moses. He says Moses. To Jesus, Moses wrote, and Genesis speaks.
This does not automatically settle every question about sources, editing, or the exact century. Faithful Christians have held different views, and the church has never spoken with one voice on every technical detail. What it has confessed is that Genesis is God's word through Moses and that its teaching about creation, the fall, the flood, and the patriarchs is true. The doctrine of inspiration does not depend on a precise date, but it does depend on a real human author, and the text names him.
If Jesus could read Genesis 1-2 as history and attribute the law to Moses, then the burden of proof falls on any theory that denies Moses a substantial role. The New Testament does not quote a single verse of Genesis as if it were an anonymous, late, oracles of a nameless editor. It quotes it as Scripture, spoken by God through the one to whom it was given.
Does Genesis Show Signs of Later Editing?
Honest readers notice details that seem later than Moses, such as place names given with explanatory comments and the report of Moses's own death in Deuteronomy 34. These are real observations and should not be waved away. The most common conservative explanation is that a later prophet or scribe, perhaps Joshua or a successor, updated names and added a closing notice under inspiration. That is not the same as inventing the book centuries later; it is the ordinary maintenance of an authoritative text.
Genesis itself contains some of these touches. The phrase about the Canaanite being in the land in Genesis 12-13 reads naturally to a later reader and might have been clarified. But clarification is not composition. An editor who updates a place name so readers can locate it is preserving the book, not authoring it. The substance, the theology, and the narrative framework remain Mosaic.
The distinction matters because it is often blurred in popular discussions. Arguing that Genesis was written by Moses does not require denying that the text was copied, standardized, and lightly updated by the community that treasured it. It requires only that Moses is the responsible author, and that the book comes from the period it describes, not from a post-exilic imagination.
How This Shapes How You Read Genesis
If Genesis was written by Moses for Israel in the wilderness, then it is not abstract prehistory. It is a survival document for a liberated people about to enter a land of idols. It tells them who made the world, why suffering exists, why God chose Abraham, and why they must not become like Egypt or Canaan. Every story is aimed at a people learning covenant loyalty in a hostile environment.
That setting explains the attention to land, descendants, blessing to the nations, and the danger of compromise. Abraham's failures and Jacob's deceits are not there to entertain; they are warnings and encouragements for a nation that keeps failing. The God who called Abraham out of Ur is the same God who brought Israel out of Egypt, and Genesis is the theological foundation for the covenant at Sinai.
The date question is not finally about curiosity. It is about whether the book has authority in its own right as a word from God through Moses, or whether it is a later construction to be explained away. When you read Genesis as Mosaic, the promises to the patriarchs become the grounding for the exodus, and the exodus becomes the pattern for your own rescue. The book speaks forward, and it speaks to you.
Biblical fidelity check
The passages supplied establish a clear but limited claim. They show that God commanded Moses to write, that Moses did write, that he finished a book of the law, and that Joshua later wrote in that existing book. Exodus 17:14, Exodus 24:4, Numbers 33:2, Deuteronomy 31:24, and Joshua 24:26 together demonstrate a written Mosaic corpus in Israel's earliest national period. They do not give a precise calendar year, and they do not describe the mechanics of how Genesis was composed, whether by direct revelation, inherited records, or both.
A common misreading is the assumption that a Mosaic date requires a modern author sitting alone with a pen and no sources or later copying. The text does not say that, and it does not need to. Another misreading treats the presence of any later-looking detail as proof of a sixth-century invention, which goes far beyond the evidence and contradicts the consistent biblical attribution to Moses. What the passage does establish is authorship and authority; what it does not establish is a date stamped on the cover. Faithful Christians differ on the exact century, but not on the reality of Moses as the writer under God.
Other passages that speak to Exodus 17:14
The theme of God's written word through human hands runs through Scripture. For a broader defense of how God used human authors without error, see Why trust the Bible when it was written by humans? A Biblical Guide. The command to record Amalek's defeat connects to the conquest narratives and how ancient writers described warfare; see Ancient warfare rhetoric and Joshua: A Biblical Guide. The Sermon on the Mount shows Jesus reading the law as Moses's own, and its opening blessings are worth careful study in The Beatitudes Explained: Matthew 5:1–12 Meaning. And because trusting a book written long ago requires faith in the God who speaks, see Bible Verses About Faith: Trusting God When You Cannot See the Outcome.
Frequently asked questions
Did Moses really write Genesis, or did later editors compile it?
The Bible consistently presents Moses as the writer of the law, including Genesis. Exodus 17:14 records God commanding him to write, and Deuteronomy 31:24 describes him finishing the book. Later editors may have updated place names or added a closing notice, but that is preservation, not invention. Jesus himself attributes the Mosaic legislation to Moses in Matthew 19:8, treating him as a real author. The simplest reading of the evidence is that Moses wrote Genesis substantially as we have it.
If Genesis was written so early, why do some scholars date it to the exile?
Many modern scholars use source criticism, dividing the Pentateuch into hypothetical documents and dating them centuries after Moses. That method is an inference from literary features, not a claim the text makes about itself. The Bible's own witness, including Exodus 24:4 and Numbers 33:2, places writing in Moses's lifetime. Faithful Christians have weighed these arguments differently, but a late date is a theory about the text, not something the text claims. The scriptural evidence favors a wilderness setting.
Does a Mosaic date mean there was no oral tradition before Moses?
Not necessarily. Genesis may well preserve family records, genealogies, and remembered accounts that reached Moses and were shaped by him under God's direction. Numbers 33:2 shows Moses recording travel data, and Exodus 24:4 shows him writing covenant words. God can use both inherited memory and direct revelation. The important point is that the finished book is Mosaic and authoritative, not that every line dropped into his mind without any human process. Inspiration guarantees truth, not a particular mechanism.