6 Best PiHole Blocklists 2024

PiHole is a network-level advertisement and tracker blocker that runs on Linux servers. It blocks ads network-wide on all devices via DNS. It has a default blocklist that is limited to certain domains and sometimes misses ads to block. To avoid this and block all annoying ads, use these 7 best PiHole blocklists that also block YouTube ads.

What is a PiHole Blocklist

A blacklist is a list of thousands or millions of flagged domains that allows PiHole and other site administrators to block traffic from certain websites or IP addresses. Particularly these are the ones that are used to send spam and other malicious content or advertisements in our case. For those who are new and don’t know the blacklist carries domains, IP addresses and email addresses.

Having one means that you can prevent advertisements that are being targeted and waste your bandwidth. It will make your internet browsing experience much faster as your browser won’t load the ads anymore.

6 Benefits of using a PiHole Blocklist

  1. Don’t get tracked anymore by internet giants such as Facebook.
  2. Keep your online activities private.
  3. You’re a parent and want to block malware and adult-content-related domains network-wide as you don’t want your children to visit such websites.
  4. Do not have the time to waste watching ads that are not helpful or add value. Time is money and you are saving it now!
  5. Constant requests because of device cookie requests slowing down the network are minimized.
  6. Block intrusive ads as you are tired and frustrated of seeing them repeatedly.

This is not to say that you need to have certain reasons to block through PiHole, but you need to know what and why you have blocked. You shall want it to be efficient and benefit you and your network.

Moreover, you can also take things like basic functions into account. You shall also find out that just “blocking” everything is sometimes not feasible. It can cause websites and apps not to function properly.

How many devices are connected to the Wifi? What kinds of devices? Smart devices might connect to your home network.

Like you might want to block Windows 11 or Windows 10 from sending out information to Microsoft, keep in mind that it may not be beneficial for you to block each request which is related to Microsoft domains like microsoft.com or things that are served with their cloud platform, Azure.

Doing this can affect the device’s function, such as receiving critical updates to crucial services or updating the OS itself.

Latest PiHole Blocklists

Like if you go as far as blocking things that are related to its Azure cloud platform, then you can go as far as breaking down some sites that rely on Azure for devices present on your network.

The process of un-breaking everything can be frustrating and time-consuming for most users. frankly speaking, finding out where things went wrong is not fun or conducive for those who want something that works.

Now, when you consider your devices you also need to consider some of the services that are used on them. You should consider home monitoring, CCTV, or IoT devices.

Now if you are a console gamer you may want to blacklist all the domains which are associated with Microsoft, Sony, or even Nintendo else your console may not properly function in certain areas like online gaming or recording achievements.

7 Most Effective PiHole Blocklists for 2024

  1. YouTube Ads Blocklist
  2. PiHole Default Blocklist
  3. Community-filtered Blocklist
  4. Basic Blocklist
  5. NSFW Blocklist
  6. Full Blocklist
  7. RegEx Blocklist

YouTube Ads Blocklist

PiHole Blocklist for YouTube Ads

We all know how annoying some adverts can get on YouTube. No one has the time to watch 5 or 25-second ads or even more! The worst ones are those you cannot skip watching your favorite video. The below Blocklist is automatically updated with the latest URLs to block which may show advertisements on YouTube videos in the browser, app, or your Smart TV.

This can also be installed as a script so you do not have to worry about updating it in PiHole manually.

Here is how to do it:

Step 1: Use git clone and make a copy of the script locally. If you have multiple branches in Git, you can ready git branch changing guide to manage those better.

Paul@ninja-ide:~# git clone https://github.com/kboghdady/youTube_ads_4_pi-hole.git

Step 2: The repository directory needs to be changed, such as below /home/paulstuff/.

Paul@ninja-ide:~# repoDir='/home/paulstuff/youTube_ads_4_pi-hole'

Step 3: Give proper permissions to the .sh file on your server to run it:

Paul@ninja-ide:~# sudo chmod +x youtube-blocklist.sh

Step 4: Run the script with the below command and that is it!

Paul@ninja-ide:~# ./youtube-blocklist.sh

Alternatively, you can download the whole PiHole YouTube Ads blocklist files from the below link at GitHub:

YouTube Ads Blocklist Download

ALSO SEE: 14 Custom Python Scripts for Network and Server hacking.

PiHole Default Blocklist

PiHole Default Blocklist

The default PiHole blocklist comes already installed and loaded. You do not have to do anything to load it! The benefit of having the default blocklist over others is that it causes fewer connectivity issues. Yes, it is true that community-filtered lists are much larger and frequently updated but they do seem to cause various issues such as broken layouts and forms not working.

Tip: Press Ctrl + A and copy the list instead of scrolling to the end.

Download PiHole Default Blocklist

Community-filtered Blocklist

At first, you need to utilize the filtered domains list which has been gathered by the community. There are various dedicated online users like you and me that are constantly updating the lists with fresh advertisement network domains they find on the web.

filterlists.com carries primary main elements for helping you to block the following:

  1. Trackers and spyware.
  2. Malware spreading websites.
  3. Blocking sites that are low quality and not trustworthy.

To use the Filterlist.com list follow the below steps:

  1. Right-click on the filter you want and click on the “View option“.
  2. Now choose the preferred “link location”.
  3. Now, from there you need to open the terminal and then paste /etc/pihole/adlists.list.

Visit Filterlists.com

Basic Blocklist

With the Basic blocklist, you can block only Advertisements. You won’t get much protection from tracker cookies with this.

List size: 1.3 MB

File type: .txt

Basic Blocklist Download

NSFW Blocklist

NSFW blocklist domains that are very well known to host adult content that is not limited to known streaming or downloading sites.

This results in putting a lot of trust in just a single party. Moreover, you also cannot assign different lists which means the negates feature of group management. It has the ability to apply different blocking rules to different user-defined groups.

List size: 4.6 MB

File type: .txt

NSFW Blocklist Download

Full Blocklist

Fill PiHole Blocklist Download

If you run the full blocklist from Oisd, it combines all of the above. The downside of running this is that it may be too restrictive for your liking. However, if you are happy to whitelist domains manually when needed, go for it.

List size: 26.4 MB

File type: .txt

Full Blocklist Download

RegEx-powered Blocklist

This is able to create even more complex filter rules for the entire setup of PiHole. It is described as advanced functions but anyone can take their time and learn how to write its entries properly.

These are being used in different apps, and its main purpose or function is not filtering most notably while performing searches. The search function (CTRL + F) in your browser is a great example.

Now you might have a question: how does RegEx apply to Pi-Hole specifically? Well, it is being used to filter domains that hit the rules of RegEx, which can either be blocked or whitelisted. Its entries function alongside your lists.

The key to using this is not to be too general or broad with its specificity. In an ideal situation, you shall be using a recommended list of RegEx versus creating one all from scratch, but feel free to edit as your threat model calls for it.

Author: mmotti

PiHole RegEx Blocklist Download

How To Add Blocklist to PiHole (Simple Way)

The above blocklists are useless if you don’t know how to add them to your PiHole. Below is a step-by-step process on how you can add more blocklists to make your PiHole catch advertisements better and block them from your network:

  1. Login to your “PiHole Dashboard“.
  2. Go To “Settings“.
  3. Now on the top tab, click on “Adlists” and go to the “Group management pages” link.
  4. Add the location/address of your blocklist and add a “comment” e.g. RegEx common. You can use Firebog.net URLs to add in the “address” field.
  5. Now click on “Update” and done!
  6. You have now successfully added a blocklist to your PiHole.

ALSO SEE: Step-by-Step Guide To Install Plex Server on a Raspberry Pi 4 and 3.

Keep Your PiHole Blocklist clean, relevant and accurate

Don’t mix the blocklists please:

There are various blocklists available for services such as Adblock Pro. However, they should not be mixed with PiHole blocklists. This is because the syntax and format can be different and it may break functionality causing a lot of DNS issues.

We know that the resources that have been linked here have many blocking lists. We know that some of these are quite huge. You might be tempted to use every list found here or anywhere else, but we suggest not doing so.

See, many of these lists borrow from one another. Due to this if you intend to use all of them you will find yourself with much overlap and needless redundancy.

For those who do not know redundancy reduces efficiency and wastes resources. Moreover, the more lists you use the more you get into false positives, which can be a big pain to deal with.

In a few cases, you might find that the block list fits your needs, which is perfectly fine, but keep in mind that more is not always better. As the saying goes, quality matters more than quantity.

Whitelist when needed:

Now, if you want to set an aggressive blocklist, you don’t need to be afraid to whitelist some domains.

Remember that the more aggressive you are with blocking the more legitimate sites or services are to break. This can also increase false positive frequency.

This does not mean that you need to be less aggressive in blocking especially if your threat model is calling for it or you don’t in dealing with breakage. Now to main functionality, you might want to take care by whitelisting the domains which break down things when blocked.

When this is done, you can continue running aggressive block lists very easily. However, you shall be framed to need to stay on top of updating your list as these domains can change readily.

Frequently Asked Questions

Can PiHole Blocklists block viruses and malware?

PiHole blocklists are there to prevent certain sites and IP addresses from being reached from your network. It can help reduce the surface of any malicious sites you may end up visiting accidentally but it won't block them from you getting malware on your devices.

Can I add multiple blocklists to PiHole?

Yes, there is currently no limit on the number of blocklists you can add.

Are PiHole Blocklists safe to use?

Yes, PiHole blocklists are only .txt files that contain thousands of domain names to block and are totally safe to use.

I am having connectivity and browsing issues with PiHole, what can I do?

Most users experience connectivity and browsing issues such as broken frameworks and layouts due to using unverified blocklists from unknown sources. You should only download from sources such as Firebog, filterlists.com and the default list from GitHub.

Other articles you may like:


These were the most useful and accurate PiHole Blocklists 2024 that you can find this year. If you are having any issues with connectivity, the PiHole Default Blocklist is also provided that solves most of these due to less number of domains. You should now also have no problem blocking advertisements while watching videos with PiHole YouTube Ads Blocklist. Do let us know in the below comments how you have adapted your PiHole and if you have had any issues with websites and apps. Cheers!

Previous articleLibgen Proxy in 2024 – New Working Libgen Mirror Link
Next article4+ Best Free AI Search Engines 2024 – Power Your Search With AI
Paul Carruthers
Paul is an avid programmer who specializes in Python and Java with over 16 years of experience in the field. He loves automating complex tasks and creating useful scripts to streamline work and make life easier. He is also a massive fan of Linux and currently uses it as his main desktop OS. When he is not staring at code, he loves hiking and swimming in different parts of the world.



Please enter your comment!
Please enter your name here