Update December 5, 2017:

All versions of AdBlock (AdBlock Premium for Chrome and AdBlock for Chrome, Microsoft Edge, Firefox, and Safari) can block ads and suggested posts on Facebook using new filter rule syntax available in EasyList. The EasyList list authors are now keeping up with changes Facebook makes to circumvent ad blocking. If you notice that suggested posts are breaking through, please report them to EasyList.



Update February 21, 2017:

The solution described below is working again! Facebook changes their code almost daily, it seems. The folks who maintain the "Facebook unsponsored" userscript are doing their best to keep up. You can help! If you start seeing sponsored posts again, please report it on the Greasy Fork "Facebook unsponsored" forum. In the meantime, be sure to keep your userscript updated so that you'll have the latest countermeasures every time a new version of the userscript is released.


On August 9, 2016, news broke that Facebook had decided to take a hard line against ad blocking by disguising ads in a way that makes them much more difficult for ad blockers to detect. The open source software community immediately rose to the challenge. Here's how to block those sponsored posts in your Facebook news feed.


Note: AdBlock for Microsoft Edge blocks Facebook sponsored posts without any additional help. You'll only need to follow the steps below if you use a different browser.


Note: Make sure that you are not subscribed to the Acceptable Ads filter list in AdBlock's options, FILTER LISTS tab! You probably won't be able to block any ads on Facebook with that filter list enabled.


According to this post on the EasyList forum, the best way to block Facebook's sponsored posts is to use a Tampermonkey userscript called "Facebook unsponsored."


(Quick review: Userscripts are tiny bits of computer code that help your browser do extra things. Your browser needs a script manager to run userscripts. Tampermonkey and Greasemonkey are the most popular script managers.)


Use Tampermonkey and the "Facebook unsponsored" userscript

(Instructions shamelessly lifted from Greasy Fork)


1. Install Tampermonkey (or the equivalent for your browser) and enable it.


2. Visit the "Facebook unsponsored" page and click the green Install this script button.

3. Refresh your Facebook page.


Keep your userscripts up-to-date

As Facebook changes its ad implementation, the author of the "Facebook unsponsored" userscript has been releasing updates to circumvent the new method. Here's how to make sure you have the latest version.

(Update December 15, 2016: Facebook hasn't changed its method in a while. If the "Facebook unsponsored" userscript hasn't been updated, but those sponsored posts are still being removed, there is no need to force an update.)

  • Click the Tampermonkey button in your browser toolbar and then click Check for userscript updates.

    OR,
  1. Click the Tampermonkey button in your browser toolbar and then click Dashboard.
  2. If the Last updated column for "Facebook unsponsored" does not show 15 d or less, select the check box at the left side of that row, then select Trigger update under "Please choose an option," and then click Start.


It should look something like this:





I still see ads in the right sidebar

This seems to be part of Facebook's more aggressive stance toward ad blocking. In addition to showing you sponsored ads in the newsfeed, Facebook is also forcing sponsored ads in the right sidebar.


The TamperMonkey + userscript solution isn't working for the sidebar ads. Instead, you'll need to use some custom filters to block the ads, like this:

  1. Click the AdBlock button and select Options, then click the CUSTOMIZE tab.
  2. Click Edit to open the custom filters box.
  3. Paste the filters below exactly as given.
  4. Click Save.
  5. Reload the page you're trying to view.


Copy these filters:


facebook.com###pagelet_ego_pane .uiHeader.uiHeaderTopBorder.mbs.uiSideHeader

facebook.com##.ego_unit

facebook.com###pagelet_ego_pane .ego_unit


As always, we'll update this article if something changes!

 

Can I block Facebook sponsored posts on my mobile device?

We're looking into it. Follow the discussion on the EasyList forum.


Bonus tip: Block other annoying stuff on Facebook