Skip to content

    Belief

    How to Repent in Islam: The Steps of Tawbah

    To repent in Islam you stop the sin, regret it, resolve not to go back, and put right anything you owe people. The steps of tawbah, the two-rak'ah repentance prayer, and why no sin is too big.

    Al Hidayah Institute7 min read

    The sun low over a calm sea, its light reflected on the water
    On this page

    To repent in Islam, you stop the sin, regret doing it, sincerely resolve not to go back to it, and, if it wronged another person, put right what you owe them. Then you ask Allah for forgiveness. No priest or witness is needed, and there's no sin too big for it. You can also pray two rak'ahs of repentance, which the Prophet ﷺ taught, but your tawbah is valid without them.

    If you're reading this with a heavy heart because of something you did, you're in the right place. The fact that it bothers you is a good sign. Here's exactly what to do, and why you can have real hope.

    What tawbah means

    Tawbah means "returning". When you repent, you turn back to Allah after turning away from Him. The same word is used for Allah's side of it: He's at-Tawwab, the one who keeps turning back to His servants with forgiveness. So repentance is a meeting in the middle, and Allah has told you He's already waiting:

    Quran, Az-Zumar 39:53

    ۞ قُلْ يَـٰعِبَادِىَ ٱلَّذِينَ أَسْرَفُوا۟ عَلَىٰٓ أَنفُسِهِمْ لَا تَقْنَطُوا۟ مِن رَّحْمَةِ ٱللَّهِۚ إِنَّ ٱللَّهَ يَغْفِرُ ٱلذُّنُوبَ جَمِيعًاۚ إِنَّهُۥ هُوَ ٱلْغَفُورُ ٱلرَّحِيمُ ٥٣

    Say, "O My servants who have transgressed against themselves [by sinning], do not despair of the mercy of Allāh. Indeed, Allāh forgives all sins. Indeed, it is He who is the Forgiving, the Merciful."

    Translation: Saheeh International. Recitation: Mishary al-Afasy.

    "All sins" means all of them, as long as you repent before death. Scholars say this is one of the most hopeful ayat in the Quran. There's a short definition in our glossary under tawbah.

    The steps of tawbah

    Scholars drew these conditions from the Quran and Sunnah. The first three apply to every sin. The fourth applies when someone else was wronged.

    1. Stop. You can't repent from something while you're still doing it. Leave the sin now, not "after this last time".
    2. Regret. Feel genuinely sorry that you disobeyed Allah. Not just embarrassed that you got caught, but sorry you did it.
    3. Resolve. Firmly intend not to go back to it. You don't have to be certain you'll never fall into it again; you have to mean it right now.
    4. Restore rights. If the sin involved another person, give back what you took, pay the debt, or ask their forgiveness where that's possible and safe.

    The Quran describes the people Allah forgives in a way that maps onto those steps: they remember Allah, ask forgiveness, and "do not persist in what they have done while they know" (3:135). It calls the real thing tawbah nasuha, sincere repentance:

    Quran, At-Tahrim 66:8

    يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ تُوبُوٓا۟ إِلَى ٱللَّهِ تَوْبَةً نَّصُوحًا عَسَىٰ رَبُّكُمْ أَن يُكَفِّرَ عَنكُمْ سَيِّـَٔاتِكُمْ وَيُدْخِلَكُمْ جَنَّـٰتٍ تَجْرِى مِن تَحْتِهَا ٱلْأَنْهَـٰرُ يَوْمَ لَا يُخْزِى ٱللَّهُ ٱلنَّبِىَّ وَٱلَّذِينَ ءَامَنُوا۟ مَعَهُۥۖ نُورُهُمْ يَسْعَىٰ بَيْنَ أَيْدِيهِمْ وَبِأَيْمَـٰنِهِمْ يَقُولُونَ رَبَّنَآ أَتْمِمْ لَنَا نُورَنَا وَٱغْفِرْ لَنَآۖ إِنَّكَ عَلَىٰ كُلِّ شَىْءٍ قَدِيرٌ ٨

    O you who have believed, repent to Allāh with sincere repentance. Perhaps your Lord will remove from you your misdeeds and admit you into gardens beneath which rivers flow [on] the Day when Allāh will not disgrace the Prophet and those who believed with him. Their light will proceed before them and on their right; they will say, "Our Lord, perfect for us our light and forgive us. Indeed, You are over all things competent."

    Translation: Saheeh International. Recitation: Mishary al-Afasy.

    What if I can't put things right with the person?

    Sometimes you can't. The person has died, you've lost touch, or contacting them would cause more harm. Scholars give practical advice here: return stolen money anonymously if you can, or give it to their heirs; if you really can't find them, give it in charity on their behalf. For things like backbiting, many scholars say that if telling the person would only hurt them, you make dua for them and speak well of them in the places where you spoke badly. If you're unsure about your case, talk to your local imam in confidence.

    Should I confess to people?

    No. Islam doesn't ask you to tell anyone about sins that were between you and Allah, and it actively discourages it. Allah covered it, so leave it covered. The Prophet ﷺ described someone who sins at night while "Allah screens it from the public", then the next morning tells people what they did:

    he comes in the morning, and says, 'O so-and-so, I did such-and-such (evil) deed yesterday,' though he spent his night screened by his Lord (none knowing about his sin) and in the morning he removes Allah's screen from himself.

    Sahih al-Bukhari 6069Sahih

    Narrated by Abu Hurayrah. Shortened.

    Repentance is between you and Allah. You don't need a witness.

    The prayer of repentance (salat at-tawbah)

    Abu Bakr as-Siddiq reported this from the Prophet ﷺ:

    When a servant (of Allah) commits a sin, and he performs ablution well, and then stands and prays two rak'ahs, and asks pardon of Allah, Allah pardons him. He then recited this verse: "And those who, when they commit indecency or wrong their souls, remember Allah" (Al-Qur'an 3:135).

    Sunan Abi Dawud 1521Sahih

    Narrated by Abu Bakr as-Siddiq. Shortened. Graded sahih by al-Albani.

    Here's how to do it:

    1. Make wudu carefully. Our wudu guide walks through each step.
    2. Pray two rak'ahs, like any two-rak'ah voluntary prayer. There's no special surah you have to recite. Intend it as a prayer of repentance.
    3. After the prayer, or in your sujud, ask Allah for forgiveness for the specific sin, in any language.
    4. Avoid the times when voluntary prayer is discouraged: after you've prayed Fajr until shortly after sunrise, just before midday, and after you've prayed Asr until sunset.

    Many people find it easier to do this at night, in the last part of the night when it's quiet. That's a good time, but any permitted time works.

    What to say when you repent

    The simplest words are astaghfirullah wa atubu ilayh: "I seek Allah's forgiveness and I turn to Him in repentance." The Prophet ﷺ said this himself, constantly:

    By Allah! I ask for forgiveness from Allah and turn to Him in repentance more than seventy times a day.

    Sahih al-Bukhari 6307Sahih

    Narrated by Abu Hurayrah.

    You can also use your own words, in your own language. Allah understands every language and every unspoken thought. If you'd like to learn the duas the prophets used, we've collected them with their Arabic and meaning in dua for forgiveness, including Sayyid al-Istighfar, the dua the Prophet ﷺ called the best way to ask.

    Allah is happy when you return

    This hadith is worth reading slowly. The Prophet ﷺ compared Allah's joy at a servant's repentance to a man who loses his camel, with all his food and water, in the desert:

    Allah is more pleased with the repentance of a servant as he turns towards Him for repentance than this that one amongst you is upon the camel in a waterless desert and there is upon (that camel) his provision of food and drink also and it is lost by him

    Sahih Muslim 2747Sahih

    Narrated by Anas ibn Malik. Shortened.

    The man gives up hope and lies down in the shade, sure the camel is gone for good. Then he looks up and the camel is standing in front of him. He grabs its rope and, in his joy, gets the words backwards: "O Allah, You are my servant and I am Your Lord."

    Allah's joy at your return is greater than that man's. You're not dragging yourself before an angry judge. You're coming back to a Lord who's glad to see you.

    What if I keep falling into the same sin?

    Then keep repenting. This is the question that worries people most, and the answer is very clear. The Prophet ﷺ described a servant who sinned, asked forgiveness and was forgiven, then sinned again and asked again, and again:

    My servant committed a sin and then came to realise that he has a Lord Who would forgive his sin or would take (him) to account for the sin.

    Sahih Muslim 2758Sahih

    Narrated by Abu Hurayrah. Shortened; part of a hadith qudsi.

    Each time he turned back, Allah forgave him. Scholars point out this isn't permission to sin. It's a reason never to stop coming back, because shaytan's favorite trick is to persuade you that you're too far gone to bother. The Prophet ﷺ also said that if people didn't sin, Allah would replace them with people who sin and then seek His forgiveness, and He would forgive them (Sahih Muslim 2749). Falling and returning is part of being human. Staying away is the real danger.

    Practically, look at what leads you to the sin and cut off the route: the app, the friend, the time of night. Fill the gap with something good. And be patient with yourself while the habit weakens.

    Is there a deadline?

    Two, and both are far off for most of us. For each person, repentance is accepted until the moment of death:

    Indeed Allah accepts the repentance of a slave as long as (his soul does not reach his throat).

    Jami' at-Tirmidhi 3537Hasan

    Narrated by Ibn 'Umar. Graded hasan (Darussalam).

    The Quran says the same in 4:17-18: repentance at the last moment, when death is already arriving, isn't accepted. For the world as a whole, the door closes when the sun rises from the west, one of the major signs before the Day of Judgement (Sahih Muslim 2759). Until then, Allah "stretches out His Hand" by night and by day for those who want to come back.

    If you're new to Islam

    Everything you did before your shahada is wiped clean by Islam itself; you don't need to repent from each thing separately. We explain that in are your sins before shahada forgiven? What you owe people from before, like debts, you still pay. From your shahada on, tawbah is how you deal with the mistakes every Muslim makes.


    Repentance is a matter of the heart, and so is staying away from the sin afterwards. Our course Purifying the Heart looks at what's going on inside: envy, pride, showing off, despair, and how to treat each one using the Quran and Sunnah. If you've just repented, it's a good next step.

    Start Purifying the Heart

    Questions people ask

    What are the conditions of tawbah?

    Stop the sin, regret it, resolve not to return to it, and, if another person was wronged, give back their right or seek their forgiveness. Tawbah must also come before death.

    Will Allah forgive me?

    If you repent sincerely, yes. Allah says "do not despair of the mercy of Allah. Indeed, Allah forgives all sins" (39:53). No sin is too big for repentance.

    How do you pray salat at-tawbah?

    Make wudu well, pray two rak'ahs, then ask Allah for forgiveness. It comes from Sunan Abi Dawud 1521, graded sahih by al-Albani. No special surahs are required.

    Does Allah forgive the same sin again and again?

    Yes, as long as each repentance is sincere. In Sahih Muslim 2758, a servant sins and repents repeatedly, and each time Allah forgives him.

    Do I have to confess my sins to someone?

    No. Repentance is between you and Allah, and the Prophet ﷺ discouraged revealing sins that Allah has covered (Sahih al-Bukhari 6069).

    What is the difference between istighfar and tawbah?

    Istighfar is asking Allah for forgiveness. Tawbah is the full return: leaving the sin, regretting it and resolving not to go back. Istighfar is part of tawbah.

    Written by

    Al Hidayah Institute

    The teaching team at Al Hidayah Institute.

    Discussion

    Questions and reflections are welcome. Be kind; our team reads along.

    Sign in to join the discussion.

    No comments yet. If something here raised a question, ask it.

    Two worn old books stacked on a wooden table

    Islam and Christianity: Similarities and Key Differences

    Islam and Christianity share one God, Abraham, the prophets, Mary and Jesus as the Messiah. They differ on the Trinity, whether Jesus is divine, the crucifixion, scripture and salvation. A respectful side-by-side.

    A long vaulted stone passage lit by warm lamps

    Do Muslims and Christians Worship the Same God?

    Muslims believe there's only one God, the God of Abraham, and the Quran tells Christians "our God and your God is one". Where Islam differs is in how God is described: one, with no Trinity and no son.

    A wooden hourglass with blue sand running through it

    Belief in Qadr: Does Islam Teach Fate or Free Will?

    Qadr is the belief that Allah knows, has written, wills and creates everything that happens. Here's how that fits with real human choice, what the Prophet ﷺ told people who asked "why act at all?", and what qadarullah means.