Who Wrote 2 Samuel? David's Last Words and the Evidence
Short answer: The book of 2 Samuel does not name its author anywhere in its text, so no one can say with certainty who wrote it. The strongest biblical evidence points to the prophets Nathan and Gad, and possibly Samuel's earlier records, as the sources behind it. First Chronicles 29:29 says the acts of David were written in the history of Samuel the seer, in the history of Nathan the prophet, and in the history of Gad the seer. Since the events of 2 Samuel run well past Samuel's death, Nathan and Gad are the likeliest compilers. The book also preserves David's own words, as in 2 Samuel 23:1-7, which suggests the author drew on court and prophetic records rather than inventing the story. Faithful Christians have held different views on the details without disagreeing on the book's inspiration.
Why 2 Samuel Names No Author
Unlike the letters of Paul, which open with a named sender, 2 Samuel begins without any authorial statement. The first verse simply drops the reader into the aftermath of Saul's death and David's return to Ziklag. There is no formula such as the one found in the prophets, where a book opens with the word of Yahweh coming to a named figure. This silence is not unusual for Old Testament narrative. Joshua, Judges, Ruth, 1 and 2 Samuel, and 1 and 2 Kings are all anonymous. The books were received as Scripture because of their content and their connection to recognised prophetic figures, not because a title page carried a signature.
That anonymity has practical consequences for how we read. We cannot build doctrine on a guess about the human writer. What we can do is examine the internal evidence: the kinds of records the book cites, the perspective it takes, and the way later Scripture describes the same period. The Hebrew title for the book, drawn from its opening words, was simply the name Samuel, which is how the early Greek translation labelled the four books we now call 1 and 2 Samuel and 1 and 2 Kings. The Hebrew tradition treated these as one continuous narrative before they were divided.
It also helps to remember that ancient books were often produced by more than one hand. A prophet or scribe might begin a record that a successor continued and edited. This is not a threat to inspiration. The Holy Spirit worked through the ordinary processes of compiling court records, prophetic archives, and poetic compositions, then guided the final form of the text. When we ask who wrote 2 Samuel, we are really asking who stood behind the sources and who shaped the final account. The text answers that question only indirectly, and it is honest to say so.
Finally, the New Testament never attributes 2 Samuel to a named author. Jesus and the apostles quote from it, but they cite it as Scripture, not as the work of a particular man. For example, David's psalm in 2 Samuel 22 is echoed in later worship and quoted in the New Testament without an authorship claim attached to the book as a whole. This leaves the question open in the way the Bible itself leaves it open, and our answers should be as careful as the text is.
The Case for Nathan and Gad
The single most direct piece of evidence is 1 Chronicles 29:29, which says, "Now the acts of David the king, first and last, behold, they are written in the history of Samuel the seer, and in the history of Nathan the prophet, and in the history of Gad the seer," This verse names three prophetic records covering David's reign from beginning to end. It does not say the men wrote the books we call 1 and 2 Samuel, but it does show that authoritative written accounts of David's reign existed and were linked to these prophets. A book like 2 Samuel would naturally draw on such sources.
Nathan appears repeatedly in the narrative of 2 Samuel. He confronts David after the sin with Bathsheba, delivers the parable of the ewe lamb, and announces the consequences that follow David's house. He also plays a role in the succession struggle, advising Bathsheba and David concerning Solomon. If anyone had access to the private and public events of David's court, Nathan did. A prophet who spoke so directly into the king's life would be a natural source or editor for a book that records both David's triumphs and his failures with unusual candour.
Gad appears earlier. He is the prophet who confronted David after he numbered the people, and he remained attached to David's court. The same prophetic circle that produced court records and narratives about the king would explain why 2 Samuel knows details no outsider could guess, such as private conversations, inner motivations, and the exact wording of songs and laments. The book preserves speeches that read like eyewitness memory, which fits a prophetic archive rather than a later legend.
Samuel himself was the prophet who anointed David, as 1 Samuel 16:13 records, and he could have contributed early material about David's rise. But Samuel died before most of the events of 2 Samuel took place, including David's reign in Jerusalem, Absalom's rebellion, and David's last words. That means Samuel could only have written a portion. If the Chronicles reference describes overlapping records, Nathan and Gad carried the account forward after Samuel. This is the most common conservative reading and the one that best fits the evidence we actually have.
David's Last Words and the Voice Behind the Book
Second Samuel 23:1-7 is a decisive passage for this question. It opens with the words of 2 Samuel 23:1, "Now these are the last words of David. David the son of Jesse says, the man who was raised on high says, the anointed of the God of Jacob, the sweet psalmist of Israel," The book is not merely reporting about David; it is preserving David's own testimony. If the author had invented the story, there would be little reason to present a first-person declaration so carefully and to attribute it to the king at the end of his life.
The passage continues with a claim about divine speech, which 2 Samuel 23:1-2 records: "Now these are the last words of David. David the son of Jesse says, the man who was raised on high says, the anointed of the God of Jacob, the sweet psalmist of Israel," and then immediately the text says the Spirit of Yahweh spoke by him. The phrase the sweet psalmist of Israel identifies David as a composer, and the surrounding verses treat his words as prophetic. That is important: the book that ends with David's last words is presenting itself as carrying a prophetic authority that comes through David, even if the compiler is unnamed.
When we compare this with 2 Samuel 22, which preserves a long psalm of David, we see a book deliberately built around David's own words. Second Samuel 22:1 begins, as 2 Samuel 22:1 says, "David spoke to Yahweh the words of this song in the day that Yahweh delivered him out of the hand of all his enemies, and out of the hand of Saul," The book frames David's poetry as a historical record of what he said on a specific day. A later editor collected these materials, but the materials themselves are Davidic. The author of the book is therefore best described as a compiler of David's words and deeds, not an inventor of them.
This matters pastorally. When we read 2 Samuel, we are not reading a novel about a legendary king. We are reading a record shaped by prophets and rooted in the words of a man who spoke and sang before Yahweh. The anonymity of the book does not weaken its reliability; it directs us to the content and to the God who stands behind it. The human author did his work, but the Spirit who spoke through David also guided the record that preserves him. That is the confidence the passage invites us to hold.
What the Superscriptions Tell Us
Many of the psalms carry superscriptions that connect them to David and to the events of his life. Psalm 51, for example, is tied to the confrontation with Nathan after David's sin. Psalm 18 is the same song preserved in 2 Samuel 22. These titles, whatever their precise origin, show that Israel's worship tradition remembered David as the author of specific songs attached to specific moments in his reign. That memory is independent of the question of who compiled the narrative books, and it strengthens the case that the books used genuine Davidic material.
The superscriptions also name other figures, such as Asaph, the sons of Korah, and Solomon. This tells us the psalter was a collection with multiple contributors and editors. The same is likely true of the historical books. A final compiler gathered sources, arranged them, and shaped them into the narrative we have. The presence of a superscription in a psalm does not guarantee that the person named wrote every line, but it does reflect an ancient and consistent tradition. That tradition is evidence we should weigh rather than dismiss.
The narrative of 2 Samuel itself contains several literary markers of compilation. It uses summaries, repetition, and sources such as the book of Jashar and the records of the kings. It also includes genealogies and lists, such as the catalogue of David's mighty men in 2 Samuel 23, which read like archival material rather than free composition. The author or authors worked with documents. That is why the book can be both unified in message and complex in origin.
None of this undermines inspiration. Luke is a clear example of an author who researched sources and wrote an orderly account, and the church has always regarded his Gospel as fully inspired. If God could guide Luke, he could guide the compiler of 2 Samuel. The doctrine of inspiration concerns the truth and authority of the final text, not the number of stages or sources behind it. We can study the human process without fear, because the result is the Word of God.
How the Book Presents David's Rise and Reign
Second Samuel begins with David learning of Saul's death and executing the messenger who claimed to have killed him, a scene recorded in 2 Samuel 1. The book then follows David as he is anointed king over Judah, then over all Israel, captures Jerusalem, brings the ark up, receives the promise of an everlasting dynasty, and falls into sin with Bathsheba. It ends with David's last words and the catalogue of his mighty men. This is a reign narrative, not a biography written from a distance, and it carries the marks of a court record shaped for covenant purposes.
The theological centre of the book is the promise to David in 2 Samuel 7, where Yahweh pledges a house and a kingdom that will endure. Everything else in the book is arranged to show how that promise stands despite David's failures and the chaos of his family. A compiler with this aim would need reliable traditions about David's words and deeds. The fact that the book preserves both David's greatest victories and his worst sins suggests the author was not writing propaganda for the throne. He was writing covenant history.
That honesty is itself evidence of prophetic involvement. Court historians of the ancient Near East often flattered their kings. Second Samuel does the opposite. It records David's adultery, his murder of Uriah, the death of his child, the rape of Tamar, the rebellion of Absalom, and the curse of Shimei. A book that tells such truths about its central hero reads like a record compelled by a higher authority, the word of Yahweh through his prophets. Nathan and Gad fit that profile exactly.
The closing chapters, including David's song and his last words, function as a theological seal on the whole. They present David not as a flawless hero but as a man who sinned greatly and was disciplined greatly, yet who was sustained by covenant. If the author was a prophet attached to David's court, the shape of the book makes sense. He collected what David said and did, arranged it to show Yahweh's faithfulness, and left his own name out of the record.
What Later Scripture Says About These Records
First Chronicles 29:29 is not the only passage that refers to written sources about David. The books of Kings repeatedly cite the book of the acts of Solomon and the book of the chronicles of the kings of Israel and Judah. These references show that ancient Israel kept royal and prophetic archives. When a biblical author wrote history, he often drew on such records and sometimes named them. The Chronicler names three prophetic sources for David: Samuel, Nathan, and Gad. That is a strong indication that the material in 2 Samuel came from this circle.
The Jewish tradition that the book of Samuel was written by Samuel himself, with completion by Nathan and Gad, appears in the Talmud. This is later tradition rather than inspired text, and we should treat it as such. It is not Scripture and it does not settle the question. But it does show that ancient readers, who knew the book far better than we do, connected it to this prophetic trio. Their reasoning probably rested on the same evidence we have examined: the Chronicles reference and the presence of Nathan and Gad in the narrative.
The early Greek translation divided the single book of Samuel into two, and the Latin tradition followed. The division is a practical decision, not a theological one. Nothing in the text marks a break at the end of 1 Samuel; the story simply continues. Knowing this helps us avoid reading 2 Samuel as an independent work with its own author. It is the second half of one continuous account of Israel's transition from judges to kings, from Samuel to Saul to David.
We should also note what later Scripture does not say. It does not name a single author for 2 Samuel. It does not claim that Nathan wrote every word. It does not settle whether the final editing happened early or late. Honest teaching acknowledges these gaps. Where the Bible is silent, we should be silent or speak with appropriate humility. The value of the question is not that it lets us name a human author with certainty, but that it teaches us to read the book as a carefully preserved, prophetically shaped record of David's reign.
How to Read 2 Samuel Without Knowing the Author
The first practical step is to read the book as covenant history. It is not a collection of moral fables or an ancient heroic epic. It traces how Yahweh established David's throne, how David failed, and how God remained faithful to his promise. Keeping that frame prevents us from turning individual episodes into standalone lessons detached from the whole. The sin with Bathsheba, for instance, is not primarily a warning about lust; it is the crisis that shows how David's house would be divided by the sword, exactly as Nathan announced.
The second step is to watch for the prophetic voices inside the story. Nathan, Gad, and others speak into David's life at crucial moments. They are not minor characters; they carry the word of Yahweh that gives the narrative its meaning. When we notice them, we begin to see how the book was formed. The same prophetic ministry that confronted David also preserved his story. Reading with that in view makes the book feel less like a puzzle and more like a coherent witness.
The third step is to connect the book to the rest of Scripture. The promise to David in 2 Samuel 7 is picked up by the prophets and fulfilled in Jesus, the son of David. David's songs and last words point forward to a king whose kingdom will not end. Second Samuel 23:1-7 presents David as the anointed of the God of Jacob and the sweet psalmist of Israel, and that language feeds directly into messianic expectation. Reading the book in that light keeps the authorship question in its proper place, as a matter of historical detail rather than the main point.
The fourth step is humility. We can say with confidence that 2 Samuel is anonymous, that it draws on prophetic records, and that Nathan and Gad are the best candidates for its compilation. We cannot say with certainty who held the pen for the final edition. That is not a weakness in the book or in our faith. The word of God stands whether or not we can name the human instrument. What matters is that we hear the voice of the God who spoke through David and through the prophets who preserved his story.
Biblical fidelity check
The passage establishes several things plainly. It presents David's last words as his own testimony, it identifies him as the anointed of the God of Jacob and the sweet psalmist of Israel, and it claims that the Spirit of Yahweh spoke by him. First Chronicles 29:29 establishes that written records of David's reign were associated with Samuel, Nathan, and Gad. Together these texts support the view that 2 Samuel rests on prophetic and Davidic sources. They do not establish that any one person wrote every verse, and they do not give us a signed title page. Scripture itself is silent on the final compiler's name.
A common misreading is to say that because 2 Samuel is anonymous, we cannot trust it, or that its authority depends on identifying a famous author. That is wrong on two counts. First, inspiration concerns what God says through the text, not the fame of the human writer; Hebrews and many psalms are anonymous too. Second, the book itself claims a prophetic character through David's Spirit-given words and through the named prophetic sources in Chronicles. Another misreading treats later tradition, such as the Talmudic statement that Samuel wrote the book, as if it were inspired and settled the matter. It is not Scripture, and it cannot bear that weight.
Other passages that speak to 2 Samuel 23:1-7
Several related studies help place David's last words in their wider context. The opening genealogies and setting of the books of Chronicles are treated in 1 Chronicles 1: Adam to Edom's Chiefs. The death of Saul and the transfer of the kingdom to David are examined in 1 Chronicles 10: Saul's Death and the Kingdom Given to David. David's anointing as king and the gathering of his mighty men are covered in 1 Chronicles 11: David Anointed King and His Mighty Men. The unity of the kingdom and the full muster of David's warriors are treated in 1 Chronicles 12: David's Mighty Men and the United Kingdom. These passages overlap with the period 2 Samuel records and show how the same events were preserved in Israel's prophetic and royal archives.
Frequently asked questions
Did Samuel write 2 Samuel?
No, not the whole book. Samuel died before most of the events recorded in 2 Samuel, including David's reign in Jerusalem and the rebellions of Absalom. He could have contributed earlier records about David's rise, and 1 Chronicles 29:29 does mention the history of Samuel the seer alongside the records of Nathan and Gad. But the book as a whole clearly comes from a later time. The traditional Jewish view that Samuel began the book and Nathan and Gad completed it fits the evidence, though it is later tradition rather than inspired text.
Why is 2 Samuel anonymous?
It is anonymous because the text never names its author, and the same is true of Joshua, Judges, Ruth, and Kings. Old Testament narrative books were received as Scripture because of their prophetic content, not because they carried a named signature. The Hebrew tradition treated Samuel and Kings as one continuous account, divided later for convenience. The silence does not imply uncertainty about authority; it simply means we must rely on internal and external evidence rather than an explicit claim in the text itself.
Are Nathan and Gad the most likely authors?
They are the strongest candidates for the sources and the final compilation. First Chronicles 29:29 names the history of Nathan the prophet and the history of Gad the seer as accounts of David's acts from first to last. Both men appear in the narrative of 2 Samuel, Nathan confronting David over Bathsheba and Gad over the census. Their prophetic role and their access to David's court make them natural compilers of a book that preserves both David's deeds and his own words. We cannot prove it, but the evidence points there.