How to Mass Unfollow on Instagram Easily [2023 Updated]


Last updated on April 17th, 2023 at 12:46 am

Read Time:5 Minute, 1 Second

Time for an Instagram mass unfollow? Is your Instagram full of people that you have followed over the years and you just want a big clearout?

Following on from our guide about How to Mass Unfollow on Twitter, we had been asked how to carry out a bulk unfollow on Instagram using a similar method. It’s time to get rid of all those Instagram users’ accounts and inactive users and unfollow users that you no longer want spamming your Instagram feed.

You can download an Instagram unfollow app on your smartphone from the app store, but 9 times out of 10 they either don’t work or get you banned under the terms of service of Instagram.

Well, we have been working on this and we now have a solution to carry this out using nothing more than Google Chrome and a bit of clever code. This is a slow method of unfollowing users but that’s the whole point, leave it running overnight and eventually you will have completed your unfollowing without getting your account banned.

Instagram Code Update

You may have noticed that the code that we had in this guide since we wrote it back in January 2017 had ceased to work. This is because the likes of Instagram are constantly updating their algorithms to stop bots and code running on their sites. 

It has only recently been brought to our attention that the code in this guide had stopped working and when we found out, we started working on finding code that will work. Having spent a few days searching Google, we have finally put some code together from various methods from a number of sites that we have tested and confirmed (as of posting this update!) is fully working.

It consists of two much larger pieces of code so we will add them as text files to download rather than posting the whole code. Whilst we are updating this post, we have also updated the screenshots and recorded a video to show it working in full.

The Slow Unfollow Method

Be aware that this process is not a speedy one. Before you go any further and get all frustrated and leave negative comments, this process is designed to lowly unfollow people as to not trigger the 403 error which will make Instagram think that you are a bot. So it will slowly unfollow one account every 60 seconds.  Instagram tools let you automate these tasks as well and they are always worth a try to avoid the slow manual methods.

This means that this process is designed to be left to run for some time, overnight, over a weekend – depends how many accounts you want to unfollow.

You can go ahead and make changes to the script – you can change this line in the unfollow.txt file that you will download, to amend the seconds – 60 * 1000 = 60 seconds:

let step = 60 * 1000;

But you do this at your own risk and don’t blame us if you get banned from Instagram!

Video Walk Through

We have created a walk-through of the below process to show it in full working order. The video may help you understand what script goes where and shows the outcome which is accounts being unfollowed!

If you watch the video, you might get a bit bored from the start of the unfollow process. It goes through to unfollowing three accounts which is three minutes of nothingness really, but it shows you exactly how it will work so you can just skip the last bit.

We suggest that you follow the written instructions below very care though, the video is just a guide.

Instagram Mass Unfollow Instructions

First of all, you will need to be using Google Chrome as your computer internet browser. Then login to the account that you want to Instagram mass unfollow on.

When you have successfully logged into your Instagram account, click on the little man icon at the top right of the page:

Instagram Profile

This will then take you to your own profile page. You should see your following number, you should now click this:

Instagram Mass Unfollow Profile Followers

This will bring up a pop-up of all the people you are following:

Instagram Mass Unfollow Profile Followees

Once you are here, you should now press CTRL+SHIFT+J – this will now bring up the console to the right side of your Google Chrome browser and should look similar to this:

Google Chrome Console

Instagram Mass Unfollow Code

You should then enter two pieces of code – however, one must be done before the other, do not try to run all in one go. First of all, download the text files below:


Download Instagram Unfollow Scripts

Then copy and paste the contents of the start.txt file into the console and press the Enter key on your keyboard to execute:

Instagram Mass Unfollow Java Script Start

You should notice that underneath the script you have just run, true appears as in the above screenshot.

Then copy and paste the contents of the unfollow.txt file you have downloaded into the console underneath the true statement:

Instagram Mass Unfollow Java Script Run

This should then start the process of Instagram mass unfollow:

Instagram Mass Unfollow Process

Note that the error:

Uncaught ReferenceError: jqueryScript is not defined at <anonymous>:42:54

Just ignore this, as you can see, the process starts and continues regardless of this error message.

Depending on how many people you want to unfollow, you may hit Instagram’s limits – if you do, just re-run the above.


Please be aware that these are scripts that are not written by us. It is a combination of a number of scripts across various Googled sites and we have no idea where it is from! If you feel any of these scripts are yours, please leave us a comment below and we will credit you for it!


If you have any feedback or queries on this guide, we would love to hear from you, so please feel free to leave us a message below and we will try to answer as soon as we can.

Click to rate this post!
[Total: 1 Average: 5]

Discover more from TechyGeeksHome

Subscribe to get the latest posts to your email.

58 thoughts on “How to Mass Unfollow on Instagram Easily [2023 Updated]

  1. help please: Error: no Following buttons found, maybe change the text the button?

  2. help please

    VM41:42 Uncaught ReferenceError: jqueryScript is not defined
    at :42:54
    (anonymous) @ VM41:42
    99f662369162.js:77 [Violation] ‘setTimeout’ handler took

  3. SyntaxError: ‘button:contains(‘Following’)’ is not a valid selector debugger eval code:3

  4. If you could help me unfollow 4,000, I can pay you through paypal. My gmail is dara288 I can not get the code to work. My account got hacked when I joined one of those softwares where you can automatically have photos post to your Instagram account. That is how I ended up following people I do not even know. Thanks.

  5. window.setInterval(function(){
    var x = 0;
    if(x==14) {
    console.log(‘Llegamos a 14. Ahora esperamos 700 segundos.’);
    return false;
    console.log(‘Vamos por el’ + x);
    }, 700000);

  6. Great code absolutely love it! Has anyone came up with a solution to pass more than 15 unfollows?

  7. Hi,

    Not working for me, it looks like it’s working in the left window but doesn t unfollow anybody.

    Is it still running? or maybe the language of google chrome?

    Do you have any idea?

  8. guys it’s a mess in this way, you can unfollow 1 person every 30 seconds, so that you won’t be stopped by instagram. When instagram block you, you must wait again 24h before you can start again, so you just need to unfollow 1 every 30 seconds. Would be possible for you to paste the same guide with this pause of 30 seconds between two unfollow? thank you very much!

  9. it’s working great, thank you so much for your work.
    how can i edit the waiting time between the unfollowng ?
    can you help me here ?
    i want to make 5 seconds between every single unfollow !
    and thank you <3

  10. it doesn’t works for me :c
    it runs normally, but do not unfollow no one, and just continuous runing the loop.

    what should i do?
    maybe the language? mine’s brazlian

  11. This is great, saved me so much time. Is there a way to change the script so it follow users. I tried to change the text from “following” to “follow” but it doesn’t seem to follow the users in the pop-up I want to follow.

  12. I found that I could do 15 at a time by manual testing (so change ‘if(x==3)’ to ‘if(x==15)’ every 700 seconds (so change the last line in the second script from ‘}, 1000);’ to ‘}, 700000);’

    600 seconds (10 minutes) was not long enough. The second loop would return errors. 700 seconds was stable. It also tends to only delete 10 at a time unless you scroll the Following window down to trigger loading of more entries. With that step it would delete 15 each iteration.

    Successfully deleted a couple of thousand users by letting it run for two days.

    1. Hello, thanks for sharing. I also need to unfollow a couple thousands but it did not work how you said , I just changed the if(x==3)’ to ‘if(x==15)’ and also last line in the second script from ‘}, 1000);’ to ‘}, 700000);’ as you mentioned. Do I need to do anything else ?

        1. He wants the full code of mohamad where he is changing parts of the code allowing him to unfollow few thousand accounts. I’m also interested in full code, otherwise, code fails after 15 users.

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.