Do Muslims confess their sins to an imam? Do I have to tell anyone?

Sin, repentance and hopeQuran · 3Sources · 2

Short answer

No. Islam has no priests and no confession. A Muslim repents directly to Allah, privately and at any time, and an imam is a prayer leader and teacher, not a go-between. The only exception is a wrong done to another person, which is put right with that person by returning what is owed or asking their forgiveness.

The fuller answer

In Islam there is no clergy who forgive sins, and no ritual that must be performed by someone else for forgiveness to happen. Allah says that when His servants ask about Him, He is near, and the Quran describes Him as the One who accepts repentance from His servants and pardons evil deeds. An imam leads the prayer, may give the Friday sermon and teaches, but forgiveness is from Allah alone, asked for in the believer's own words. Christians differ among themselves on confession: in the Catholic tradition a priest gives absolution, while most Protestant churches teach that believers confess to God directly. Islam is closer to the second approach, with the difference that it has no priestly office at all.

Muslims are also taught not to announce their sins. The Prophet Muhammad ﷺ said that all of his community will be pardoned except those who expose their sins openly, such as a person who does something at night, wakes up after Allah has covered him, and then tells people what he did. So the usual guidance is to keep it between you and Allah, stop, ask forgiveness and change, and not to confess the details to friends or post them online.

Another person becomes involved in two cases. First, if you wronged someone, the Prophet ﷺ taught that you should settle it with them today, before a day when there is no money to pay with and wrongs are settled from good deeds, so you return what you took or ask their forgiveness. Second, if you are struggling and need advice, for example on how to leave a habit or how to make amends, it is fine to talk to a trusted scholar, counsellor or doctor. They are not there to absolve you but to help you, because your repentance is between you and your Lord.

From the Quran

وَإِذَا سَأَلَكَ عِبَادِى عَنِّى فَإِنِّى قَرِيبٌ ۖ أُجِيبُ دَعْوَةَ ٱلدَّاعِ إِذَا دَعَانِ ۖ فَلْيَسْتَجِيبُوا۟ لِى وَلْيُؤْمِنُوا۟ بِى لَعَلَّهُمْ يَرْشُدُونَ ﴿١٨٦﴾

And when My servants question thee concerning Me, then surely I am nigh. I answer the prayer of the suppliant when he crieth unto Me. So let them hear My call and let them trust in Me, in order that they may be led aright.

وَهُوَ ٱلَّذِى يَقْبَلُ ٱلتَّوْبَةَ عَنْ عِبَادِهِۦ وَيَعْفُوا۟ عَنِ ٱلسَّيِّـَٔاتِ وَيَعْلَمُ مَا تَفْعَلُونَ ﴿٢٥﴾

And He it is Who accepteth repentance from His bondmen, and pardoneth the evil deeds, and knoweth what ye do,

وَلَقَدْ خَلَقْنَا ٱلْإِنسَٰنَ وَنَعْلَمُ مَا تُوَسْوِسُ بِهِۦ نَفْسُهُۥ ۖ وَنَحْنُ أَقْرَبُ إِلَيْهِ مِنْ حَبْلِ ٱلْوَرِيدِ ﴿١٦﴾

We verily created man and We know what his soul whispereth to him, and We are nearer to him than his jugular vein.

Sources