- Published on
Is YouTube Haram? How to Use It Without Wasting Your Life
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • Deen Back
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

You opened YouTube for one video. Forty-five minutes later you are watching a compilation of fails, a documentary about deep-sea fish, and a reaction video from someone you have never heard of. Salah was fifteen minutes ago. You knew. You just kept watching.
This is not a willpower failure. It is by design. YouTube has spent billions of dollars engineering the perfect attention trap — one that knows your patterns better than you do. The question is not really "is YouTube haram?" The question is: are you using YouTube, or is YouTube using you?
Let us walk through this honestly, with the Quran and Sunnah as our guide.
The Quick Answer
YouTube itself is not haram. It is a tool — like a knife, which can feed a family or cause harm depending on how it is used. What matters is the content you watch and the habit you have built around it.
وَالْعَصْرِ إِنَّ الْإِنسَانَ لَفِي خُسْرٍ إِلَّا الَّذِينَ آمَنُوا وَعَمِلُوا الصَّالِحَاتِ وَتَوَاصَوْا بِالْحَقِّ وَتَوَاصَوْا بِالصَّبْرِ
Wal-'asr. Innal-insaana lafi khusr. Illalladhina aamanu wa 'amilus-saalihaat, wa tawasaw bil-haqq, wa tawasaw bis-sabr.
"By time, indeed, mankind is in loss — except for those who have believed and done righteous deeds and advised each other to truth and advised each other to patience." — (Surah Al-Asr, 103:1-3)
That is your time going into the algorithm. Every hour of mindless consumption is an hour of loss. But an hour of beneficial content — Islamic lectures, skill-building, knowledge — is time that can count for something.
What the Quran and Sunnah Say
The Quran and Sunnah do not mention YouTube, but they speak directly to the principles that govern how we use it.
On the value of time, Surah Al-Asr is essentially the entire framework in three short verses. Time is your only truly non-renewable resource. Every minute you give to YouTube is a minute that cannot be given to anything else. Allah swears by time itself to emphasize how much is at stake.
On what we consume with our eyes and ears, Allah commands:
قُل لِّلْمُؤْمِنِينَ يَغُضُّوا مِنْ أَبْصَارِهِمْ وَيَحْفَظُوا فُرُوجَهُمْ
Qul lil-mu'mineena yaghudduu min absaarihim wa yahfazuu furuujahum.
"Tell the believing men to lower their gaze and guard their private parts." — (Surah An-Nur, 24:30)
YouTube autoplay does not give you time to think. One video ends and another begins, often with content you did not choose and did not vet. The algorithm serves up whatever keeps you watching — and that frequently means content with music, immodest imagery, or material that softens your heart toward the haram without you even noticing.
The Prophet ﷺ also gave us a simple, powerful filter for everything we do:
"Of the goodness of a person's Islam is that he leaves what does not concern him." — (Tirmidhi 2317)
Most of what YouTube's algorithm serves you does not concern you. It is filler — content designed to occupy your attention, not benefit your life. This hadith is not asking you to live in a cave. It is asking you to be selective with your attention. Watch what benefits you. Skip what does not.
Why This Is Actually Hard
The YouTube algorithm is not your enemy by accident. It is specifically engineered to understand what you cannot resist. It tracks every pause, every rewatch, every completion — and it uses that data to serve you content you are most likely to click on and least likely to stop watching.
Your nafs and the algorithm are working together against your better self. The nafs wants escape, stimulation, and the comfortable numbness of passive consumption. The algorithm knows exactly which kind of escape your particular nafs craves. It is a trap built from your own behavioral data.
The result is that YouTube does not feel like a time-waster. It feels like relaxation. The nafs frames it as rest: "I worked hard today, I deserve to unwind." And before you know it, Isha has come and gone, you have not read a single ayah, and you are watching a video about something you cannot even explain to yourself.
Unlike a book or a podcast, YouTube is visual, fast-paced, and constantly novel. It is harder to stop because the reward hits faster. And unlike anime where there is at least a story arc, YouTube's infinite scroll has no natural stopping point. Every ending is another beginning. Your nafs never has to make the conscious choice to start again — it just never stops.
What to Do About It — Practical Steps
You do not have to delete YouTube. But you do need to change your relationship with it. Here is how.
Step 1: Subscribe to Islamic Channels and Set a Purposeful Homepage
Your YouTube homepage is shaped by what you watch. If you have been watching random content, your homepage is full of more random content. Start actively subscribing to beneficial channels — Islamic scholars, Quran recitation channels, educational content in your field. Watch those videos intentionally, and your homepage will begin to shift. This is the closest thing to reprogramming the algorithm in your favor.
Step 2: Disable Autoplay Right Now
Go into your YouTube settings and turn off autoplay. Every video ending in silence is a moment where you have to make an active choice to continue. That moment of choice is where your willpower actually lives. The algorithm hates this moment — it is designed to eliminate it. Reclaim it.
Step 3: Use "Watch Later" Instead of Watching Now
When you find a video you want to see, save it to Watch Later instead of watching immediately. This breaks the impulsive quality of YouTube consumption. Later, when you sit down intentionally, open your Watch Later list and choose from what you saved. This converts YouTube from a passive scroll into an active, intentional experience — the way you treat things that matter.
Step 4: Set a Timer Before You Open the App
Decide how long you will watch before you open YouTube. Not after. Before. Twenty minutes, thirty minutes — whatever is reasonable. Set a timer on your phone. When it goes off, close the app and move on. This is about training your nafs to understand that you are in control, not the algorithm. Over time, the habit of intentional boundaries becomes second nature.
Take back your time — track your daily habits
Deen Back helps you build the self-discipline to use your time for what matters. Set goals, track streaks, and keep your nafs accountable.
Free download. Premium features available in-app.
Step 5: Replace Mindless YouTube With Intentional Learning
When you feel the urge to open YouTube without a specific purpose, replace it with something intentional. Read two pages of a book. Do five minutes of dhikr. Listen to a short Islamic lecture on a topic you actually need. The goal is to make purposeful use of your attention a habit. Understanding how to build daily Islamic habits gives you the framework — this is just applying it to your screen time.
Dua for Strength Against Distraction
When the pull to open YouTube for "just a minute" hits hard, use this dua:
اللَّهُمَّ أَعِنِّي عَلَى ذِكْرِكَ وَشُكْرِكَ وَحُسْنِ عِبَادَتِكَ
Allahumma a'inni 'ala dhikrika wa shukrika wa husni 'ibadatik.
"O Allah, help me to remember You, to be grateful to You, and to worship You well." — (Abu Dawud 1522)
Say it out loud. The act of turning to Allah in the moment of temptation is itself worship, and it interrupts the craving long enough for your better self to regain control.
Common Questions
Is it haram to watch YouTube at all?
No, YouTube is not haram as a platform. Watching Islamic lectures, educational content, skill-building tutorials, or even wholesome entertainment that does not cross Islamic red lines is perfectly fine. The issue is content and habit. Just as understanding what is halal vs haram in any area requires looking at the specifics, YouTube requires you to evaluate each video on its own terms rather than treating the platform as either entirely halal or entirely haram.
What kind of YouTube content is haram?
Content that is haram on YouTube includes anything that contains prohibited music, immodest imagery, sexual content, or mocking of Islam. If you watch music videos, you are watching haram content — the fact that it is on YouTube does not change the ruling on music. Content that shows or glorifies haram behavior desensitizes your heart even when you are "just watching." Track what you watch for one week and you may be surprised by how much of it falls into territory you already know is wrong.
Can watching Islamic lectures on YouTube count as worship?
Absolutely. Seeking knowledge is one of the most virtuous acts in Islam. The Prophet ﷺ said: "Whoever treads a path seeking knowledge, Allah will make easy for him a path to Jannah." (Sahih Muslim 2699). Watching a scholar explain a Quranic surah, learning the rulings of fiqh, or listening to a reminder that strengthens your iman — all of this is a form of seeking knowledge. Done with sincere intention, it is genuinely an act of ibadah. YouTube has some of the best Islamic educational content in the world. Use it for that.
How do I stop falling into YouTube rabbit holes?
The most effective change is structural: disable autoplay, hide recommended videos with a browser extension like DF Tube, and write down your intention before opening the app. Willpower alone is not enough — the algorithm has been refined for years specifically to defeat willpower. Change the environment, not just your mindset. Then use the time you reclaim to build the habits that matter — this is the foundation of how to build daily Islamic habits that actually stick.
Your Journey Starts Now
YouTube has given you access to some of the greatest Islamic scholars, the most beautiful Quran recitations, and a wealth of knowledge that previous generations could never have imagined. That is a genuine blessing. The question is whether you are using that blessing or letting the algorithm use you instead.
You do not have to quit YouTube. You have to become the one who decides what you watch, when you watch it, and when you stop. That is not just a media habit — it is a form of jihad al-nafs, of asserting your will over your impulses. And every time you close YouTube to pray instead, you are winning that battle.
إِنَّ اللَّهَ لَا يُضِيعُ أَجْرَ الْمُحْسِنِينَ
"Indeed, Allah does not allow to be lost the reward of those who do good." — (Surah At-Tawbah, 9:120)
Every intentional choice you make with your time is counted. Start today.
Use your time for what matters — build your streak
Deen Back helps you track dhikr, protect your salah times, and build the daily discipline to stop letting the algorithm decide how you spend your life.
Free download. Premium features available in-app.
Frequently Asked Questions
Is it haram to watch YouTube at all?
No, watching YouTube is not haram in itself. YouTube is a tool — a platform that hosts billions of videos covering everything from Islamic lectures to cooking tutorials to educational content. The ruling depends on what you watch and how you use it. Content that contains music, nudity, sexual themes, or mocking of Islam is haram. Content that educates, inspires, or connects you to your deen is permissible and can even be an act of worship.
What kind of YouTube content is haram?
Content that is haram on YouTube includes: music videos and content with prohibited music, videos with sexual or immodest imagery, content that mocks Islam or promotes shirk, gambling-related content, and content that normalizes haram behavior. Beyond explicit haram content, hours of mindless entertainment that displaces salah, Quran, and your responsibilities becomes harmful regardless of whether the content itself is technically permissible.
Can watching Islamic lectures on YouTube count as worship?
Yes, it can be an act of ibadah. Seeking Islamic knowledge is one of the most virtuous acts a Muslim can do. The Prophet (peace be upon him) said: Whoever treads a path seeking knowledge, Allah will make easy for him a path to Jannah. (Muslim 2699). Watching scholars explain Quran, learning about Islamic history, or listening to reminders that strengthen your faith — all of this is a form of seeking knowledge and can be a genuine act of worship when done with the right intention.
How do I stop falling into YouTube rabbit holes?
The algorithm is designed to keep you watching — it is literally optimized to maximize your time on the platform. Practical steps: turn off autoplay in your account settings, install a browser extension that hides recommended videos (like DF Tube or Unhook), set a 30-minute timer before opening YouTube, write down what you intend to watch before you open the app, and use the Watch Later feature to save videos for intentional viewing sessions rather than impulse watching.
