When to pray it
Istikhara is for choices between things that are allowed: which job, whether to accept a proposal, whether to travel or buy something. It is not for things that are already obligatory (such as praying) or forbidden. Pray it before you decide, and ideally after you have also asked advice from people you trust; scholars say “no one who seeks Allah’s choice and consults people will regret it”.
Step 1: Wudu and two rakats
Make wudu and pray two rakats of voluntary (nafl) prayer, with the intention of istikhara, exactly like any two-rakat prayer: see how to pray salah. You may recite any surah after Al-Fatiha; some scholars suggest Al-Kafirun in the first and Al-Ikhlas in the second. Avoid the times when voluntary prayer is disliked: from Fajr until the sun has risen, at midday just before Dhuhr, and from Asr until sunset. Night, especially before Fajr, is a good time.
Step 2: The dua
After the salam, praise Allah and send salawat on the Prophet ﷺ, then say: اللّٰهُمَّ إِنِّي أَسْتَخِيرُكَ بِعِلْمِكَ، وَأَسْتَقْدِرُكَ بِقُدْرَتِكَ، وَأَسْأَلُكَ مِنْ فَضْلِكَ الْعَظِيمِ، فَإِنَّكَ تَقْدِرُ وَلَا أَقْدِرُ، وَتَعْلَمُ وَلَا أَعْلَمُ، وَأَنْتَ عَلَّامُ الْغُيُوبِ، اللّٰهُمَّ إِنْ كُنْتَ تَعْلَمُ أَنَّ هٰذَا الْأَمْرَ خَيْرٌ لِي فِي دِينِي وَمَعَاشِي وَعَاقِبَةِ أَمْرِي فَاقْدُرْهُ لِي وَيَسِّرْهُ لِي ثُمَّ بَارِكْ لِي فِيهِ، وَإِنْ كُنْتَ تَعْلَمُ أَنَّ هٰذَا الْأَمْرَ شَرٌّ لِي فِي دِينِي وَمَعَاشِي وَعَاقِبَةِ أَمْرِي فَاصْرِفْهُ عَنِّي وَاصْرِفْنِي عَنْهُ، وَاقْدُرْ لِيَ الْخَيْرَ حَيْثُ كَانَ ثُمَّ أَرْضِنِي بِهِ (Sahih al-Bukhari 1162). The full dua with audio and word-by-word pronunciation is on istikhara dua.
What the dua means
“O Allah, I ask You to choose for me by Your knowledge, and I ask You to give me power by Your power, and I ask You from Your great bounty. You have power and I have none; You know and I do not know; You are the Knower of the unseen. O Allah, if You know that this matter is good for me in my religion, my life and how my affairs end, then decree it for me, make it easy for me, and bless it for me. And if You know that this matter is bad for me in my religion, my life and how my affairs end, then turn it away from me and turn me away from it, and decree good for me wherever it is, and make me content with it.”
Naming your decision
When you reach هٰذَا الْأَمْرَ (“this matter”), have your decision in mind, or name it, in Arabic or your own language: “…that this marriage to so-and-so…”, “…that taking this job in Riyadh…”. The Prophet ﷺ said: “…and he should name his need” (Sahih al-Bukhari 1162).
After istikhara: what to expect
You do not need to wait for a dream or a sign. Go ahead with the step you were inclined to, keep making the usual efforts, and trust that Allah will make it easy if it is good, or turn it away if it is not. If doors close or obstacles keep appearing, that may be the answer. If you feel unsure, you may repeat the istikhara on another day; a narration about repeating it seven times is weak, but repeating it is fine.
Common questions
Can I make istikhara without praying, for example during menstruation? The Sunnah is two rakats then the dua, but if you cannot pray, many scholars say you may make the dua on its own. Can someone else pray it for me? The Sunnah is that you pray it yourself; others can make dua for you. Can I read the dua from a phone or paper? Yes, after the prayer. Do I have to read it in Arabic? It is best in Arabic; if you cannot yet, make the same request in your own words while you learn it.