How to Fix WordPress Login Blocked by Wordfence

Updated: May 24, 2021

Wordfence is a popular security plugin that you can use to protect your WordPress site from a wide range of cyberattacks. One of which is brute force attacks. A brute force attack is a cyberattack type where an attacker randomly enters many passwords with the purpose of eventually guessing the correct one. While this type of protection is particularly great to prevent unauthorized parties to get into your website, it can also be troublesome sometimes. Especially if you often use a weak password on your WordPress site as Wordfence will block a login with a weak password.

What to do if your login is blocked by Wordfence?

When Wordfence blocks your login, you will be asked to reset your password (you will be provided a link to do so). But sometimes, the link doesn’t work. No worries, you are not losing your site. You can still login to your site by temporarily disable the Wordfrence plugin.

How to disable the Wordfence plugin while you are unable to login to the WordPress dashboard? You can do so from the control panel of your web hosting.

So, first off, login to your web hosting and open the control panel. Open file manager and go to the root directory of your WordPress (public_html in most cases). Next, go to the plugins folder under the wp-content folder (wp-content/plugins). Find the wordfence folder and rename it with something like wordfence-disable.

Now try to re-login with your username and password and you should face no issue now.

Once successfully logged in to the WordPress dashboard, you can re-enable the Wordfence plugin to have your site protected. To do so, you can go to the plugin manager (Plugins -> Installed Plugins) or from the file manager of your web hosting by reverting back its original directory name. Before doing so, make sure you have changed your password with a stronger one so that Wordfence won’t block it anymore.

To change your current password, go to Users -> Your Profile. Scroll down to the Account Management section and click the Generate Password button. Enter your password and click the Update Profile button.

This page may contain affiliate links, which help support WP Pagebuilders. Learn more

Leave a Comment

Pin It on Pinterest

Thanks for commenting

Help us grow by sharing this post with your friends!

Join 500+ WordPress users receiving tips and insights on creating with WordPress in the no-code era.


How long have you been using WordPress? If you are an old WordPress user, then you have been a witness how WordPress has evolved massively. It has gone from a merely blogging tool into a comprehensive website builder. You can now use WordPress to create any type of website. From e-commerce website, LMS, listing website, membership website, to social media website.

Do you know what’s more interesting?

You can create your website with WordPress without touching a single line of code. At WP Pagebuilders, we write a lot about how to get the most out of WordPress in the no-code era. Subscribe and be first to know our newest content.