Automatically Unfollow Twitter Users who don’t Follow You Back

Have you followed users on Twitter and weren’t bothered if they followed you back or not?

That is until one day you look at your stats and find you have been following lots of users for whatever reason but very few users followed you back and you realise you now have a negative follow ratio and it can take a lot of time fix by removing non followers.

Please note that Twitter does not permit any automated or bulk following or unfollowing behavior!

Do read Twitters own ‘Following rules and best practices

The following method allows you to automatically & indiscriminately unfollow twitter followers who haven’t followed you back that are either inactive, can’t be bothered following you or likely to be fake.

REMEMBER THIS METHOD IS INDISCRIMINATE and will remove all non followers, plus you could get a slap on the wrist from Twitter.

It does not cost you nor do you have to sign-up to a premium service or tool.

The instructions to open JS Console is for Google Chrome users

The method is to use a little java script & the JS Console in DevTools. Don’t worry its not too difficult.

If you are unfamiliar with JS Console see here for JS Console tutorial


  1. Open your twitter profile in your browser and go to followers:
  2. Then on your keyboard click ‘CTRL+SHIFT+J’ which open the JS Console in DevTools

You will then need to scroll down to the very last profile in your followers list.

This can take some time but you can use the auto-scroll java script below to automatically do it for you

Auto-Scroll Code

To auto-scroll to the bottom of the page, copy & paste the code below into the JS Console and hit enter.

Wait till it reaches the bottom of the page before continuing.


setInterval(function() { window.scrollTo(0, document.body.scrollHeight); }, 2000);


Unfollow ALL Non Followers Code

Copy & paste the code below and hit enter to unfollow everyone who is not following you.

Update 20/01/2018 – This code works 

var status = $(this).find('.FollowStatus').text();
var unfollowButton = $(this).find('.user-actions-follow-button');


The code below, no longer works

$(‘.ProfileCard-content’).each(function(){var status = $(this).find(‘.FollowStatus’).text();var unfollowButton = $(this).find(‘.user-actions-follow-button’);if(status != ‘follows you’){;}});


It may seem the code is not doing anything .. but leave it run for some time and then refresh you twitter account to see the number of user you are following has decreased.

I believe in synergy skills for creating quicker, more efficient experiences in technology and workflows I am a Photo Restoration artist & SEO consultant specialising in small business and start-ups.

Leave a Comment

    • Michael
    • July 5, 2018

    I receive a “Uncaught SyntaxError: Invalid or unexpected token” each time I have tried. Is the new code no longer working?

    • Reply

      Hi Michael, still works, there might have been a little jibberish in the code due to an issue with a plugin I removed but it the code is clean now if you try copy and paste again