Published on

Is Throwing a Gender Reveal Haram? The Islamic Ruling Explained

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education • Deen Back

بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ

In the name of God, the Most Gracious, the Most Merciful.

A small pair of shoes beside a softly lit candle — celebrating the blessing of a new child in Islam

There Is a Baby Coming. Can You Celebrate?

Gender reveals have become a cultural fixture — the coloured cake, the balloon pop, the confetti cannon. If you are a Muslim expecting a child, the question of whether to participate in this tradition is worth thinking through clearly.

The short answer is that the question of gender reveals is not really about the reveal itself — it is about how you celebrate.

The Quick Answer

Announcing a baby's sex to your family and celebrating the news is permissible in Islam. Children of both sexes are blessings from Allah, and sharing that joy is in harmony with Islamic values of gratitude and family.

What matters is how the celebration is conducted. A halal gathering with family, modest dress, permissible food and activities — this is fine. A party with alcohol, free mixing, music and dancing in haram settings, or extravagant waste — those elements are impermissible regardless of the occasion.

What Islam Says About Children and Celebrations

Allah says in the Quran:

لِلَّهِ مُلْكُ السَّمَاوَاتِ وَالْأَرْضِ يَخْلُقُ مَا يَشَاءُ يَهَبُ لِمَن يَشَاءُ إِنَاثًا وَيَهَبُ لِمَن يَشَاءُ الذُّكُورَ

"To Allah belongs the dominion of the heavens and earth. He creates what He wills. He bestows female upon whom He wills, and He bestows male upon whom He wills." — (Surah Ash-Shura, 42:49)

Both are bestowed. Both are gifts. The word used — yahab — is the same root as gift. Islam explicitly elevated the status of daughters in a society that previously buried infant girls alive:

وَإِذَا الْمَوْءُودَةُ سُئِلَتْ بِأَيِّ ذَنبٍ قُتِلَتْ

"And when the girl [who was buried alive] is asked for what sin she was killed..." — (Surah At-Takwir, 81:8-9)

The Quran used the Day of Judgment to address this. Islam came to say: a daughter is not a disappointment. She is a gift. Celebrating the news that you are having a daughter — or a son — with equal joy is entirely Islamic.

Is Learning the Gender Before Birth Permissible?

Yes. The ayah that some people cite:

وَيَعْلَمُ مَا فِي الْأَرْحَامِ

"And He knows what is in the wombs." — (Surah Luqman, 31:34)

...is part of a list of five things known only to Allah: the Hour, rain, what is in the womb (fully), what tomorrow will bring, and where one will die. The scholars of tafsir explain that the "knowledge of what is in the womb" in this verse refers to the complete unseen — the full destiny, character, lifespan, and provision of the child, not merely the biological sex, which is discoverable by permissible medical means.

Using ultrasound to learn a baby's sex is medically normal and Islamically permissible. There is no contradiction.

What Makes a Celebration Halal or Haram

Halal elements in a gender reveal or baby celebration:

  • Family gathering with halal food
  • Modest dress
  • Prayers for the baby and mother — see dua for pregnancy and dua for safe delivery
  • Gifts and expressions of joy
  • Expressions of gratitude to Allah, including Alhamdulillah and sadaqah

Elements that make any gathering haram:

  • Alcohol
  • Music and mixed-gender dancing
  • Free mixing in a romantic social environment
  • Extravagant waste (israf) — lavish spending on novelties beyond need is specifically cautioned in Islam
  • Immodest dress or photography in immodest settings

The gender reveal trend sometimes involves significant expense and elaborate setups. While celebration is fine, israf (extravagance and waste) is cautioned against in Islam generally, regardless of the occasion.

Celebrate the Blessings Allah Gives You

DeenBack helps you build daily gratitude habits so that every blessing — including the blessing of children — is acknowledged and honoured in a way that pleases Allah.

Download on the App StoreGet it on Google Play

Free download. Premium features available in-app.

The Spiritual Dimension of Expecting a Child

The arrival of a child is not just a social event — it is a profound trust from Allah. The Prophet ﷺ said:

مَا مِنْ مُسْلِمٍ يُولَدُ لَهُ وَلَدٌ فَيَقُولُ اللَّهُمَّ إِنِّي أُعِيذُهُ بِكَ وَبِذُرِّيَّتِهِ مِنَ الشَّيْطَانِ الرَّجِيمِ إِلَّا لَمْ يَضُرَّهُ الشَّيْطَانُ

"There is no Muslim who is given a child and says: 'O Allah, I seek Your protection for him and his offspring from the accursed Shaytan' — except that Shaytan will not harm him." — (Sunan Abu Dawud 4729)

The practical response to knowing your child's gender is not just a celebration — it is dua. It is asking Allah for protection, for righteousness, for the child to be a source of sadaqah jariyah.

رَبِّ هَبْ لِي مِنَ الصَّالِحِينَ

Rabbi habli minasSaliheen

"My Lord, grant me [a child] from among the righteous." — (Surah As-Saffat, 37:100)

This is the dua of Ibrahim ﷺ. It is appropriate at any stage of pregnancy and particularly meaningful when you are reflecting on the child who is coming.

Common Questions

Can we have a gender reveal if it is just family, halal food, and a simple coloured cake? Yes — this is entirely permissible. The coloured cake, the announcement, the family joy — none of this is haram in itself.

What about the aqiqah — is that related? The aqiqah (sacrificing an animal on the seventh day after birth, shaving the baby's head, and giving the hair's weight in silver as charity) is the established sunnah after birth. It is not the same as a prenatal celebration. Both are fine to do.

Is it cultural bid'ah (innovation) to celebrate before birth? Cultural practices are not bid'ah unless they are specifically religious rituals claimed to be part of the deen. A family gathering to celebrate a pregnancy or a baby's sex is a cultural custom, not a claimed religious act. It is evaluated by whether it is halal or haram in its conduct, not classified as bid'ah.

What if my non-Muslim family is throwing the party and it will include alcohol? You can attend and not drink — the sin of alcohol is on those who consume it. However, if the environment is predominantly centred on alcohol and you will be expected to participate in ways that are haram, that is worth thinking through carefully. Many Muslims navigate family celebrations by simply not attending the portion with alcohol, or by hosting a separate halal celebration for their Muslim family and friends.

Closing — Let the Celebration Match the Blessing

A child — boy or girl — is one of the most profound gifts Allah gives. The way you celebrate that gift says something about how you understand it.

A celebration that begins with Alhamdulillah, includes dua for the child, gathers family in gratitude, and stays within the bounds Allah set — that is a celebration that honours both the gift and the Giver.

The coloured cake is fine. The prayer is essential.

Related: Dua for pregnancyDua for safe deliveryIs celebrating birthdays haramDua for newborn

Prepare for Parenthood With Daily Worship

DeenBack helps you build the worship habits that make you the kind of parent who raises children connected to Allah — starting with your own daily dua, dhikr, and prayer streaks.

Download on the App StoreGet it on Google Play

Free download. Premium features available in-app.

Frequently Asked Questions

Is throwing a gender reveal party haram in Islam?

A gender reveal party is not inherently haram. Sharing news of a baby's sex with family and friends, celebrating a pregnancy milestone, and gathering together are all permissible. What can make the event haram is how it is conducted: if the gathering involves mixed free-gender socialising, music and dancing, extravagant waste, or elements that contradict Islamic modesty, those elements are haram — not the announcement itself.

Does Islam prohibit finding out the gender before birth?

No — learning the sex of a baby through ultrasound is permissible. This is medical information about physical reality. There is no contradiction with Islamic belief in qadr (divine decree). Allah knows the outcome; human beings discovering it through permissible means does not change or challenge that. The famous ayah about the knowledge of what is in the womb (Surah Luqman, 31:34) refers to knowledge of the full unseen — gender alone, discoverable by ultrasound, is a different matter.

What does Islam say about celebrating pregnancy milestones?

Islam encourages gratitude for blessings, including the blessing of children. A child — of either sex — is explicitly described as a gift from Allah. Celebrating pregnancy with family, making dua for the unborn child, and expressing joy are all encouraged. The aqiqah (after birth) is the established sunnah celebration, but celebrating during pregnancy with a halal gathering is also permissible.

Is it haram to prefer one gender over another for the baby?

The Quran explicitly criticises the attitude of those who receive news of a girl with grief and resentment (Surah An-Nahl, 16:58-59) — this was the attitude of pre-Islamic Arabia that Islam came to correct. Expressing disappointment at a girl, or preference for a boy in a manner that suggests the girl is less valuable, contradicts the Islamic view that all children are gifts from Allah. Making dua for a specific outcome is permissible; expressing distress at the 'wrong' outcome is not.

What is the best way to announce a pregnancy in Islam?

The Prophet ﷺ encouraged sharing good news and congratulating people. Telling close family and friends about a pregnancy, making dua for the child, and seeking protective duas like reciting Ayatul Kursi and the prayers for a righteous child are all excellent responses. The announcement itself has no required Islamic format — the family's preference for how and when to share is their own.