When Was Zechariah Written: Dating the Prophet's Visions
Short answer: Zechariah was written between roughly 520 and 518 BC, during the reign of Darius the Great of Persia. The book's own dated headings anchor its oracles to specific days in specific years of Darius's reign. Zechariah 1:1 says, "In the eighth month, in the second year of Darius, Yahweh's word came to Zechariah the son of Berechiah, the son of Iddo, the prophet, saying,". A second oracle follows in the eleventh month of that same year, and a third comes in the fourth year of Darius. Since Darius began reigning in 522 BC, his second year runs to 520 BC and his fourth to 518 BC. Because the text names real months, real years, and a real king, the book is one of the most precisely dated prophetic works in Scripture.
The Dated Headings Inside the Book
Zechariah is unusual among the prophets for how carefully it timestamps its own oracles. Instead of a vague introduction, it opens with a calendar reference tied to a reigning monarch. Zechariah 1:1 says, "In the eighth month, in the second year of Darius, Yahweh's word came to Zechariah the son of Berechiah, the son of Iddo, the prophet, saying,". The eighth month in the Jewish calendar falls in late autumn, roughly November on modern calendars.
The second dated oracle appears a few chapters later. Zechariah 1:7 says, "On the twenty-fourth day of the eleventh month, which is the month Shebat, in the second year of Darius, Yahweh's word came to Zechariah the son of Berechiah, the son of Iddo, the prophet, saying,". That places a cluster of night visions about three months after the first oracle, likely in January or February.
A third date comes in a later section. Zechariah 7:1 says, "In the fourth year of king Darius, Yahweh's word came to Zechariah in the fourth day of the ninth month, the month of Chislev." That is roughly two years after the opening oracle. So the book records prophetic activity spread over at least two years, all within a single king's reign.
Why Darius the Great Fixes the Date
The Darius named in these headings is Darius I, often called Darius the Great, who ruled the Persian Empire from 522 to 486 BC. His second year therefore ran from 521 to 520 BC, depending on how the accession year is counted, and his fourth year fell around 518 BC. That gives us a firm historical window for Zechariah's ministry.
This is not a guess based on style or theme. The book itself supplies the king's name and the year of his reign. Because Persian royal chronology is well documented in both Greek and Persian sources, the conversion to modern dates is straightforward and widely accepted.
Some readers wonder whether the Darius here could be a different Persian king, such as Darius II or Darius III. He cannot be. The events of the book belong to the period of the returned exiles rebuilding the temple, and only Darius I fits that setting. Later Dariuses ruled long after the temple was completed.
Ezra Confirms the Setting
The book of Ezra describes the same period from a historical angle. Ezra 5:1 says, "Now the prophets, Haggai the prophet and Zechariah the son of Iddo, prophesied to the Jews who were in Judah and Jerusalem. They prophesied to them in the name of the God of Israel." This places Zechariah alongside Haggai, encouraging the returned exiles to finish rebuilding the temple.
Ezra also records the outcome. Ezra 6:14 says, "The elders of the Jews built and prospered, through the prophesying of Haggai the prophet and Zechariah the son of Iddo. They built and finished it, according to the commandment of the God of Israel, and according to the decree of Cyrus, Darius, and Artaxerxes king of Persia." The temple was completed in the sixth year of Darius, around 516 BC.
So we have two independent lines of evidence. Zechariah's own headings give dates inside the book, and Ezra's narrative places the prophet in the same historical moment. They agree without strain. That kind of convergence is what historians look for when dating an ancient text.
The Gap Between Chapters 1-8 and 9-14
Chapters 1 through 8 contain the dated oracles and the night visions. They belong firmly to the 520 to 518 BC window. Chapters 9 through 14 are different. They carry no date headings and their style shifts noticeably, with oracles that speak of a coming king and a shepherded people.
Because of that shift, many readers have asked whether the later chapters were written at a different time, perhaps much later. Some scholars propose that chapters 9 to 14 come from a later hand or a later period. Others argue that Zechariah himself wrote them later in life, after the temple was rebuilt.
Faithful Christians have differed on this for centuries, and it is worth saying so plainly. The book as we have it is a unified prophetic work in the canon. What the dated headings firmly establish is the period of chapters 1 through 8. They do not fix the date of the final chapters with the same precision.
What the Eighth Month and Second Year Mean
It helps to picture what was happening when the first oracle arrived. The exiles had returned from Babylon, but the temple rebuild had stalled for years. Opposition, discouragement, and economic hardship had worn the people down. Then two prophets, Haggai and Zechariah, began to speak.
The timing was not random. Haggai's first messages came in the same second year of Darius, just two months before Zechariah's opening oracle. God was speaking through two voices at once, pressing the same point: rebuild the house, and I will be with you. Zechariah's night visions then gave the people a wider picture of God's purposes for Jerusalem and the nations.
Dating the book is not an academic exercise for its own sake. Knowing when Zechariah spoke helps us hear what he was saying to a discouraged community, and why his words about God's zeal for Zion carried such weight.
How Zechariah Compares With Other Dated Prophets
Some prophetic books give very few time markers. Others are rich with them. Zechariah belongs to the well-dated group, along with Haggai, Jeremiah, Ezekiel, and parts of Isaiah. Haggai, for instance, dates his oracles to the same second year of Darius that Zechariah uses.
This matters for how we read the Bible as history. When a prophet anchors his message to a known king and a known month, he is inviting his readers to check the record. The events he describes should fit the world he names. In Zechariah's case, they do.
For readers who wonder whether Scripture can be trusted on historical details, Zechariah offers a useful test case. The book names a Persian king, a regnal year, two named months, and a specific day. If those were invented, the fiction would be easy to expose. Instead, the details line up with what we know of Persian-era Judah.
What This Means for Reading the Book Today
Because Zechariah is dated, we can read it with the grain of its own history. The people he addressed were real people with real fears, living in a ruined city with a half-built temple. The promises he delivered were not abstractions. They were answers to a specific crisis at a specific moment.
That shapes how we apply the book. Zechariah's visions of a cleansed high priest, a lampstand that never runs dry, and a coming king riding on a donkey all spoke first to that community. They also pointed forward to a greater fulfillment. Reading them in their original setting keeps us from flattening them into vague inspiration.
When we know that Zechariah 1:1 was spoken in the eighth month of Darius's second year, the book stops being a collection of strange images and becomes a documented prophetic ministry. That is a gift to any careful reader.
Common Questions About the Date
One frequent question is whether Zechariah could have written before the exile. He could not, because his ministry is tied to the return and the temple rebuild. Another is whether the book was written all at once. The dated headings suggest a period of at least two years for chapters 1 through 8, and possibly longer for the whole book.
Some readers also ask whether the Zechariah in Matthew 23:35 is the same person. Matthew 23:35 says, "that on you may come all the righteous blood shed on the earth, from the blood of righteous Abel to the blood of Zachariah son of Barachiah, whom you killed between the sanctuary and the altar." The name and patronymic are close to the prophet, but some identify this Zechariah with a different figure. Christians have read it both ways.
Biblical fidelity check
What the dated passages establish is real and specific. Zechariah 1:1, Zechariah 1:7, and Zechariah 7:1 place prophetic oracles in the second and fourth years of Darius, with named months and days. Ezra 5:1 and Ezra 6:14 confirm that Zechariah ministered during the temple rebuild in the Persian period. What they do not establish is the date of every chapter. The final chapters carry no such headings, and Scripture does not tell us when they were written.
A common misreading is to treat the whole book as having one single, undisputed date in 520 or 518 BC. That overstates the evidence. The dated material supports that window for chapters 1 through 8; it does not settle chapters 9 through 14, which many conservative readers still attribute to Zechariah while acknowledging the lack of internal dates. Holding the clear evidence and the open questions together is the honest reading, and it keeps us from claiming more than the text says.
Other passages that speak to Zechariah 1:1
Readers who want to go further can trace how Scripture handles its own authorship and historical setting. The question of how human writers and divine inspiration relate is explored in Why trust the Bible when it was written by humans? A Biblical Guide. For a New Testament passage that also carries a strong historical anchor, see The Beatitudes Explained: Matthew 5:1–12 Meaning. If you are working through what it looks like to trust God in unsettled times, the same theme runs through Bible Verses About Faith: Trusting God When You Cannot See the Outcome. And for readers walking through their own seasons of rebuilding, Bible Verses About Hope: Christian Hope When Life Feels Heavy gathers passages with a similar pastoral aim.
Frequently asked questions
What year was the book of Zechariah written?
The dated oracles fall between about 520 and 518 BC, during the reign of Darius the Great. Zechariah 1:1 places the first oracle in the eighth month of Darius's second year, and Zechariah 7:1 places another in the fourth year. Chapters 9 through 14 carry no dates, so their exact time of writing is not stated in Scripture. The book as a whole is therefore anchored in the early Persian period after the return from exile.
Which Darius is named in Zechariah?
The Darius in Zechariah is Darius I, also called Darius the Great, who ruled Persia from 522 to 486 BC. His second year corresponds to roughly 520 BC and his fourth to about 518 BC. He is not to be confused with later Persian kings of the same name, who ruled long after the Jerusalem temple was rebuilt. The historical setting of the book fits only Darius I.
Was Zechariah written before or after Haggai?
Their ministries overlapped closely. Haggai's first messages came in the second year of Darius, about two months before Zechariah's opening oracle in the eighth month. Ezra 5:1 names them together as prophets speaking to the returned exiles. Neither book was written far apart from the other. Both were delivered during the same stretch of years when the temple rebuild was being urged forward and finally completed.