Islamic terms

What is a mahram, and who is my mahram?

A mahram (مَحْرَم) is a relative you can never marry: a father, brother, son, uncle or nephew for a woman, and the same women for a man, by blood, by marriage or by nursing. Pick a relative below to check.

Noun and adjectiveمَحْرَمmaḥram
Root
ح ر م · h-r-m: forbidden, sacred, inviolable
Literal meaning
One who is forbidden, one who is sacred
In Islam
A relative you can never marry, by blood, by marriage or by nursing
Plural
مَحَارِم · maḥārim
ResultPick a relative

Choose who you are, then the relative, to see if they are your mahram and why.

    I am

    Hanafi rulings. Where the other madhhabs differ, mainly on nursing, the guide below shows it.

    Nothing you choose leaves this device. This checker explains the general rules; for a family case with details, ask a scholar you trust.

    The term

    Meaning, use and sources

    A mahram is someone of the opposite sex whom you are permanently forbidden to marry because of a close tie. There are three ties: blood (nasab), marriage (musaharah) and nursing (rada). Cousins, in-laws such as a brother-in-law, and adopted children are not mahram. Your spouse is not called a mahram, but is closer than one.

    The word

    Mahram comes from haram, forbidden or sacred. A mahram is one marriage to whom is forbidden forever, and that very fact makes it safe to be close to them. The plural is maharim. The South Asian spelling is mehram, and a non-mahram is na-mahram.

    حُرِّمَتْ عَلَيْكُمْ أُمَّهَٰتُكُمْ وَبَنَاتُكُمْ وَأَخَوَٰتُكُمْ وَعَمَّٰتُكُمْ وَخَٰلَٰتُكُمْ وَبَنَاتُ ٱلْأَخِ وَبَنَاتُ ٱلْأُخْتِ وَأُمَّهَٰتُكُمُ ٱلَّٰتِىٓ أَرْضَعْنَكُمْ وَأَخَوَٰتُكُم مِّنَ ٱلرَّضَٰعَةِ وَأُمَّهَٰتُ نِسَآئِكُمْ وَرَبَٰٓئِبُكُمُ ٱلَّٰتِى فِى حُجُورِكُم مِّن نِّسَآئِكُمُ ٱلَّٰتِى دَخَلْتُم بِهِنَّ فَإِن لَّمْ تَكُونُوا۟ دَخَلْتُم بِهِنَّ فَلَا جُنَاحَ عَلَيْكُمْ وَحَلَٰٓئِلُ أَبْنَآئِكُمُ ٱلَّذِينَ مِنْ أَصْلَٰبِكُمْ وَأَن تَجْمَعُوا۟ بَيْنَ ٱلْأُخْتَيْنِ إِلَّا مَا قَدْ سَلَفَ ۗ إِنَّ ٱللَّهَ كَانَ غَفُورًۭا رَّحِيمًۭا ﴿٢٣﴾

    Hurrimat 'alaikum umma haatukum wa bannaatukum wa akhawaatukum wa 'ammaatukum wa khaalaatukum wa banaatul akhi wa banaatul ukhti wa ummahaatu kumul laateee arda' nakum wa akhawaatukum minarradaa'ati wa ummahaatu nisaaa'ikum wa rabaaa'i bukumul laatee fee hujoorikum min nisaaa'ikumul laatee dakhaltum bihinna Fa il lam takoonoo dakhaltum bihina falaa junaaha 'alaikum wa halaaa'ilu abnaaa'ikumul lazeena min aslaabikum wa an tajma'oo bainal ukhtaini illaa maa qad salaf; innallaaha kaana Ghafoorar Raheema

    Prohibited to you [for marriage] are your mothers, your daughters, your sisters, your father's sisters, your mother's sisters, your brother's daughters, your sister's daughters, your [milk] mothers who nursed you, your sisters through nursing, your wives' mothers, and your step-daughters under your guardianship [born] of your wives unto whom you have gone in. But if you have not gone in unto them, there is no sin upon you. And [also prohibited are] the wives of your sons who are from your [own] loins, and that you take [in marriage] two sisters simultaneously, except for what has already occurred. Indeed, Allah is ever Forgiving and Merciful.

    Quran 4:23 · Sahih International · Read in Surah An-Nisa

    The verse before it adds the father's wife (4:22), and 24:31 lists the men in front of whom a woman may show her adornment: her husband, father, father-in-law, sons, stepsons, brothers and nephews.

    The full list

    For a woman, these men are her mahram or not:

    RelativeMahram?Why
    Father, and his father and your mother's fatherMahramYour father and every grandfather above him, on both sides.
    Son, and grandsonsMahramYour sons, and your sons' and daughters' sons, however far down.
    Brother (full or half)MahramFull brothers, and half brothers through your father or your mother.
    Nephew (your brother's or sister's son)MahramYour brother's and sister's sons, and their sons, however far down.
    Uncle (your father's or mother's brother)MahramPaternal and maternal uncles, and the brothers of your grandparents, are all mahram.
    Cousin (an uncle's or aunt's son)Not mahramCousins are not mahram, and marrying a cousin is allowed. Hijab and the rule against being alone together apply.
    HusbandSpouseYour spouse, not a mahram, but closer than one.
    Father-in-law (your husband's father or grandfather)MahramHe becomes mahram as soon as your nikah is done, and stays mahram for life, even after a divorce or your husband's death.
    Stepson (your husband's son from another wife)MahramMahram by the nikah alone, for life, and so are his sons.
    Son-in-law (your daughter's husband)MahramMahram as soon as he marries your daughter, and for life after that.
    Stepfather (your mother's husband)If consummatedMahram only if his marriage with your mother was consummated. If he divorced her before that, he is not mahram.
    Brother-in-law (your husband's brother)Not mahramNot mahram. Asked about the husband's relatives, the Prophet ﷺ said: "The in-law is death", a strong warning against being alone with him.
    Your sister's husbandNot mahramNot mahram. He cannot marry you while married to your sister, but that bar is only temporary.
    Your aunt's husbandNot mahramNot mahram: there is no blood or nursing tie, and the marriage tie is not one that makes him mahram.
    Your husband's uncle, nephew or cousinNot mahramNot mahram. Only your husband's fathers and sons become mahram to you by marriage.
    Stepbrother (a stepparent's son)Not mahramNot mahram. He is not related to you by blood, nursing or a marriage of your own.
    Milk father (the husband of the woman who nursed you)MahramMahram. The milk is counted as his too, so he is like your father.
    Milk brotherMahramA boy who was nursed as a baby by your mother, or by the woman who nursed you, is your brother by nursing.
    Milk son (a boy you nursed before he was two)MahramMahram, like your own son.
    Milk uncle or milk nephewMahramWhoever would be mahram by blood is mahram by nursing: the brothers of your milk parents, and the sons of your milk siblings.
    Your milk brother's brother (who was not nursed with you)Not mahramNot mahram. Only the one who was nursed is your milk brother; his other brothers are not related to you.
    Adopted or foster sonNot mahramAdoption alone does not make a mahram. If you nursed him before he was two, he is your milk son and is mahram.
    FiancéNot mahramNot mahram until the nikah. After it, he is your husband.
    Ex-husbandNot mahramNot mahram once the divorce is final and the iddah has ended, unless you marry again by a new nikah.

    For a man, these women are his mahram or not:

    RelativeMahram?Why
    Mother, and grandmothersMahramYour mother and every grandmother above her, on both sides.
    Daughter, and granddaughtersMahramYour daughters, and your children's daughters, however far down.
    Sister (full or half)MahramFull sisters, and half sisters through your father or your mother.
    Niece (your brother's or sister's daughter)MahramYour brother's and sister's daughters, and their daughters, however far down.
    Aunt (your father's or mother's sister)MahramPaternal and maternal aunts, and the sisters of your grandparents.
    Cousin (an uncle's or aunt's daughter)Not mahramCousins are not mahram, and marrying a cousin is allowed. Hijab and the rule against being alone together apply.
    WifeSpouseYour spouse, not a mahram, but closer than one.
    Mother-in-law (your wife's mother or grandmother)MahramMahram as soon as your nikah is done, even before the marriage is consummated, and for life after that.
    Stepmother (your father's wife)MahramMahram by your father's nikah alone, for life.
    Daughter-in-law (your son's wife)MahramMahram as soon as she marries your son, and for life after that.
    Stepdaughter (your wife's daughter)If consummatedMahram only if your marriage with her mother was consummated. If you divorced her mother before that, she is not mahram.
    Your wife's sisterNot mahramNot mahram. You may not marry her while married to her sister, but that bar is only temporary, so hijab and not being alone together apply.
    Your wife's aunt or nieceNot mahramNot mahram. Like your wife's sister, she cannot be married alongside your wife, but the bar is temporary.
    Your brother's wife (sister-in-law)Not mahramNot mahram. The Prophet ﷺ warned most strongly about in-laws being alone together: "The in-law is death."
    Your uncle's wifeNot mahramNot mahram: there is no blood or nursing tie, and the marriage tie is not one that makes her mahram.
    Stepsister (a stepparent's daughter)Not mahramNot mahram. She is not related to you by blood, nursing or a marriage of your own.
    Milk mother (the woman who nursed you)MahramMahram, like your mother.
    Milk sisterMahramA girl who was nursed as a baby by your mother, or by the woman who nursed you, is your sister by nursing.
    Milk daughter (a girl nursed by your wife with your milk)MahramMahram. The milk is counted as yours too, so she is like your daughter.
    Milk aunt or milk nieceMahramWhoever would be mahram by blood is mahram by nursing: the sisters of your milk parents, and the daughters of your milk siblings.
    Your wife's milk motherMahramMahram, like your mother-in-law: nursing and marriage together.
    Your milk sister's sister (who was not nursed with you)Not mahramNot mahram. Only the one who was nursed is your milk sister; her other sisters are not related to you.
    Adopted or foster daughterNot mahramAdoption alone does not make a mahram. If your wife nursed her before she was two, she is your milk daughter and is mahram.
    FiancéeNot mahramNot mahram until the nikah. After it, she is your wife.
    Ex-wifeNot mahramNot mahram once the divorce is final and the iddah has ended, unless you marry again by a new nikah.

    A mahram by marriage stays mahram for life. Your mother-in-law is still your mahram after a divorce or your wife's death. But the in-laws who are only forbidden while you are married, such as a wife's sister, never become mahram.

    Mahram by nursing

    "What is unlawful by blood is unlawful by nursing" (Sahih al-Bukhari and Sahih Muslim, from Ibn Abbas and Aishah). A child nursed by a woman becomes her milk child, and her husband's, and the child's milk siblings, uncles and aunts follow the same rules as by blood. The tie applies only to the nursed child, not to their brothers and sisters.

    Hanafi position

    Any amount of nursing, even one feed, makes the child a milk child, as long as it happens within the nursing period: the first two years by the view of Abu Yusuf and Muhammad, on which many later Hanafi texts give fatwa, and thirty months by the view of Abu Hanifa.

    Other madhhabs
    Shafi'i and Hanbali
    Five separate, full feeds are needed, within the first two years (Sahih Muslim, from Aishah).
    Maliki
    Any amount, as with the Hanafis, within the first two years or very soon after.

    What a mahram may do

    • See you without hijab. A woman may uncover her hair, neck, arms and lower legs in front of her mahram men, though not the stomach, back or the area from the navel to the knees. See the awrah guide.
    • Be alone with you. The Prophet ﷺ said: "No man may be alone with a woman except with a mahram" (Sahih al-Bukhari and Sahih Muslim, from Ibn Abbas).
    • Travel with you as your escort. The mahram should be sane, an adult, and trustworthy.
    • Greet with a handshake or a hug, where there is no fear of desire.

    A woman travelling without a mahram

    لَا تُسَافِرِ الْمَرْأَةُ إِلَّا مَعَ ذِي مَحْرَمٍ

    "A woman must not travel except with a mahram."

    Sahih al-Bukhari and Sahih Muslim, from Ibn Abbas

    Hanafi position

    A woman needs her husband or a mahram for any journey of the travel distance (about 77 to 78 km, or 48 miles), including the obligatory Hajj. If she has none, Hajj is not yet obligatory on her.

    Other madhhabs
    Shafi'i
    For the obligatory Hajj, a group of trustworthy women is enough instead of a mahram. Other journeys need a mahram.
    Maliki
    For the obligatory Hajj, safe company of trustworthy people is enough.
    Hanbali
    A mahram is required, as with the Hanafis, even for the obligatory Hajj.

    Two Hanafi points to know

    In the Hanafi school, the prohibition by marriage also comes from unlawful intercourse, and even from touching with desire under strict conditions: the woman's mother and daughters become forbidden to the man. The Shafi'i and Maliki schools do not hold this, and the Hanbali school holds it for intercourse only. The checker above covers ties through a valid nikah only. Second, a non-Muslim relative by blood is still mahram for hijab and seclusion.

    The rulings on this page are pending review by the scholars on our team.

    Related terms

    1. Quran 4:22-23, 24:31, 33:4-5 and 2:230-232, translation by Sahih International.
    2. Sahih al-Bukhari and Sahih Muslim, from Ibn Abbas: nursing; a woman's travel; being alone.
    3. Sahih al-Bukhari and Sahih Muslim, from Uqbah ibn Amir: "the in-law is death".
    4. Sahih al-Bukhari and Sahih Muslim, from Aishah: the milk father; Sahih Muslim, from Aishah: the five feeds.
    5. Sahih al-Bukhari and Sahih Muslim, from Abu Hurayrah: not combining a woman with her aunt.
    6. Al-Marghinani, al-Hidayah, Kitab al-Nikah (fasl fi al-muharramat) and Kitab al-Rada; Ibn Abidin, Radd al-Muhtar. The other madhhabs' positions are summarised from their standard manuals.

    Questions

    Good to know

    What is a mahram in simple words?

    A relative of the opposite sex you can never marry, by blood, marriage or nursing. A woman does not need hijab in front of her mahram men and may travel with them.

    Is a cousin a mahram?

    No. Cousins are not mahram, and marrying a cousin is allowed in Islam.

    Is a brother-in-law a mahram?

    No. Neither your husband's brother nor your sister's husband is mahram. The Prophet ﷺ warned most strongly about being alone with in-laws.

    Is my father-in-law my mahram?

    Yes. Your husband's father becomes your mahram by the nikah and stays mahram for life, even after divorce or your husband's death.

    Is an adopted son a mahram?

    Not by adoption alone (33:4-5). If his adoptive mother nursed him before he was two, he becomes her milk son and is mahram.

    Can a woman travel without a mahram?

    In the Hanafi school, not for a journey of the travel distance, about 48 miles. The Shafi'i and Maliki schools allow the obligatory Hajj with a trustworthy group.