Everyone has said something that cannot be unsaid, or done something they are ashamed of. Psalm 51 puts words to that moment. According to its title, King David wrote it, and he wrote it on the worst day of his life. It is a short psalm, only 19 verses, and many people can quote a line of it without ever having read the whole thing. It is printed below in full, in the Berean Standard Bible, followed by a section-by-section explanation in everyday language.

Psalm 51 in full

“Have mercy on me, O God, according to Your loving devotion; according to Your great compassion, blot out my transgressions. Wash me clean of my iniquity and cleanse me from my sin. For I know my transgressions, and my sin is always before me. Against You, You only, have I sinned and done what is evil in Your sight, so that You may be proved right when You speak and blameless when You judge. Surely I was brought forth in iniquity; I was sinful when my mother conceived me. Surely You desire truth in the inmost being; You teach me wisdom in the inmost place.”
Psalm 51:1-6 (BSB)
“Purify me with hyssop, and I will be clean; wash me, and I will be whiter than snow. Let me hear joy and gladness; let the bones You have crushed rejoice. Hide Your face from my sins and blot out all my iniquities. Create in me a clean heart, O God, and renew a right spirit within me. Cast me not away from Your presence; take not Your Holy Spirit from me. Restore to me the joy of Your salvation, and sustain me with a willing spirit.”
Psalm 51:7-12 (BSB)
“Then I will teach transgressors Your ways, and sinners will return to You. Deliver me from bloodguilt, O God, the God of my salvation, and my tongue will sing of Your righteousness. O Lord, open my lips, and my mouth will declare Your praise. For You do not delight in sacrifice, or I would bring it; You take no pleasure in burnt offerings. The sacrifices of God are a broken spirit; a broken and a contrite heart, O God, You will not despise. In Your good pleasure, cause Zion to prosper; build up the walls of Jerusalem. Then You will delight in righteous sacrifices, in whole burnt offerings; then bulls will be offered on Your altar.”
Psalm 51:13-19 (BSB)

What happened before Psalm 51? The title and the story of David

The psalm carries a title that says when it was written. In the Berean Standard Bible it reads:

“For the choirmaster. A Psalm of David. When Nathan the prophet came to him after his adultery with Bathsheba.”
Psalm 51, title (BSB)

The full story is in 2 Samuel 11 and 12. David was king and stayed in Jerusalem while his army was at war. He saw Bathsheba, the wife of one of his soldiers, sent for her, and slept with her. When he learned she was pregnant, he tried to cover it up. When that failed, he arranged for her husband, Uriah, to be placed at the front of the battle so he would be killed. He was. Months went by without David saying a word.

Then God sent the prophet Nathan, who told David a simple story about a rich man who took a poor man's one little lamb. David was furious at that man, and Nathan told him that man was David himself. In 2 Samuel 12:13, David answers with one short sentence of confession: he has sinned against the LORD. Psalm 51 is what David prayed after that conversation. To meet the whole man, with his victories and his falls, read the story of David.

Verses 1 and 2: asking for mercy with no excuses

“Have mercy on me, O God, according to Your loving devotion; according to Your great compassion, blot out my transgressions.”
Psalm 51:1 (BSB)

David starts with the only thing he can ask for: mercy. He leaves out his merits, his years of service, and what others have done, and leans on who God is, full of 'loving devotion' and 'great compassion.' The word 'blot out' is what you do when you wipe a chalkboard clean. Verse 2 adds two laundry words, 'wash' and 'cleanse,' and the phrase 'wash me clean' describes a cleaning that David knows will take more than one scrub.

Verses 3 to 6: facing the whole truth

After months of silence, David stops hiding. He says his sin is 'always before me.' That describes a conscience that will not switch off, something many people know well: the scene replays in the head at night, in the shower, in the quiet.

Verse 4 surprises, because David had hurt Bathsheba, Uriah, and the whole nation, and yet he says: 'Against You, You only, have I sinned.' Scholars read this in several ways. One common reading is that David recognizes that, above the harm done to people, the law he broke was God's, and only God can give final forgiveness. Nothing in the psalm removes David's responsibility toward the people he hurt.

Verse 5, 'Surely I was brought forth in iniquity; I was sinful when my mother conceived me,' has been read two ways. Part of the Christian tradition sees here the idea that everyone is born with a tendency toward sin. Others take it as a poetic way of saying 'this goes all the way down to my roots and I cannot fix it alone.' Both readings agree on the practical point: David stops saying 'it was a mistake' and starts talking about his own heart. Verse 6 closes the section with a gentle promise: 'You desire truth in the inmost being,' and right there God teaches wisdom.

Verses 7 to 9: asking God to clean what we cannot clean

Hyssop was a small plant used in Israel's purification rituals, for example in Leviticus 14 and Numbers 19. David asks for that ritual in his own words: 'Purify me with hyssop, and I will be clean.' The next image, 'whiter than snow,' is one of the loveliest in the psalm. For a desert people, snow was rare and its whiteness almost unreal.

Verse 8 has a deeply human detail: David speaks of 'the bones You have crushed.' Anyone who has carried a heavy guilt knows it weighs on the body, on sleep, and on mood. He asks to hear 'joy and gladness' because he misses them, and verse 9 ends with the request that God stop looking at his sins: 'Hide Your face from my sins.'

Verses 10 to 12: the new heart

“Create in me a clean heart, O God, and renew a right spirit within me.”
Psalm 51:10 (BSB)

This is the most repeated verse of the psalm, and the verb matters. In Hebrew, 'create' is the same verb that opens the Bible in Genesis 1:1, and in the Old Testament it has only God as its subject. David knows that tidying himself up a little will not be enough, so he asks for something only God can do: a heart made new. Then he asks for a 'right spirit,' one that is steady and does not bend at the next temptation.

Verse 11 is one of the most fearful: 'Cast me not away from Your presence; take not Your Holy Spirit from me.' David had watched Saul, his predecessor, lose God's favor (1 Samuel 16:14), and he fears the same. Verse 12 asks for the return of 'the joy of Your salvation' and a 'willing spirit' to hold him up. A willing spirit is the kind that obeys gladly, without dragging its feet.

Verses 13 to 15: what David promises to do with his forgiveness

Here the psalm turns outward. David promises: 'Then I will teach transgressors Your ways.' Someone who has been forgiven can talk with others who failed, because they know how it feels. Verse 14 mentions 'bloodguilt,' the only time David names the death of Uriah. He asks to be freed from that guilt so he can sing again. Verse 15 sounds like a prayer for every morning: 'O Lord, open my lips, and my mouth will declare Your praise.'

Verses 16 to 19: the sacrifice God receives

“The sacrifices of God are a broken spirit; a broken and a contrite heart, O God, You will not despise.”
Psalm 51:17 (BSB)

David says God takes no delight in sacrifice at this moment, and he adds that he would bring one if it would help. An animal on the altar could not undo what had happened. What God receives is a broken and humble heart, and that is the point of verse 17. It is one of the most comforting lines in the whole Bible: when someone arrives broken and with nothing to offer, God does not despise them.

Verses 18 and 19 change tone and speak of Zion and the walls of Jerusalem. Some scholars think these lines were added later, when the people were returning from exile and the city needed rebuilding. Others believe David, as king, was also praying for his nation, which had suffered the consequences of his failure. The psalm ends with the hope that sacrifices will again be offered with joy.

Psalm 51 at a glance: section, theme, key verse

SectionThemeKey verse
Verses 1-2Asking for mercy and washing, no excusesVerse 1: 'Have mercy on me, O God'
Verses 3-6Admitting the sin before GodVerse 4: 'Against You, You only, have I sinned'
Verses 7-9Asking for cleansing and joyVerse 7: 'wash me, and I will be whiter than snow'
Verses 10-12Asking for a new heartVerse 10: 'Create in me a clean heart, O God'
Verses 13-15Promising to teach what was learnedVerse 13: 'Then I will teach transgressors Your ways'
Verses 16-19Offering a broken heartVerse 17: 'a broken and a contrite heart, O God, You will not despise'

How can you pray with Psalm 51 today?

The psalm works as a borrowed prayer. When you are ashamed, your own words may not come, and David's are already written. Here is a simple five-step way that follows the order of the psalm:

  1. 01Say what happened, in your own words and without decoration. David did this in verses 3 and 4.
  2. 02Ask for mercy, leaning on who God is and on what he offers. Repeat verse 1 slowly.
  3. 03Ask for a new heart. Verse 10 fits in one breath and can be prayed in the car, on the train, or before sleep.
  4. 04If you owe someone an apology, make it your next step. The psalm asks God for forgiveness, and repairing things with people is still in your hands.
  5. 05Finish with thanks, as in verses 14 and 15, and open your lips in praise.

A short prayer to start with, in everyday language: 'God, I messed up and it weighs on me. Have mercy on me. Clean me on the inside and give me a new heart. Stay with me. Teach me to do what is right and give me back my joy. Amen.'

Psalm 51 on Ash Wednesday and during Lent

Psalm 51 is the psalm of repentance above all others, which is why it has a fixed place in Lent, the forty days of preparation before Easter. Catholic worship reads it every Ash Wednesday, the first day of that season. In the Latin tradition it is known as the 'Miserere,' from its first words in Latin, 'Miserere mei, Deus,' meaning 'have mercy on me, O God.' In the Vulgate numbering it appears as Psalm 50.

In 2027, Ash Wednesday falls on February 10 and Easter on March 28. Starting February 10, there are many ways to use the psalm without overhauling your life: read one section a week across the six weeks of Lent (the six sections in the table fit exactly), pray only verse 10 each morning, or set aside Friday evening to read it aloud in full. Churches that do not observe Lent, including many evangelical ones, also find the psalm useful at any time of year when a fresh start is needed.

What to read after Psalm 51

If Psalm 51 spoke to you, you may want to continue with Psalm 23, which shows God as a shepherd who stays close, and Psalm 139, about a God who knows a person completely and does not walk away. For shorter texts, Bible verses about forgiveness gathers lines for every situation. And to see where this psalm sits among the others, look at the most popular psalms.