Guide
How do I get closer to Allah?
The clearest answer is a hadith qudsi in Sahih al-Bukhari (6502): nothing brings a servant nearer to Allah than what He has made obligatory, and after that come voluntary deeds, kept up. So you draw closer by guarding the five prayers first, then adding one small extra deed you can actually keep.
If you searched for this, you were probably expecting a list of twenty ways.
This page is about getting closer to Allah (swt) in the order the hadith gives it. The order is the same whatever your age, and whatever the month, Ramadan included.
If your question is really "why do I feel so far away in the first place?", that is a different page: Why do I feel far from Allah?
The hadith gives an order
The Prophet, peace be upon him, reported that Allah said:
"My servant does not draw near to Me with anything more beloved to Me than what I have made obligatory on him. And My servant keeps drawing near to Me with voluntary deeds until I love him."Hadith qudsi, Sahih al-Bukhari 6502 (meaning in English, part of a longer report)

The Arabic verb in the report, yataqarrabu, means "to draw near". Two things about it are easy to miss.
The first is the order. The obligatory comes first. Many of us look for closeness in something new, an extra programme or a special night, while the five prayers we already owe are treated as the boring part. The hadith puts it the other way round. The prayer you were going to pray today anyway is the most beloved thing you can bring.
The second is the word "keeps". The voluntary deeds in the report are ongoing. Another hadith says the same in plain terms: "the most beloved deed to Allah is the most regular and constant, even if it were little" (Sahih al-Bukhari 6464).
So what brings you closer to Allah, in these two reports, is not "more". It is what is owed, then one small thing kept going.
What the Qur'an says about nearness
The Qur'an does not describe a long road. It says of the human being: "We are closer to him than his jugular vein" (Qaf 50:16). And: "When My servants ask you about Me, I am near. I answer the call of the caller when he calls on Me" (al-Baqarah 2:186).
If you are asking how to connect with Allah in salah, the Qur'an ties nearness to one act of the prayer, sujood (also written sajdah): "Prostrate, and draw near" (al-'Alaq 96:19). The Prophet, peace be upon him, said that the nearest a servant comes to their Lord is while prostrating, so make supplication then (Sahih Muslim 482). We have written about that on its own page: Why is sujood the closest you are to Allah?
A word of care. The scholars are careful to say this nearness is not a place or a distance to be pictured. How it is to be understood is a question of creed, and it belongs with a qualified teacher.
What the scholars wrote
These are summaries from the books we draw on, not quotations.
Ibn 'Ata'illah, in al-Hikam, makes the point that your asking is not what causes Allah to give. Being brought to ask at all is already something you were given.
Ibn al-Qayyim, in Madarij al-Salikin, treats need as the servant's real standing before Allah. You do not have to arrive impressive. You arrive needing.
Neither describes closeness as a feeling you produce.
One thing to try: two lines on paper
This is our own exercise, drawn from those works. It is not a ruling and it adds nothing to the prayer itself.
Set a floor you can keep on your worst day.
- Take a piece of paper tonight and write two lines.
- Line one: the five prayers, on time, in whatever state you are in. This is the obligation, and by the hadith above it is the most beloved thing you bring.
- Line two: one very small voluntary deed. Ten salawat after 'Isha. Three verses of Qur'an before bed. One minute of asking forgiveness on the way to work. Choose one.
- Test line two against your worst day, the day you get home late and worn out. If it would not survive that day, halve it and test again.
- Put the paper where you will see it. Not on your phone.
- Keep both lines whether you feel anything or not. Do not add a third line for a month.

Line two is voluntary and yours to change. If you miss it, pick it up the next day.
We cannot promise you will feel closer. Closeness and the feeling of closeness are not the same thing, and only one of them is in the hadith.
Questions people ask next
Is there a dua to get closer to Allah?
The Prophet, peace be upon him, took Mu'adh ibn Jabal by the hand and told him never to leave this supplication after each prayer: "Allahumma a'inni 'ala dhikrika wa shukrika wa husni 'ibadatik." It means: "O Allah, help me to remember You, to thank You, and to worship You well" (Sunan Abi Dawud 1522, graded sahih by al-Albani). You can also ask in your own words, in your own language.
What dhikr or zikr brings you closer to Allah?
The Qur'an says: "Remember Me, and I will remember you" (al-Baqarah 2:152). The phrases taught in the Sunnah are many, and we would rather you kept a few than collected them all. A simple frame is here: What are the morning and evening adhkar?
Is there a surah to get closer to Allah?
We do not know of a sound report that names one surah for this purpose, so we will not name one. What is certain is that you already recite al-Fatiha in every prayer.
What if I do all this and still feel far?
Many practising Muslims describe exactly that. There is no list of signs that you are close to Allah, and a flat feeling is not a verdict on you. If you are coming back after sinning, the door is repentance: How do you make tawbah?. Otherwise start with Why do I feel nothing when I pray?. If the distance comes with hopelessness, or with days when you cannot function, please also speak to a doctor or a mental health professional. Seeking treatment is part of taking the means.
Read next
- Why do I feel nothing when I pray?
- Why do I feel far from Allah?
- How do I learn to love salah?
- Why is sujood the closest you are to Allah?
- How do I pray tahajjud, and how do I start small?
We are not scholars. We are practising Muslims curating what the scholars of this ummah already wrote, held to the standard of the Qur'an and Sunnah. Verify everything. Ask your local people of knowledge.
This article draws on the "When Nothing Works" section of 120 Classical Practices and on The Divine Mindsets of Salah, two of the eight books in Feel Your Prayer Again.