Post image for Ban Someone From a Facebook Page Permanently

Ban Someone From a Facebook Page Permanently

May 10, 2012

I had to preemptively block a Facebook user…

This post was updated on 2/10/2014 to reflect the new format implemented by Facebook.

Why I needed to block this user is neither here nor there, but when I tried to figure out how to do it, I couldn’t find an answer anywhere. I knew I could block a user who had already liked or commented on the page, but I had no idea how to block a user who had never before interacted with the page.

At first, I thought it couldn’t be done. But I figured I’d ask around & see if I’d be surprised. A few friends (namely Shannan Boyer and Christiaan Todd) pointed me to a Facebook Note that claimed to offer a fix to this problem. I was ecstatic until I tried the process detailed in the note.

It almost worked.

The problem was, the fix as it was written had worked when the note was originally published, back in early 2011, but Facebook had changed the code since, which broke the fix. I spent a little time kicking the fix around & eventually figured out how to preemptively ban users permanently.

My solution, your solution. Here goes:

First step: Open Google Chrome.

(Note: This step is the easiest of all 10 steps.)

Second Step: Find the Facebook ID number of the person you want to block.

You can find this by going to their Facebook page. Click on their “Photos” section. Click on one of their photo albums. Now, as you’re looking at one of their albums, look up in the address bar. You’ll see something like this: (This link is to Krysti’s Facebook account, to the profile picture album. Looking good, eh?) The last string of numbers between the “.” and the “&” is the Facebook user id. So in this example, the user id is 2290717.

Third Step: Go to your Facebook Page.

Toward the leftermost, top part of your page,  you’ll see an area titled “New Likes”. To the right of the title you’ll see a link called”See All”. Right click on this link and open it as a new tab. It has to be a new tab & this process will not work if you just click on the link. (If you know your business page’s id, there’s a quicker way. Type “” in the address bar of a new tab. Stick your business page id after the equals sign, click the enter key,  & PRESTO CHANGO you’re there.)

Fourth Step: Select a “Remove” Button.

You’ll see a list of all the people who like your page. To the right of each user’s profile picture and name, there’s an image that looks like this “Facebook Remove ButtonFacebook Remove Arrow“. Click on one of these buttons and a drop down will appear with 2 options. Right click on the option called “Remove” and select “Inspect Element” from the drop down menu.

Fifth Step: Find the Applicable code.

At the bottom of the page, you will see a block of text highlighted (in blue) that looks something like this:

<a class =”_54nc” tabindex=”0″ href=”/ajax/pages/fanlist/mutator.php?page_id=343662715723&amp;user_id=22907171&amp;act=remove” rel=”async-post” role=”menuitem”>


<span class=”_54nh”>Remove</span>



Sixth Step: Prepare to edit code.

Right click on the <a class =”_54nc” tabindex=”0″ href=”/ajax/pages/fanlist/mutator.php?page_id=343662715723&amp;user_id=22907171&amp;act=remove” rel=”async-post” role=”menuitem”> line, and select “Edit as HTML” option.

Seventh Step: Edit code.

Take the Facebook user id number that you got in step one, and replace the number after “user_id=” in the code.

Eighth Step: Save Changes.

Click somewhere outside of the editable zone to save your change, but do not close the “Inspect Element” window.

Ninth Step: Make with the clicky.

Go back to the “People Who Like This Page”  segment of your open page and find the same “Facebook Remove ButtonFacebook Remove Arrow” you clicked on in step 3. Remember: it has to be the same “Facebook Remove ButtonFacebook Remove Arrow“; if you click on a different “Facebook Remove ButtonFacebook Remove Arrow“, one of your kind and trusting fans will be unceremoniously blocked from your page, and you’ll be a no-good-nik. Select the “Remove” option again.

Tenth Step: Remove offensive person.

A window will pop up, asking you if you’re sure that you want to remove the person you’re trying to remove from your page. The name of the person you are trying to remove should appear in the pop up so you can be sure you are removing the correct user. (Of course you’re sure, otherwise you wouldn’t go to such lengths to get this far in the first place, but it’s still nice that Facebook asks.) Make sure you check the “Ban Permanently” box at the left of the window. Then hit “Okay”.


CONGRATULATIONS, YOU’VE DONE IT! (If you haven’t done it, go ahead and leave a message for me in the comments below & I’ll be happy to try and help you out.)

Photo credit: Nicola since 1972

Written by Joe RobbKrysti Jansen

{ 145 comments… read them below or add one }

Marie Brooks October 14, 2013 at 12:24 am

I removed several people from my Facebook Page with the method above (it appears to work), but my number of likes does not go down. Why is that?

Krysti October 14, 2013 at 9:40 am

Banning a user does not stop them from liking the page. They will continue to like your page but will not be able to post comments on the page or on any of your posts. Unfortunately, even if you remove them from liking your page, they are able to re-like it whenever they would like.

Krysti October 14, 2013 at 9:43 am

A banned user can still send a message to you and you will see the message. There is no way to prevent this unless you turn off your message box entirely.

Krysti October 14, 2013 at 9:46 am

Make sure you are using Google Chrome. Once you right click the X it should give you an option to “Inspect Element”. When you select this, the code will appear in a window at the bottom of your screen. You may have to expand it up to be able to see the code you need to use.

Deon Fialkov October 24, 2013 at 12:06 pm

I think the concept of banning someone is incredibly messed up.

The whole point of banning someone means that you should be able to remove the person completely from the page. ie. you don’t want them LIKING the page or it in general …

but there’s always some problem with this fb. portal

Tyson November 6, 2013 at 6:53 pm

Thanks a lot for this. You are a gem.

Loni December 1, 2013 at 2:07 pm

Unfortunately, Facebook changes their layouts so often that it’s impossible to follow this formula verbatim – especially when telling you of the ‘left hand side of the screen’ info. As of 12/01/13, that no longer applies…

Krysti December 2, 2013 at 8:57 am

Can you be more specific? I would like to keep this post as up to date as possible to help others out but I’m not seeing which part of the layout has changed recently. Thank you!

Robert December 4, 2013 at 2:38 pm


Is there any way to prevent someone from viewing your FB business page at all?

Krysti December 4, 2013 at 2:47 pm

A Facebook Business Page is public and available to anyone who is on Facebook. There is no way to prevent users from seeing your page. The only option is to remove them from liking your page so they do not receive updates from you in their news feed. However, they still have the option of re-liking your page. Banning them also does not prevent users from seeing your page, but does prevent them from commenting on anything you post. I hope this helped answer your question and sorry it’s not a great answer.

Kendall December 11, 2013 at 1:43 pm

You are a God-send. Thank you so much for the help with this! I have been trying and trying to figure out how to ban a specific user but couldn’t find them amid the thousands of “likes” on our page! This did the trick!

Michelle December 12, 2013 at 3:00 pm

Hi there! I wonder if you know how this would work to remove someone from a group? We can see them, we try to ban them and facebook says they aren’t a member of the group. They do indeed have a vanity URL. Thank you for your time.

Krysti December 12, 2013 at 3:10 pm

Is it a closed group? Also, are they showing up in your list of members?

Akira Watts December 17, 2013 at 8:47 pm

Followed the steps exactly, but the user in question doesn’t show up on the list of banned users. Is that expected behavior, since I had to take this roundabout way of banning them?

Krysti December 18, 2013 at 8:23 am

Once you have followed all of the steps, the user should show up in your banned user list. Even though you had to do this backwards way of banning them.

BP December 18, 2013 at 5:12 pm

on the 9th step, when u said find the same X that was right clicked on step 3, what am I supposed to do with this X ? I asked bc I clicked it, a window pop up, and I accidentally removed a person who I wasn’t planning on blocking! What did I do wrong here ?

Krysti December 19, 2013 at 8:31 am

The X that you click on should be the one that you edited the code for. If you leave the inspect element section up in Google Chrome, underneath the input section that you edited, there is an element that starts

Denise January 25, 2014 at 12:10 am

How do I ban someone from my business page who has not “Liked” my page, but “Likes” various posts? I understand your steps, but I cannot paste their FB profile ID because they are not in the list of people who “Like” my page.

Krysti January 27, 2014 at 10:54 am

You can ban them even if they haven’t liked your page. See step 2 in this post. Note that if they are using a vanity url, you will have to go to their photo section as noted in the bottom portion of step 2.

joe January 31, 2014 at 5:39 am

wow, great post. Thanks. Works like a charm

joe dirt February 6, 2014 at 6:22 am

Is it just me or did Facebook recently change the code formatting so you can’t do this anymore?

John D February 7, 2014 at 2:59 pm

Looks like FB *JUST* changed the code yesterday making this method ineffective.

alli February 7, 2014 at 6:31 pm

Can you update this with the new instructions? There is no longer an “X” but instead an option to make admin or remove…

Krysti February 10, 2014 at 11:30 am

Thank you for the heads up. I have updated the information in the post to reflect the changes made by Facebook. If you follow the new instructions, this method should still work.

Krysti February 10, 2014 at 11:30 am

I have updated the instructions so read carefully for the new code but this should still work for you if you follow the steps. Thank you for letting me know.

Gwenevere February 14, 2014 at 6:11 pm

Awesome, thanks so much!!!!

hayley February 19, 2014 at 7:32 pm

Hi there, I’ve got to the stage of right clicking remove but i can’t get the inspect element to show up? Can you help…i desperately need to remove someone from my page. thanks!

Krysti February 20, 2014 at 9:06 am

If you are using Google Chrome, and you have right clicked on “remove” a drop down list of options should show up and at the very bottom of this list is “Inspect Element”. Is a drop down list showing up at all for you?

alli February 22, 2014 at 3:33 pm

Works like a charm now, thanks!

Would you perhaps be able to create a similar post using this inspect element technique for removing ‘likes’ (yours and other peoples) on instagram photos via statigram?

Krysti February 24, 2014 at 12:01 pm

I attempted to use the same method to try to remove a user’s like from one of my photos using statigram. It would not allow me. I believe the reason is because instagram only has the button for you to remove your own likes and they use Javascript to allow you to like and unlike your own photo. This button was not affected by changing the html. Even after changing the user id in the code, when I refreshed the page to view the likes again, my like was removed but the user I tried to remove was still there. If anyone finds a way of doing this, please feel free to share with everyone.

alli February 26, 2014 at 12:55 am

Krysti – what about removing your “like” from someone else’s photo via statigram?

Naama February 26, 2014 at 3:02 am

Hello! Thanks for the detailed information.

I have the opposite problem – I am trying to unban a user, but Facebook only allows you to unban a certain nubmer of recently banned users. I have tried using this method to unban but it didn’t work. Any ideas?

Thanks in advance!

Naama February 26, 2014 at 3:13 am

OK – I think I just succeeded! :) And it’s all thanks to you (and a few more attempts)

Krysti February 26, 2014 at 8:36 am

Great! I am glad you were able to get this to work.

Red February 27, 2014 at 7:02 am

Sorry it didn’t work for me. I have used your method before successfully in the past before Facebook changed everything. I followed the steps carefully but the name of the person I was trying to ban didn’t show up in the pop up that asks me to confirm and neither of the two people I was trying to ban showed up in the list of banned users when I checked afterwards (neither did the random that I chose to use).

Krysti February 27, 2014 at 9:01 am

That’s strange. I tested again this morning and the method still worked. Do you have these users blocked in your personal account? That would be a reason for you not seeing them because if you block them you can no longer see them on Facebook at all.

Deanna February 27, 2014 at 2:27 pm

I have got the userid that I need, but in looking through that code window, I can’t for the LIFE of me find any line that says “userid” so I can swap it out. Please help! :)

Krysti February 27, 2014 at 2:50 pm

Once you right click “Remove” and select “Inspect Element”, you should see in the bottom of the page the code below with the Remove highlighted. Within the


MP March 9, 2014 at 9:56 am

I did the steps, the name appeared, I banned permanently but the person was still able to like the page. What am I doing wrong?

Krysti March 10, 2014 at 7:55 am

Banning a user does not prevent them from being able to like a page. It only prevents them from posting on your page and commenting on posts. Because Facebook pages are public, anyone can like them, even after they are banned.

Philippa du toit March 31, 2014 at 1:10 am

Hi,do I have to unblock them first,so they appear on the list of likes? And does that then leave me with the 48 hr waiting period befor they are banned?! Thanks!

Krysti March 31, 2014 at 8:34 am

Blocking and banning users are completely separate actions. If you have the user blocked from your personal account, they will not show up in the list of likes on your Page and you cannot view their profile to access the user id you need to ban them. You can unblock the user from your personal account but you should not have to wait 48 hours to ban them. You will have to wait the 48 hours to re-block them on your personal account, but keep in mind that if you have them blocked you cannot see them on Facebook at all so you may not see them in your banned users list once you have blocked them.

T Ritchie April 13, 2014 at 11:56 pm

I am trying to use this for people who have left me bad reviews that I have never even worked with, I’m pretty sure they are competition and doing this to hurt my business? I did exactly as you said, and it worked perfectly, however, their less than 5 star reviews are still showing? I’m assuming doing this doesn’t delete the review they left me in the past…correct?

Krysti April 14, 2014 at 9:17 am

That’s right. Unfortunately, Facebook just does not allow you to remove individual reviews. The best way to handle negative reviews is to respond to the review. If people see that you had a negative comment (even if it is a false statement) and you are responding and trying to resolve the issue, it is viewed more positively than just deleting it. You can also try reporting it to Facebook and wait for their response or contact the person who left the review and ask them to remove it. If none of these work for you, there is always the option to turn off all reviews but this will also hide your map. The steps for this method are below. I hope this helps!

Go to your Facebook Page
Click edit page
Click update page info
Click edit to the right of address
Make sure “Show this map on your Page and enable check-ins” is NOT selected
Click Save Changes

ELD April 15, 2014 at 1:47 pm

You * Are * A * Lifesaver!!! Thank you!

Leave a Comment

{ 1 trackback }

Previous post:

Next post:

WordPress Appliance - Powered by TurnKey Linux