Is it haram to knock on wood or cross my fingers?

It depends on what you believe when you do it. If you knock on wood or cross your fingers hoping to bring luck or keep bad luck away, that is superstition and Islam asks you to leave it. If it is only an automatic reflex with no belief behind it, it is less serious, but it is still worth replacing with something Islamic, like "Bismillah" or "in sha Allah."
Where these habits come from
Knocking on wood and crossing fingers are folk customs. Their exact origins are debated, and they are often linked to old pagan or religious beliefs, such as protective spirits in trees or a sign of the cross. Today most people do them half-jokingly. But the idea underneath is that a small action can influence luck, and that is the part Islam rejects.
What Islam teaches
The Prophet ﷺ told Ibn Abbas: "Know that if the entire creation were to gather together to do something to benefit you, you would never get any benefit except that Allah had written for you. And if they were to gather to do something to harm you, you would never be harmed except that Allah had written for you" (Jami at-Tirmidhi 2516). The Quran says the same:
So tapping wood or crossing fingers can neither bring good nor prevent harm. Relying on such actions shifts trust away from Allah. This is the same reasoning applied to wishing "good luck." See Can I still say "good luck" as a Muslim?
What to say and do instead
- Before something important: prepare well, say "Bismillah" and ask Allah for success.
- Talking about the future: add "in sha Allah" (if Allah wills). The Quran teaches this when speaking of tomorrow (Quran 18:23-24).
- When you feel uneasy: say, "O Allah, no one brings good things except You, and no one averts evil things except You, and there is no might and power except in Allah" (Sunan Abi Dawud 3919).
- After a setback: avoid "if only I had...". Say, "Qadarullahi wa ma sha'a fa'ala," meaning Allah decreed it and what He willed He did. The Prophet ﷺ said "if" opens the door to Shaytan (Sahih Muslim 2664). See What does "Qadarallah" mean?
If it is just a reflex
You do not need to feel guilty if you tap a table out of habit. Your belief has changed even if an old habit lingers. When you notice yourself doing it, say "Bismillah" or "Astaghfirullah" and carry on. In time the reflex fades. If a friend teases you, a short and friendly reply works well: "I trust Allah, not wood!"
The same approach applies to charms, rituals before games and similar habits. See Is a lucky charm or pre-match ritual shirk?
- Nothing can help or harm you except by Allah's decree (Jami at-Tirmidhi 2516).
- Believing a gesture brings luck is superstition.
- A pure reflex is less serious but worth replacing.
- Say "Bismillah" and "in sha Allah" instead.
People also ask
Is Jannah the same as Christian heaven?
No, though they share hopes of everlasting life with God. Jannah is described with physical delights, levels and the greatest reward of seeing Allah.
Read the full answer →Is it haram to see a psychic or medium?
Yes, seeing a psychic or medium is haram in Islam. Only Allah knows the unseen; here is why, and what to do if you already visited one.
Read the full answer →Is astral projection haram?
Yes, astral projection is generally considered haram: it is a spiritual practice with no basis in Islam and can open the door to harm from jinn.
Read the full answer →How many gates does Jannah have?
Jannah has eight gates. The hadith names Ar-Rayyan for those who fast and gates for prayer, charity and jihad. The other four are not named.
Read the full answer →How do I protect my home from jinn and bad energy?
Protect your home from jinn and bad energy the sunnah way: say Bismillah, recite Ayat al-Kursi and Surah al-Baqarah, pray at home and keep it clean.
Read the full answer →