Short answer
Psalm 51 is a nineteen verse prayer for mercy after a serious wrong. The King James Version opens: "Have mercy upon me, O God, according to thy lovingkindness: according unto the multitude of thy tender mercies blot out my transgressions." The heading assigns it to David after Nathan confronted him over Bathsheba. Since Cassiodorus in the sixth century it has been counted among the seven penitential psalms, and Catholic and Orthodox books number it Psalm 50. It asks for cleansing and a new heart. In 2 Samuel 12, forgiveness comes with consequences attached, and the psalm's last two verses may date from after Jerusalem fell.
Bring your situation into the conversation
Begin with one honest sentence. Review it here, then send it when it is ready.
How this guide was reviewed
The PrayWithJesus.ai editorial team checked the scripture references, source links, safety language, and product claims on this page. This review is not a pastoral, theological, medical, or clinical endorsement. Source notes appear below so you can check the material directly.
A prayer for the night after you have been found out
God, I did it. I am not going to dress it up or spread it across other people. You saw it before anyone else did.
Wash what I cannot wash. Make something new in me, because the old thing did this. Do not send me away from you while I sort out the wreckage.
Show me who I have to face tomorrow and give me the nerve to go. Amen.
All nineteen verses of Psalm 51, King James Version
The heading above verse 1 is part of the Hebrew text, and the King James prints it in small type. The American Standard Version of 1901 renders it this way: "For the Chief Musician. A Psalm of David; when Nathan the prophet came unto him, after he had gone in to Bathsheba." The numbered text that follows is the King James Version, free of copyright in the United States.
1 Have mercy upon me, O God, according to thy lovingkindness: according unto the multitude of thy tender mercies blot out my transgressions.
2 Wash me throughly from mine iniquity, and cleanse me from my sin.
3 For I acknowledge my transgressions: and my sin is ever before me.
4 Against thee, thee only, have I sinned, and done this evil in thy sight: that thou mightest be justified when thou speakest, and be clear when thou judgest.
5 Behold, I was shapen in iniquity; and in sin did my mother conceive me.
6 Behold, thou desirest truth in the inward parts: and in the hidden part thou shalt make me to know wisdom.
7 Purge me with hyssop, and I shall be clean: wash me, and I shall be whiter than snow.
8 Make me to hear joy and gladness; that the bones which thou hast broken may rejoice.
9 Hide thy face from my sins, and blot out all mine iniquities.
10 Create in me a clean heart, O God; and renew a right spirit within me.
11 Cast me not away from thy presence; and take not thy holy spirit from me.
12 Restore unto me the joy of thy salvation; and uphold me with thy free spirit.
13 Then will I teach transgressors thy ways; and sinners shall be converted unto thee.
14 Deliver me from bloodguiltiness, O God, thou God of my salvation: and my tongue shall sing aloud of thy righteousness.
15 O Lord, open thou my lips; and my mouth shall shew forth thy praise.
16 For thou desirest not sacrifice; else would I give it: thou delightest not in burnt offering.
17 The sacrifices of God are a broken spirit: a broken and a contrite heart, O God, thou wilt not despise.
18 Do good in thy good pleasure unto Zion: build thou the walls of Jerusalem.
19 Then shalt thou be pleased with the sacrifices of righteousness, with burnt offering and whole burnt offering: then shall they offer bullocks upon thine altar.
The walls of Jerusalem in verse 18 and the exile dispute
The last two verses change the subject. After a prayer about one person's guilt, verse 18 asks God to "build thou the walls of Jerusalem," and verse 19 looks ahead to bulls on the altar again. Ellicott's Commentary records that Theodoret, a fifth century bishop, already said these words suited the exiles in Babylon better than David.
The Cambridge Bible goes further and treats verses 18 and 19 as an addition by the exiles, who adapted David's prayer to their own situation. The Pulpit Commentary answers that Jerusalem's fortifications were unfinished in David's time, so a king who feared that his sin might stall the work could have prayed for the walls himself. Barnes names De Wette, Doederlein, and Rosenmuller as the critics who dated the psalm, or this part of it, to the captivity, and he says their conclusion is not necessary.
Keil and Delitzsch concede that a liturgical addition made during the exile is a natural guess. They still argue that the whole psalm, closing verses included, was known to Isaiah and therefore older than the exile. John Kselman, writing in The Way, reads the entire psalm against a ruined Temple, where praise and a broken spirit took the place of sacrifice until the altar could be rebuilt.
That is a live disagreement, and this page does not resolve it. What it changes is small and practical. If verses 18 and 19 come from a later community, then one man's confession was taken up by a whole people as their own prayer, and synagogues and churches still pray it that way.
An individual lament with no enemy in it
Form critics sort the psalms into types. Nancy deClaissé-Walford, writing for Working Preacher, classifies Psalm 51 as an individual lament. Wikipedia's Psalms article, summarising Hermann Gunkel's categories, calls that the most common type and describes it as an invocation of God, a lament, pleas for help, and often a closing note of confidence. Church tradition gives it a second label. The name penitential psalms comes from the sixth century commentary of Cassiodorus, which groups it with Psalms 6, 32, 38, 102, 130, and 143.
Psalm 51 fits the lament shape and bends it. Laments usually have an enemy, a sickness, or a false accuser. This one has none. The trouble is entirely the speaker's own conduct, and the usual list of lament elements offers a choice between protesting innocence and admitting guilt. Psalm 51 takes the second option and stays there.
Alexander MacLaren points out that the opening uses three different Hebrew words for wrongdoing. Transgression means rebellion against a rightful authority. Iniquity means something twisted. Sin means missing a mark. The psalm moves from that confession in verses 1 to 6, through cleansing in 7 to 9 and a new heart in 10 to 12, to a vow to teach and sing in 13 to 15, and then to the question of sacrifice.
Knowing the form keeps a reader from expecting the wrong thing. A lament is a petition. It records what was asked and how confident the asker was, and any answer from God lies outside the poem.
Create in me a clean heart: the verb, the spirit, and Saul
Verse 10 is the line most people know from this psalm. The verb behind "create" is bara, the same verb as Genesis 1:1. Brown-Driver-Briggs defines it as shape, fashion, or create, always of divine activity, and lists the clean heart of Psalm 51 among the transformations God performs. The speaker wants something made that only God makes.
Verse 11 asks God not to take away "thy holy spirit." The King James prints holy spirit in lower case here, while the American Standard and the World English Bible capitalise Spirit. Hebrew has no capital letters, so the capital is a translator's decision about how to read the phrase. Albert Barnes says it is not certain David meant what later Christian doctrine means by the phrase, and adds that the words can properly carry that fuller sense.
John Gill and the Cambridge Bible both connect the fear to Saul, the king before David. First Samuel 16:14 says, "But the Spirit of the LORD departed from Saul." A king who had watched that happen to his predecessor had reason to pray this line.
Verse 17, the broken and contrite heart, shares its vocabulary with Psalm 34:18, which pairs a broken heart with a contrite spirit. This site has a separate page on that verse.
Against thee only, and the man who is missing from verse 4
Verse 4 is the hardest line in the psalm for a modern reader: "Against thee, thee only, have I sinned." If the heading is right, David had wronged Bathsheba and had a loyal soldier killed. Uriah does not appear anywhere in the poem.
Commentators split three ways. The Cambridge Bible says the words should not be pressed so hard as to exclude sin against people, because all sin is finally sin against God's law, and a king answered to God in a particular way. Barnes says the offence against God so filled David's view that he lost sight of its other dimensions for the moment. Ellicott reads the verse as the voice of the nation confessing a breach of the covenant, which removes the problem by removing David from the line.
Paul quotes the second half of the verse in Romans 3:4, and his wording differs from the King James psalm: "That thou mightest be justified in thy sayings, and mightest overcome when thou art judged." Ellicott and the Cambridge Bible both note that Paul is quoting the Greek Septuagint, which explains the change from "be clear when thou judgest."
Whichever reading you take, the verse describes how the speaker sees his guilt, and the people he hurt are still owed a reckoning of their own.
What Psalm 51 does not promise the person praying it
It does not promise that the damage goes away. In 2 Samuel 12:13 Nathan tells David, "The LORD also hath put away thy sin; thou shalt not die." The next verse continues: "the child also that is born unto thee shall surely die." Three verses earlier Nathan had said the sword would never depart from David's house. Forgiveness and consequence arrive in the same conversation.
It does not say the speaker's mother sinned. Verse 5 reads "in sin did my mother conceive me," and Barnes says plainly that the line casts no reflection on her. Benson's commentary calls it the general reading of Jewish and Christian interpreters that the verse confesses inherited sinfulness, and the Cambridge Bible reads it that way while warning that the speaker is not using his nature as an excuse. Ellicott records that some later rabbis read it as a claim that David was born of adultery, and he sets that reading aside.
It does not abolish sacrifice. Verse 16 says God does not delight in burnt offering, and verse 19 says God will be pleased with burnt offering again. Ellicott's comment is that the psalmist no more abrogates ceremonies than the prophets do. Hosea 6:6 makes the same kind of comparison: "For I desired mercy, and not sacrifice."
And it does not replace putting things right with people. In Matthew 5:23-24 Jesus tells a worshipper who remembers a grievance to leave the gift at the altar and "first be reconciled to thy brother."
Shapen, free spirit, bloodguiltiness: where King James and WEB split
Verse 5 in the King James says "I was shapen in iniquity." The American Standard has "brought forth" and the World English Bible has "born." The Hebrew verb is chul, which Strong's defines as to twist or whirl and, specifically, to writhe in pain, especially in childbirth. Barnes makes the same point. The line is about being born.
Verse 12 matters more. The King James asks God to "uphold me with thy free spirit." The American Standard and the World English Bible both read "a willing spirit." Barnes notes that the words "with thy" are not in the original, and Jamieson, Fausset and Brown say "thy" ought not to be supplied. Brown-Driver-Briggs glosses the phrase as a willing spirit. Keil and Delitzsch take it as the human spirit made willing, while Gill reads it as the Holy Spirit. Read one way the speaker asks for God's Spirit; read the other he asks to be made willing.
Verse 14 has "bloodguiltiness" where the World English Bible has "the guilt of bloodshed." The Hebrew is the plural of the word for blood, which Strong's notes is used especially of bloodshed. If the heading is right, this is the one place the psalm comes close to naming Uriah.
Verse 7 says "Purge me with hyssop" where the American Standard and WEB say "Purify." Hyssop was the plant Israel's purification rites used for sprinkling. Numbers 19:18 uses it to cleanse a person who had touched the dead.
Ash Wednesday, the Amidah, and the old neck-verse
Psalm 51 has a long life in public worship, and the uses are specific. The Catholic Liturgy of the Hours sets it for Morning Prayer every Friday, and parts of it are the responsorial psalm on Ash Wednesday. A priest may assign it as a penance after confession. Verse 7, which begins Asperges me in Latin, is traditionally sung while the priest sprinkles holy water before Mass.
In synagogue, verse 15 in English numbering, "O Lord, open thou my lips," is said before the Amidah at every prayer service. The Talmud in Yoma 86b uses verse 3, "my sin is ever before me," to teach that a penitent should stay watchful in the area where they failed even after confession. Eastern Orthodox Christians read it several times a day across the hours.
In English courts it had a stranger career. A defendant who could read the first verse could claim benefit of clergy and be moved to a church court, where the punishments were lighter. That is how Psalm 51:1 came to be called the neck-verse.
People reach for it now in moments like these. The affair has come out. The audit found what you did. You said something to your child that you cannot take back. You are standing in a confession line and cannot remember the words. Psalm 51 gives you sentences when your own have run out.
When guilt from Psalm 51 starts to fill the whole day
Rabbi Nachman of Breslov, who prized the broken heart of verse 17, also warned that for most people a broken heart held all day slides into depression. His advice, recorded in Rabbi Nachman's Wisdom, number 41, was to set aside a fixed time each day for heartbreak before God and to be joyful the rest of the day.
That is a useful test. If the guilt has stopped being a prayer and become the background of every hour, if you are not sleeping, or if you have started to think the people around you would be better off without you, that belongs to a doctor or a licensed counsellor. The Suicide and Crisis Lifeline answers at 988, by call or text, around the clock in the United States. If someone is in danger right now, call 911.
If what you did harmed another person, the psalm is where the repair starts, and the repair still has to happen. For the sacrament, call your parish and ask for a priest by name. For anything else, your own pastor is a phone call away.
PrayWithJesus.ai is software made by a company. Nobody in any church has approved what it says, and it has no authority to teach. Where your tradition reads Psalm 51 differently from this page, trust your tradition.
Questions for reflection
- 1What would my version of Nathan's parable be, and who would tell it to me?
- 2Is there a person I have folded into "thee only" so that I do not have to face them?
- 3Am I asking to be cleaned, or asking to be made new, and which do I need?
- 4Which consequence am I still hoping forgiveness will cancel?
- 5If I set aside a fixed time for this sorrow, what would I do with the rest of the day?
Common questions
What is Psalm 51 about?
It is a prayer for mercy from someone who knows he has done serious wrong. He confesses, asks to be washed and made new, promises to teach others and to praise God, and says a broken and contrite heart is the offering God will not despise. The heading ties it to David after Nathan confronted him over Bathsheba and Uriah.
Did David write Psalm 51?
The Hebrew heading says it is "of David" and places it after Nathan's visit in 2 Samuel 12. Barnes and the Pulpit Commentary accept that. The scholarly view summarised in Wikipedia's Psalms article does not treat the Davidic headings as historical fact, and the prayer for Jerusalem's walls in verse 18 leads the Cambridge Bible to treat at least the last two verses as an addition from the exile.
Why is Psalm 51 called Psalm 50 in Catholic Bibles?
The Greek Septuagint and the Latin Vulgate combine and divide some psalms differently from the Hebrew, so for most psalms between 10 and 147 their number runs one lower than the Hebrew. Catholic and Orthodox liturgical books follow that numbering, so this psalm is Psalm 50 there and is called the Miserere after its first Latin word.
What does "create in me a clean heart" mean in Psalm 51:10?
The verb is bara, the word used for God creating the heavens and the earth in Genesis 1:1, and Brown-Driver-Briggs describes it as always of divine activity. The speaker asks for a heart God makes new, which is a larger request than asking to be tidied up. The second half asks God to renew a right spirit, so the prayer is for a steady inner life going forward.
Why does David say "Against thee, thee only, have I sinned" when he wronged Uriah?
Commentators disagree. The Cambridge Bible says all sin is finally sin against God and the words should not be pressed to exclude people. Barnes says the offence against God filled David's view for the moment. Ellicott reads the verse as Israel confessing as a nation. None of them claim it excuses the wrong done to Uriah and Bathsheba.
Is Psalm 51:5 about original sin?
Benson's commentary says Jewish and Christian interpreters have generally read it that way. The Cambridge Bible reads it as a confession of inherited sinfulness, and Barnes says it describes a corruption running back to the start of life. Barnes adds that the line casts no reflection on the speaker's mother. The Hebrew verb behind "shapen" is about birth pains, so the World English Bible renders it "born in iniquity."
What is hyssop in Psalm 51:7?
A small plant used in Israel's purification rites. Brown-Driver-Briggs suggests a kind of wild marjoram. At Passover a bunch of it was dipped in blood and struck on the lintel and doorposts in Exodus 12:22, and in Numbers 19:18 it sprinkles water on a person made unclean by contact with the dead. The psalmist asks God to perform that cleansing on him directly.
When is Psalm 51 prayed?
Catholics pray it at Morning Prayer every Friday and hear it on Ash Wednesday. Verse 15, "O Lord, open thou my lips," is said just before the Amidah in Jewish prayer. Orthodox Christians read it several times a day. Many people also pray it privately before confession or after a wrong has come to light.
Continue in your own words
Bring your specific situation into the conversation. Keep scripture open and verify important answers with a trusted person.
Sources and further reading
- Psalm 51, King James Version
Source of the full chapter printed above, including shapen in verse 5 and thy free spirit in verse 12.
- Psalm 51, World English Bible
The modern public domain wording used for comparison, including born in iniquity and a willing spirit.
- Psalm 51, American Standard Version
The 1901 wording, with brought forth in verse 5 and holy Spirit capitalised in verse 11.
- Psalm 51 heading, American Standard Version
The 1901 wording of the Psalm 51 heading, which this text service files at the end of Psalm 50.
- 2 Samuel 12:1-14, King James Version
Nathan's parable, David's confession, and the death of the child announced alongside forgiveness.
- Public domain commentaries on Psalm 51:4
Cambridge on the two word confession and sin against God, Barnes on the moment of focus, and Ellicott and Cambridge on the national reading and Paul's use of the Septuagint.
- Public domain commentaries on Psalm 51:5
Barnes on chul and the mother, Benson and Cambridge on inherited sinfulness, and Ellicott on the later rabbinic reading about David's birth.
- Public domain commentaries on Psalm 51:11
Barnes on what David meant by thy holy spirit, and Gill and Cambridge on the fear of Saul's fate.
- Public domain commentaries on Psalm 51:12
Barnes, Jamieson Fausset and Brown, and Pulpit on the missing thy, with Keil and Delitzsch and Gill taking opposite sides.
- Public domain commentaries on Psalm 51:18
Ellicott citing Theodoret and on ceremonies, Cambridge on an exilic addition, Barnes on De Wette and Rosenmuller, Pulpit on David's unfinished walls, and Keil and Delitzsch on Isaiah's echoes.
- Psalm 51 commentary, MacLaren and others
MacLaren on transgression, iniquity, and sin as three separate words in the opening verses.
- Strong's Hebrew 1254, bara
Brown-Driver-Briggs defines the verb as always of divine activity and lists the clean heart of Psalm 51 among its uses.
- Strong's Hebrew 5081, nadib
Brown-Driver-Briggs glosses the phrase in verse 12 as a willing spirit.
- Strong's Hebrew 2342, chul
The verb behind shapen, with the sense of writhing in childbirth.
- Strong's Hebrew 1818, dam
The word for blood, used in the plural for bloodshed, behind bloodguiltiness in verse 14.
- Strong's Hebrew 231, ezob
Hyssop, with Brown-Driver-Briggs on wild marjoram and its use in Exodus 12:22.
- Commentary on Psalm 51:1-10, Working Preacher
Nancy deClaissé-Walford classifies Psalm 51 as an individual lament, ties the heading to 2 Samuel 11 and 12, and reads the psalm as the rest of David's words.
- The Psalms and Modern Biblical Studies, John S. Kselman
Reads Psalm 51 against a destroyed Temple, with prayer and a broken spirit standing in for sacrifice.
- Psalm 51
Septuagint numbering, Yoma 86b, the Amidah, Catholic and Orthodox liturgical use, and the neck-verse, summarised with citations.
- Psalms
Superscriptions, the 73 psalms headed of David, the scholarly view of Davidic authorship, and Gunkel's description of individual laments.
- Penitential psalms
Cassiodorus and the list of the seven, with Psalm 51 numbered 50 in the Latin.
- The difference between heartbreak and depression, Breslov Research Institute
Quotes Rabbi Nachman's Wisdom number 41 on setting aside a fixed time each day for a broken heart.
- 988 Suicide and Crisis Lifeline
A free, confidential line for calls and texts, open day and night.
