"But your iniquities have separated you from your God; your sins have hidden his face from you, so that he will not hear."
— Isaiah 59:2
Quick Answer
Yes. Scripture teaches that sin you are knowingly clinging to, rather than confessing and repenting of, can hinder your prayers (Psalm 66:18; Isaiah 59:2). This does not mean every unanswered prayer is caused by sin, but persistent, unrepentant sin damages the relationship prayer depends on. Confession restores it (1 John 1:9).
A Question That Deserves an Honest Answer
If you are asking this question, you are probably not asking out of idle curiosity. You are likely staring at a prayer that seems unanswered, wondering whether something you have done, or something you are still doing, is the reason. That kind of self-examination can be healthy. It can also spiral into a punishing, anxious hunt for hidden sin behind every quiet season of prayer. The Bible gives a real answer here, one that avoids both extremes.
Yes, unconfessed sin can hinder prayer. But understanding exactly what that means, and what it does not mean, matters enormously for how you carry this truth.
What the Bible Actually Says
David wrote that if he had cherished sin in his heart, the Lord would not have listened (Psalm 66:18). Isaiah told the people of Judah even more directly that their iniquities had separated them from their God, and their sins had hidden his face from them, so that he would not hear (Isaiah 59:2). These are not isolated verses; the pattern runs throughout Scripture — sin creates real relational distance, and prayer depends on relationship.
Proverbs adds a similarly blunt warning: if anyone turns a deaf ear to instruction, even their prayers are detestable (Proverbs 28:9). The picture across these texts is consistent: God is not obligated to eagerly answer someone who is actively, deliberately ignoring him in one area of life while asking for his help in another.
The Difference Between Struggling With Sin and Cherishing It
This is the crucial distinction. Every Christian still sins; Scripture is emphatic that if we claim to be without sin, we deceive ourselves and the truth is not in us (1 John 1:8). If unconfessed sin in the sense of ongoing imperfection blocked prayer, no one could ever pray, since none of us reaches perfect holiness this side of heaven.
The word cherished in Psalm 66:18 points to something more specific: protecting sin, refusing to call it what it is, or planning to keep doing it while still expecting God’s blessing. A believer who stumbles into sin and grieves over it, wanting to change, is in an entirely different position than someone knowingly indulging sin while treating prayer as unrelated to how they are actually living.
This Is Not About Earning God’s Attention
It is worth being careful here, because this truth can easily curdle into a works-based anxiety: if I am good enough, God listens; if I fail, he does not. That is not the gospel. Your standing before God is secured entirely by Christ’s righteousness, not your performance (2 Corinthians 5:21). What unconfessed, cherished sin damages is not your salvation, but the day-to-day intimacy and freedom of your relationship with God, much like a child who has lied to a parent and is avoiding them still belongs to that family, but the relationship feels strained until it is addressed.
This truth is meant to draw you toward greater honesty with God, not toward more careful performance in front of him. A parent who disciplines a child for lying is not rejecting that child; the discipline exists precisely because the relationship matters enough to protect. In the same way, the discomfort of feeling distant from God over unconfessed sin is not evidence he has abandoned you; it is often evidence he still cares enough about the relationship to let you feel what cherished sin costs, so that you will come back to him rather than settle into the distance.
The Danger of Hiding Instead of Confessing
David described the misery of the alternative to confession sharply: when I kept silent, my bones wasted away through my groaning all day long (Psalm 32:3). Hiding sin does not simply fail to fix the problem; it actively drains a person, weighing on the conscience and clouding fellowship with God long before it ever shows up as an obviously blocked prayer. David goes on to describe the relief that came the moment he stopped hiding, saying, then I acknowledged my sin to you and did not cover up my iniquity, and you forgave the guilt of my sin (Psalm 32:5).
This is worth remembering because unconfessed sin rarely announces itself loudly. More often it shows up as a vague heaviness, a reluctance to pray honestly, or a habit of praying about everything except the one thing you know needs to be named. If prayer has started to feel like something to get through rather than a relationship to enjoy, it is worth quietly asking God whether something specific is being avoided rather than confessed.
How Confession Restores Access
The remedy is not despair or self-punishment; it is confession. If we confess our sins, he is faithful and just to forgive us our sins and to cleanse us from all unrighteousness (1 John 1:9). Confession simply means agreeing with God about what he already knows is true, naming the sin honestly, without excuses, and turning from it. The moment you do, the barrier described in Psalm 66:18 has no more grip.
This is why David, after his sin with Bathsheba, prayed for God to create in him a pure heart (Psalm 51:10) rather than hiding. His prayer life was restored not by achieving perfection but by honest confession.
If You’re Not Sure What’s Wrong
If you sense unanswered prayer but cannot identify specific sin, pray David’s other prayer, asking God to search you and know your heart, to test you and know your anxious thoughts, and to see if there is any offensive way in you, leading you in the way everlasting (Psalm 139:23-24). Let God show you rather than combing through guilt on your own.
And remember, most unanswered prayer has nothing to do with sin at all; it is simply God’s sovereign wisdom and timing. Unconfessed sin is a real category the Bible names, but it is not the explanation for every silence.