Duas to Recite Before an Exam
Quick Answer
The 4 most common duas to recite before an exam: 1) Surah Ta-Ha, verses 25-28 (19 times): 'Rabbi'shrah li sadri wa yassir li amri...' (My Lord, expand my chest and ease my task for me). 2) Surah Al-Isra, verse 80 (10 times): 'Rabbi adkhilni mudkhala sidqin...'. 3) 'Ya Hayyu Ya Qayyum bi-rahmatika astaghith' (10 times). 4) The Prophet's dua for beneficial knowledge: 'Allahumma'nfa'ni bima 'allamtani...'.
Why Dua Before an Exam Matters
Exam stress tires the mind and disrupts concentration. Dua is an important tool at such a moment, offering both spiritual support and a way to calm the mind. The Prophet (peace be upon him) recommended turning to Allah at difficult moments.
⚠️ An important note: Dua is a complement to studying, not a substitute for it. The Prophet said, "First tie your camel, then place your trust in Allah" (Tirmidhi, Qiyamah, 60). In other words: study and pray, together.
1. Surah Ta-Ha, Verses 25-28 — The Dua of Moses
This dua is the one Moses (peace be upon him) prayed before speaking with Pharaoh. It is ideal for any situation requiring you to speak, explain, or express yourself clearly — such as an exam.
Arabic
رَبِّ اشْرَحْ لِي صَدْرِي وَيَسِّرْ لِي أَمْرِي وَاحْلُلْ عُقْدَةً مِنْ لِسَانِي يَفْقَهُوا قَوْلِي
Transliteration
Rabbi'shrah li sadri, wa yassir li amri, wahlul 'uqdatan min lisani, yafqahu qawli.
Meaning
"My Lord, expand for me my chest, and ease for me my task, and untie the knot from my tongue, so they may understand my speech."
Recommended Repetitions
Reciting it 19 times has become customary.
2. Surah Al-Isra, Verse 80
For a "good" entry into, and exit from, the exam.
Arabic
رَبِّ أَدْخِلْنِي مُدْخَلَ صِدْقٍ وَأَخْرِجْنِي مُخْرَجَ صِدْقٍ وَاجْعَلْ لِي مِنْ لَدُنْكَ سُلْطَانًا نَصِيرًا
Transliteration
Rabbi adkhilni mudkhala sidqin wa akhrijni mukhraja sidqin, waj'al li min ladunka sultanan nasira.
Meaning
"My Lord, cause me to enter with a truthful entrance and to exit with a truthful exit, and grant me from Yourself a supporting authority."
Recommended Repetitions
Reciting it 10 times is common.
3. The Ya Hayyu Ya Qayyum Dua
A powerful dua narrated as one the Prophet recited in difficult moments.
Arabic
يَا حَيُّ يَا قَيُّومُ بِرَحْمَتِكَ أَسْتَغِيثُ
Transliteration
Ya Hayyu ya Qayyum, bi-rahmatika astaghith.
Meaning
"O Ever-Living, O Sustainer of all existence! By Your mercy I seek help."
Recommended Repetitions
Reciting it 10 times.
4. The Prophet's Dua for Success
For increasing knowledge, understanding, and beneficial learning.
Arabic
اَللّٰهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي وَعَلِّمْنِي مَا يَنْفَعُنِي وَارْزُقْنِي عِلْمًا تَنْفَعُنِي بِهِ
Transliteration
Allahumma'nfa'ni bima 'allamtani, wa 'allimni ma yanfa'uni, warzuqni 'ilman tanfa'uni bih.
Meaning
"O Allah, benefit me with what You have taught me, teach me what will benefit me, and grant me knowledge that will benefit me."
— Tirmidhi, Da'awat, 128
A Practical Exam-Day Routine
The evening before the exam:
- Do a final review (avoid learning anything entirely new)
- Recite your bedtime duas (Ayatul Kursi + Al-Ikhlas, Al-Falaq, An-Nas)
- Go to bed early — sleep is the foundation of mental performance
The morning of the exam:
- Recite the morning duas
- Pray the Fajr prayer
- Eat a proper breakfast
- Do a light mental warm-up (skim over key points)
On leaving home: 5. Recite the dua for leaving the house: "Bismillahi tawakkaltu 'ala'llah, la hawla wa la quwwata illa billah"
On the way: 6. Recite Ta-Ha 25-28 silently (mental preparation) 7. Take deep breaths to reduce stress
Entering the exam room: 8. "Ya Hayyu Ya Qayyum bi-rahmatika astaghith" (a short, final dua for strength)
Before reading the questions: 9. Say "Bismillah" once more 10. Take a deep breath and stay calm
After the exam: 11. Say "Alhamdulillah" (whatever the outcome) 12. Recite the dua for success: "Allahumma'nfa'ni bima 'allamtani..."
Frequently Asked Questions
Is the number of repetitions for the exam dua fixed?
No, absolutely not. Numbers like 19, 10, or 7 are traditional recommendations, not obligations. Reciting it once, sincerely, from the heart, is also effective. What matters is intention and sincerity.
Wouldn't it be better to just study instead of praying?
Both are necessary. Praying without studying is laziness; studying without praying drifts away from trust in Allah. The Prophet's hadith, "First tie your camel, then place your trust in Allah," captures this balance. Study and pray — that's the right approach.
Is it forbidden to recite an exam dua?
No, not at all. On the contrary, turning to Allah in a difficult moment is among the best deeds. What is mistaken is believing that dua works automatically like "magic." Dua expresses spiritual support and sincerity of intention.
Which dua should be recited for which exam? (university entrance, school exams, etc.)
The same duas apply to all kinds of exams. University entrance exams, school exams, professional exams, driving tests, job interviews — the same duas can be recited for all of them. Since these are general "duas for ease in hardship," they work for any stressful situation.
Does reciting a dua during the exam break my concentration?
On the contrary, it improves it. Stress raises cortisol, which weakens memory. Dua calms the heart and helps the prefrontal cortex (the brain's problem-solving region) function better. Research supports this too — brief meditation or prayer can improve exam performance.
I'm very anxious about the exam — what else can I do?
- Drink water (dehydration increases anxiety)
- Take deep breaths (inhale for 4 seconds, hold for 7, exhale for 8)
- Do a quick dhikr (Subhanallah x 33)
- Move your body (a short walk)
- Think positively (worst case, you retake it — it's not the end of the world)
- Call your family (spiritual support)
The Exam Dua in the Nurlu App
When you open the exam day module in the Nurlu app:
- audio recitation of the 4 main exam duas
- a counter to track how many times you've recited each one
- an exam-time reminder
- Bismillah + Ta-Ha 25-28 + Ya Hayyu Ya Qayyum bundled together
all free of charge. Good luck! ✨
Frequently Asked Questions
Which duas are recited before an exam?
The 4 best-known duas are: 1) Surah Ta-Ha, verses 25-28 (Rabbi'shrah li sadri...) recited 19 times, 2) Surah Al-Isra, verse 80 (Rabbi adkhilni mudkhala sidqin...) recited 10 times, 3) 'Ya Hayyu Ya Qayyum bi-rahmatika astaghith' recited 10 times, 4) the dua for success, 'Allahumma'nfa'ni bima 'allamtani...'.
How many times should the exam dua be recited?
Traditionally, it is recommended to recite Ta-Ha 25-28 nineteen times, Al-Isra 80 ten times, and the Ya Hayyu Ya Qayyum dua ten times. However, these numbers are not obligatory — reciting even once, with sincerity, is also effective. What matters most is sincerity.
Does the exam dua actually help?
Dua is a spiritual means of turning to Allah. Reciting before an exam reduces stress, sharpens focus, and provides spiritual support. However, dua does not replace studying — the Prophet said, 'Tie your camel, then place your trust in Allah.' Studying and praying together are what's required.
Which duas should be recited on the way to the exam?
On the way to an exam, it is recommended to: 1) say the leaving-home dua 'Bismillahi tawakkaltu 'ala'llah' when stepping out, 2) mentally recite Ta-Ha 25-28 on the way as preparation, 3) say 'Ya Hayyu Ya Qayyum bi-rahmatika astaghith' just before entering the exam room.
Get daily dua reminders with Nurlu
Morning, evening and situational dua reminders — in the app.