The Pillars of Islam

The 5 Pillars of Islam: A Complete Guide

The Niyyara TeamAugust 6, 202619 min read

The 5 pillars of Islam are the framework of a Muslim's practice: the declaration of faith, the five daily prayers, the yearly almsgiving, fasting the month of Ramadan, and the pilgrimage to Mecca. This guide walks through each of the five in turn, what it requires, who it applies to, and why they hold together as one structure, so that whether you are new to Islam or simply curious, you leave with a clear and accurate picture of how a Muslim lives their faith.

Live the five pillars, day by day

Niyyara is a free, private, ad-free companion with accurate prayer times, the azan, the full Quran with audio, a Qibla compass, duas, and a worship tracker. No subscriptions, no ads, ever.

What's in this guide

  1. What are the five pillars of Islam?
  2. "Islam is built upon five": the hadith
  3. Pillar one: Shahada, the declaration of faith
  4. Pillar two: Salah, the five daily prayers
  5. Pillar three: Zakat, the almsgiving
  6. Pillar four: Sawm, fasting Ramadan
  7. Pillar five: Hajj, the pilgrimage
  8. Why the five matter together
  9. Where to start with the pillars
  10. How Niyyara helps you keep them

What are the five pillars of Islam?

The five pillars of Islam are the five core acts of worship that every Muslim is asked to build their practice on. They are the Shahada, the declaration of faith; Salah, the five daily prayers; Zakat, the yearly giving of a portion of one's wealth to those in need; Sawm, the fast of Ramadan; and Hajj, the pilgrimage to Mecca once in a lifetime for those who are able. If you understand these five, you understand the shape of a Muslim's practical faith.

The word pillar is a helpful image. A building needs its supports to stand, and these five hold up the practicing life of a Muslim. They are not the whole of Islam, which also includes belief, character, honesty, kindness to parents, mercy to others, and much more. But they are the load-bearing acts, the things a Muslim is expected to keep no matter where in the world they live. A Muslim in one country and a Muslim on the other side of the earth pray the same prayers, fast the same month, and turn toward the same House in Mecca. The five pillars are what give the global community its shared spine.

Something else stands out about them once you look closely. Each pillar works on a different rhythm. The Shahada is a single, foundational truth you carry for life. Salah returns five times every day. Sawm comes once a year, for a month. Zakat is worked out once a year on your wealth. Hajj may come only once in a lifetime, and only for those who can manage the journey. So the pillars reach into the day, the year, and the whole span of a life. Between them they keep faith present at every scale of time.

This guide takes them one at a time, in the order they are usually listed, which is also roughly the order of how often they come up in daily life. For each pillar you will find what it actually asks of you, who it applies to, and why it holds the weight it does. Where a pillar has its own detailed guide on this blog, you will find a link so you can go deeper when you are ready.

The one-line version

The five pillars are Shahada (faith), Salah (prayer), Zakat (charity), Sawm (fasting Ramadan), and Hajj (pilgrimage). Believe and declare, pray five times a day, give to those in need each year, fast the holy month, and make the journey to Mecca once if you are able.

"Islam is built upon five": the hadith

The five are not a later invention or a scholar's summary. They come directly from the words of the Prophet Muhammad, peace be upon him, in one of the most widely known and authentic reports in all of Islam. It is narrated by Abdullah ibn Umar and recorded in both Sahih al-Bukhari and Sahih Muslim, the two most trusted collections of hadith. In it the Prophet, peace be upon him, said that Islam is built upon five: to testify that there is no god but Allah and that Muhammad is the Messenger of Allah, to establish the prayer, to give the zakat, to make the pilgrimage to the House, and to fast Ramadan.

Because it is agreed upon by both Bukhari and Muslim, this hadith carries the highest level of authenticity in the tradition. That is worth knowing, because it means the list you are learning is not a matter of one opinion against another. The five pillars, as five, rest on a foundation the whole community accepts. When you read a summary of Islam anywhere and it names these five, it is drawing on this report.

There is a second famous hadith, often called the hadith of Jibril, that many Muslims learn alongside it. In it the angel Jibril came to the Prophet, peace be upon him, in the form of a man and asked him about Islam. The Prophet answered by naming these same acts: to testify to the oneness of Allah and the messengership of Muhammad, to establish prayer, to give zakat, to fast Ramadan, and to make Hajj to the House for whoever is able to find a way. That hadith then goes on to explain faith (iman) and excellence (ihsan), which sit alongside the outward pillars. It is recorded in Sahih Muslim and is one of the most treasured teachings in the religion.

So when you hear that Islam is built on five, you are hearing the Prophet's own framing, peace be upon him, preserved through the most rigorous chains the tradition has. The pillars are the answer he gave when asked, plainly, what Islam is in practice. Everything below simply unpacks each of the five.

Pillar one: Shahada, the declaration of faith

The Shahada is the testimony that there is no god but Allah and that Muhammad is the Messenger of Allah. It is the first pillar, the door into Islam, and the belief on which the other four stand. A person becomes a Muslim by believing this truth in the heart and declaring it with the tongue.

The words are short and are known by every Muslim. In transliteration they are Ash-hadu an la ilaha illallah, wa ash-hadu anna Muhammadan rasulullah, which means "I bear witness that there is no god but Allah, and I bear witness that Muhammad is the Messenger of Allah." Those two testimonies are the whole of it. The first affirms that Allah alone deserves worship, with no partner and nothing beside Him. The second affirms that Muhammad, peace be upon him, is His final messenger, whose guidance a Muslim follows.

Notice that the Shahada has two halves, and both matter. The first half, the affirmation of Allah's oneness, is the heart of the entire religion. This oneness, called tawhid, runs through the Quran from beginning to end. The second half connects that belief to how it is lived, because it is through the Prophet Muhammad, peace be upon him, that Muslims learn how Allah wishes to be worshipped. You cannot separate the two: believing in Allah and following the guidance He sent are one continuous commitment.

What it requires. The Shahada asks first for sincere belief, then for the declaration of those words with understanding and conviction. It is not a phrase you recite to unlock membership while your heart is elsewhere; it is a truth you hold and then affirm. For someone entering Islam, saying it, ideally in front of witnesses, marks their entry into the faith. For those born into Islam, the Shahada is renewed throughout life, including within the daily prayer itself, where its meaning is repeated in the sitting.

Who it applies to. The Shahada is the foundation for every Muslim without exception. It is the one pillar that is not an action spread across time but a belief and testimony that a Muslim carries always. There is a fuller walkthrough of its wording, its two parts, and how a person takes it in our guide to the Shahada, which is worth reading if this pillar is new to you.

Why it matters. Every other pillar draws its meaning from this one. A prayer is worship only because it is offered to the one God. Charity, fasting, and pilgrimage are acts of devotion only because they are done for His sake. Remove the Shahada and the rest are empty motions. Keep it, and the smallest good deed becomes an act of worship. That is why it comes first and why it is the greatest of the five.

A gentle note on differences

Muslims follow several respected schools of jurisprudence, and some finer details of how the pillars are carried out can differ slightly between them. All are valid. This guide sticks to the widely agreed essentials. For rulings on your own situation, follow the guidance of qualified scholars or a trusted local teacher.

Pillar two: Salah, the five daily prayers

Salah is the formal prayer that Muslims perform five times a day. It is the second pillar and, after the Shahada, the practice that most defines a Muslim's day. Five times between dawn and night, a Muslim stops, turns toward the Kaaba in Mecca, and stands before Allah in a set sequence of standing, bowing, and prostrating.

The five prayers are Fajr at dawn, Dhuhr just after midday, Asr in the afternoon, Maghrib just after sunset, and Isha at night. Their times follow the movement of the sun rather than a fixed clock, so they shift through the year and change with your location. Each prayer has a window in which it should be prayed, which is why so many Muslims keep an accurate prayer time source close at hand. The command to pray at fixed times is stated plainly in the Quran, where the believers are told that the prayer has been prescribed at set hours (see Quran 4:103).

What it requires. Before praying, a Muslim performs wudu, the ritual washing, makes sure their body, clothes, and place are clean, covers the required parts of the body, faces the Qibla, and forms the intention to pray. The prayer itself is built from units called rak'ahs, each made of reciting Surah Al-Fatihah, bowing, and prostrating. The obligatory prayers have set numbers of rak'ahs: two for Fajr, four for Dhuhr, four for Asr, three for Maghrib, and four for Isha. We cover the whole sequence, step by step, in our guide on how to pray in Islam, which is the natural next read if you want to learn the prayer itself.

Who it applies to. Salah is obligatory on every adult Muslim who is sane and physically able, five times every day. Unlike some of the other pillars, it does not wait for a season or a threshold of wealth. It is the constant. There are allowances that make it manageable in hardship, such as shortening and combining prayers while travelling and praying while seated or lying down for those unable to stand, but the duty itself does not lift.

Why it matters. Prayer is the pillar that keeps faith present through the whole of daily life. It is easy to believe in Allah in the abstract and then let a busy day carry you away from Him. The five prayers refuse to let that happen. They pull you back to a still center again and again, morning, midday, afternoon, evening, and night. Many Muslims describe the prayer as the anchor of their day, the thing that keeps everything else in proportion. It is also the first deed a person will be asked about, according to the teaching of the Prophet, peace be upon him, which tells you how central it is.

Never miss a prayer time again

Niyyara gives you accurate prayer times for your exact location, the azan when each time enters, and a precise Qibla compass, so the second pillar is easy to keep. Free, private, and ad-free.

Pillar three: Zakat, the almsgiving

Zakat is the yearly giving of a fixed portion of one's wealth to those who are entitled to receive it. It is the third pillar, and it pairs so closely with prayer that the Quran commands the two together in many places, such as the instruction to establish prayer and give zakat in Surah Al-Baqarah 2:43. Where prayer is worship with the body, zakat is worship with wealth.

The word zakat carries the sense of both purification and growth. Giving a portion of what you have purifies the rest and purifies the heart from attachment and greed. It is not charity in the loose sense of giving when you feel moved to. It is an obligation with a defined rate, a defined threshold, and defined recipients, calculated once a lunar year.

What it requires. For money, savings, gold, silver, and trade goods, the rate of zakat is 2.5% of the qualifying wealth, given once the wealth has been owned for a full lunar year. This only applies to a person whose wealth reaches a minimum threshold called the nisab, which is set by reference to the value of gold or silver. If your savings stay below the nisab, no zakat is due. If they are at or above it and a lunar year passes, you give 2.5% of the zakatable total. Some kinds of wealth, such as certain crops and livestock, follow their own rates and rules that scholars detail, but for the ordinary person calculating on savings, 2.5% is the figure. Our full guide to zakat walks through the nisab, what wealth counts, how to work out the amount, and the eight categories of people who may receive it, which the Quran names in Surah At-Tawbah 9:60.

Who it applies to. Zakat is obligatory on every Muslim whose qualifying wealth reaches the nisab and remains at or above it for a full lunar year. A person below that threshold owes no zakat and may in fact be among those eligible to receive it. So the pillar naturally moves wealth from those who have a surplus toward those in need, without asking anyone to give what they do not have.

Why it matters. Zakat is the pillar that binds a Muslim's faith to the wellbeing of others. It is a standing reminder that what you own is a trust from Allah, not an absolute possession, and that a share of it belongs by right to the poor, the indebted, the traveller in need, and others named in the Quran. Practiced across a whole community, it is a yearly redistribution that keeps wealth circulating and softens hardship. Practiced by an individual, it keeps the heart from hardening around money. It is worship and social care in a single act.

Pillar four: Sawm, fasting Ramadan

Sawm is the fast of Ramadan, the ninth month of the Islamic calendar. It is the fourth pillar. For the whole month, healthy adult Muslims abstain from food, drink, and marital relations from the first light of dawn until sunset, and they turn the month toward extra worship, Quran, and restraint.

The fast is commanded directly in the Quran. In Surah Al-Baqarah the believers are told that fasting has been prescribed for them as it was prescribed for those before them, so that they may attain God-consciousness (see Quran 2:183). A little further on, Ramadan is named as the month in which the Quran was sent down as guidance for humanity (see Quran 2:185). So Ramadan is not only a month of hunger and discipline; it is the month tied to the revelation of the Quran itself, which is why recitation of the Quran fills it.

What it requires. Each day of Ramadan, a fasting Muslim eats a pre-dawn meal called suhoor, forms the intention to fast, and then abstains from all food and drink through the daylight hours. At sunset the fast is broken with the meal called iftar, traditionally begun with dates and water. Beyond the physical fast, the month calls for guarding the tongue and behaviour, giving in charity, and increasing prayer, including the special night prayers known as taraweeh. The last ten nights carry particular weight, since they contain Laylatul Qadr, the Night of Power, better than a thousand months. Our complete guide to Ramadan covers suhoor and iftar, taraweeh, the last ten nights, and Eid in full.

Who it applies to. Fasting Ramadan is obligatory on every Muslim who is adult, sane, and physically able. Islam builds in mercy for those who cannot manage it. The sick and the traveller may postpone their fasts and make up the missed days later. Those who are pregnant, nursing, menstruating, or otherwise excused have their own allowances, and the elderly or chronically ill who cannot fast at all may instead feed a needy person for each day, according to the guidance scholars detail. The intention is discipline and devotion, never harm, so the rules bend around genuine need.

Why it matters. Fasting trains the whole person. By stepping back from things that are ordinarily permitted, food, drink, and comfort, a Muslim learns to step back all the more from what is not, and learns to govern their own appetites rather than be governed by them. It builds empathy, since going hungry by choice teaches you something about those who go hungry without one. And it clears space, for a full month each year, to draw closer to Allah through the Quran and prayer. Many Muslims speak of Ramadan as the spiritual high point of their year, the reset that carries them forward.

A companion for every pillar

Prayer times and the azan for Salah, the full Quran with audio for Ramadan, a Qibla compass, duas, the Islamic calendar, and a worship tracker to watch your consistency grow. All free, all ad-free.

Pillar five: Hajj, the pilgrimage

Hajj is the pilgrimage to Mecca that every Muslim who is able is asked to make once in their lifetime. It is the fifth pillar, and it is performed in the month of Dhul-Hijjah, the twelfth and final month of the Islamic year. During its days, millions of pilgrims from every corner of the earth gather at the same places, wearing the same simple garments, performing the same rites in the same order.

The obligation is stated clearly in the Quran, where pilgrimage to the House is named as a duty owed to Allah by those who are able to make the way to it (see Quran 3:97). That phrase, "those who are able," is the key to who Hajj applies to. Unlike prayer and fasting, which return to every able Muslim daily and yearly, Hajj is bound to a person's physical and financial capacity to undertake a demanding journey.

What it requires. The pilgrim enters a state of consecration called ihram, marked for men by two plain unstitched white cloths, and dedicates the days to a set of rites. These include the tawaf, circling the Kaaba seven times; the sa'i, walking between the hills of Safa and Marwah; standing at the plain of Arafat, which is the central rite of the Hajj; spending nights at Muzdalifah and Mina; the symbolic stoning of the pillars; and the sacrifice, which coincides with Eid al-Adha celebrated by Muslims everywhere. The rites retrace the legacy of the Prophet Ibrahim and his family, peace be upon them, and are performed in a precise sequence over several days. Our full guide to Hajj walks through each rite in order and explains who it is obligatory upon.

Who it applies to. Hajj is obligatory once in a lifetime, and only on the Muslim who is able: sound in body enough to bear the journey, and possessed of enough lawful wealth to cover the travel and to provide for any dependents left at home while away. A person who never gains that ability is not sinful for not performing it, because the Quran ties the duty to capacity. For those who can, though, it is a duty not to be delayed without reason.

Why it matters. Hajj is the pillar that gathers the whole community into one place and one act at least once in the life of every one who can reach it. Stripped of the markers of wealth and status, dressed alike, standing side by side, pilgrims see the equality of all people before their Creator made visible. It is a journey of repentance and renewal, and many describe returning from it as being washed clean, ready to begin again. It also links the living community to the very roots of monotheism, to Ibrahim and Ismail, peace be upon them, whose devotion the rites commemorate. As the once-in-a-lifetime pillar, it is the summit toward which a practicing life reaches.

PillarWhat it isRhythmWho it applies to
ShahadaDeclaration of faithHeld for lifeEvery Muslim
SalahFive daily prayersFive times a dayEvery able adult Muslim
ZakatAlmsgiving of 2.5%Once a lunar yearThose whose wealth reaches the nisab
SawmFasting RamadanOne month a yearEvery able adult Muslim
HajjPilgrimage to MeccaOnce in a lifetimeThose able in body and means

Read that table across and you can see the design in it. Two pillars, Shahada and Salah, are for every Muslim without condition of season or wealth. Two more, Zakat and Sawm, come once a year and account for a person's means and health. And the fifth, Hajj, is the once-in-a-lifetime journey for those who can make it. The obligations scale to real lives while keeping a shared core that binds the whole community.

Why the five matter together

It is tempting to treat the pillars as five separate boxes to tick, but they are better understood as one structure working together. Each pillar trains a different part of the person, and each covers a different span of time, so that between them they leave no corner of a life untouched by the remembrance of Allah.

Think about what each one asks of you. The Shahada engages your belief, the innermost commitment of the heart. Salah engages your body and your time, five points in every day. Zakat engages your wealth, the thing many people hold most tightly. Sawm engages your appetites and your self-control, for a full month. Hajj engages your effort and your endurance, in a journey that may take years to save for and prepare. Faith, time, wealth, appetite, and effort: the five pillars claim a share of each, so that devotion is not confined to one part of you while the rest goes on untouched.

They also reinforce one another. Prayer keeps the meaning of the Shahada alive five times a day. Fasting sharpens the discipline that makes prayer more focused. Zakat softens the heart in a way that carries into every act of worship. Hajj gathers all of it into a single, life-defining journey. Pull one pillar out and the others feel the gap. Keep all five, even imperfectly, and they hold each other up, exactly as pillars are meant to.

There is a balance in them, too, between the private and the shared. The Shahada and the fast are deeply personal, known fully only to you and Allah. Zakat reaches out to the poor. Congregational prayer and Hajj bring the whole community shoulder to shoulder. A practicing Muslim lives in both dimensions at once, answerable inwardly to their Creator and outwardly bound to their fellow human beings. The five pillars, taken together, keep those two loyalties in step.

The five pillars at a glance

  • Shahada: believe and declare that there is no god but Allah and Muhammad is His messenger.
  • Salah: pray the five daily prayers, facing the Kaaba, at their set times.
  • Zakat: give 2.5% of qualifying wealth once a lunar year to those in need.
  • Sawm: fast from dawn to sunset through the month of Ramadan.
  • Hajj: make the pilgrimage to Mecca once in a lifetime if you are able.

Where to start with the pillars

If you are new to Islam, or returning to practice after time away, seeing all five pillars at once can feel like a lot. It helps to remember that they were never meant to be taken up all in a single day. They arrive on different rhythms, and you can learn them in a natural order. Here is a sensible path.

Begin with the Shahada. Everything starts here, because believing and declaring it is what makes a person a Muslim in the first place. If you are entering Islam, this is your first step. If you already believe, let the meaning of it settle in you, since it is the ground the other four grow from. Our guide to the Shahada explains the words and how a person takes it.

Then learn to pray. Of the four acts, Salah is the one you will return to most, five times every day, so it is the most valuable to learn early. Start with a single prayer, Fajr, which is only two rak'ahs, and build from there. Do not wait until you can do it perfectly; begin, and improve as you go. The step-by-step walkthrough in how to pray in Islam takes you through it.

Let the yearly pillars come in their season. Fasting arrives once a year with Ramadan, so you learn it as the month approaches. Zakat is worked out once a year on your wealth, so you learn to calculate it when your first zakat year comes around. There is no need to master them out of season; learn them when they are near.

Keep Hajj in view for when you are able. The pilgrimage is a once-in-a-lifetime duty for those who can make the way, and for many people that day is years off while they build the health, the means, and the readiness for it. Learn its shape now so it is familiar, and prepare for it when the time and ability align.

Be patient with yourself. The Prophet Muhammad, peace be upon him, taught that the deeds most beloved to Allah are the ones done consistently, even if they are small. A steady, sincere practice that grows over time is worth more than a burst of intensity that burns out. Take the pillars one at a time, keep learning, and lean on people who know more than you. For any question of ruling, follow qualified scholars rather than piecing answers together on your own.

How Niyyara helps you keep them

Knowing the five pillars is one thing. Living them, day after day and year after year, is the real work, and it is exactly the part that daily life gets in the way of. That is where a good companion helps, and it is what Niyyara is built to be, without ever costing you anything.

Niyyara is a free, private, ad-free companion for a practicing Muslim. For Salah it gives you accurate prayer times calculated for your exact location and the current date, sounds the azan when each time enters, and includes a precise Qibla compass so you always face the right way. For Ramadan and the fast it gives you the timings for suhoor and iftar and the full Quran with audio to fill the month. It carries the Islamic calendar so you can see Ramadan, Dhul-Hijjah, and the other months approach, a collection of everyday duas, the 99 names of Allah, a tasbih for remembrance, and a worship tracker to help you watch your consistency grow across all five pillars.

Because it is completely free, with no subscriptions and no ads, nothing sits between you and your worship. Worship should never feel like a product being sold to you. Niyyara stays out of the way and simply helps you pray on time, face the right direction, follow the calendar, and keep learning. Download it, set your location, and let it carry the timings so you can put your attention where it belongs.

The five pillars are the frame of a Muslim's life: the faith you declare, the prayers you keep, the wealth you purify, the month you fast, and the journey you make once if you can. You now have a clear and accurate picture of all five, what each asks, who it is for, and why they hold together. The rest is practice, patience, and showing up, one pillar and one day at a time. May Allah make it easy for you and accept it from you.

Frequently asked questions

What are the 5 pillars of Islam?

The five pillars of Islam are Shahada, the declaration of faith that there is no god but Allah and that Muhammad is His messenger; Salah, the five daily prayers; Zakat, the yearly almsgiving on qualifying wealth; Sawm, fasting the month of Ramadan; and Hajj, the pilgrimage to Mecca once in a lifetime for those who are able. These five come from the well-known hadith in which the Prophet Muhammad, peace be upon him, said that Islam is built upon five, reported in Sahih al-Bukhari and Sahih Muslim. Together they form the framework of practice that every Muslim shares.

What is the most important of the five pillars?

The Shahada, the declaration of faith, is the foundation on which the other four pillars rest. A person enters Islam by believing and saying it, and every other act of worship draws its meaning from it. After the Shahada, the five daily prayers hold a special place, since they are the practice a Muslim returns to five times every single day. The pillars are not in competition, though; each one is a duty in its own right, and a complete practicing life keeps all five.

Do all five pillars apply to every Muslim?

The Shahada and Salah apply to every adult Muslim who is sane and able. Zakat applies to those whose savings reach a minimum threshold called the nisab and stay above it for a lunar year. Sawm, fasting Ramadan, applies to every healthy adult Muslim, with allowances for those who are ill, travelling, pregnant, or otherwise excused. Hajj is obligatory once in a lifetime only for those who are physically and financially able to make the journey. So the pillars share a common core while accounting for real circumstances.

Where in the Quran are the five pillars mentioned?

The pillars are drawn together in the hadith of the Prophet Muhammad, peace be upon him, but each is also grounded in the Quran. Faith in the oneness of Allah runs throughout the Quran. Prayer and zakat are commanded together in many places, such as Surah Al-Baqarah 2:43. Fasting Ramadan is prescribed in Surah Al-Baqarah 2:183 and 2:185. The obligation of Hajj for those able to make the way is stated in Surah Aal-Imran 3:97. The five as a single list, though, is best known from the hadith.

Is the 2.5% zakat rate fixed?

For money, savings, gold, silver, and trade goods, the well-established rate is 2.5% of the qualifying wealth once it has been held for a full lunar year and it reaches the nisab threshold. Other categories of wealth, such as certain crops and livestock, follow different rates and rules that scholars detail. For an ordinary person calculating zakat on their savings, 2.5% is the figure to use. For anything unusual in your situation, ask a knowledgeable scholar so you give correctly.

I am new to Islam. Which pillar should I start with?

Begin with the Shahada, since believing and declaring it is what makes a person a Muslim. Right after that, focus on learning the five daily prayers, because prayer is the practice you will return to every day and it steadies everything else. Fasting comes once a year in Ramadan, zakat is worked out yearly, and Hajj is a once-in-a-lifetime journey for those who can, so those can be learned as their seasons arrive. Take it one pillar at a time and be patient with yourself.

Keep all five, one day at a time

Niyyara gives you accurate prayer times, the azan, an exact Qibla, the full Quran with audio, the Islamic calendar, duas, and a worship tracker, all free and ad-free. A quiet companion for a practicing life.

The Niyyara Team

We build Niyyara, a free, private, ad-free worship companion with prayer times, the full Quran, Qibla, azan, duas, and more. Niyyara is a product of Four Cents. For religious rulings, always follow the guidance of qualified scholars.