Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Unblock Limit Login Attempts in WordPress

Imagine being trapped by your own security measures. After improving your website security with the Limit Login Attempts password, you get your own password wrong too many times and are locked out of your WordPress dashboard.

Don’t worry, we’ve all been there. Luckily, because it is your own website there is another way in.

This article provides a quick and easy guide to regaining access to your WordPress dashboard. We’ll show you how to reset the Limit Login Attempts plugin, allowing you to bypass the lockout and get back to managing your website.

How To Unblock Limit Login Attempts in WordPress

Why Are You Locked Out of Your Own WordPress Site?

When creating a WordPress website, it is a good idea to follow security best practices to reduce the risk of hacking.

We recommend that you install the Limit Login Attempts Reloaded plugin to limit the number of times someone can attempt to log in to your website. This website security feature significantly reduces a hacker’s chances of trying to guess your login credentials using a brute-force attack.

For more details about the plugin, check out our detailed Limit Login Attempts review.

But if you are having a bad day, then you might type your own password incorrectly. Maybe you recently changed your password or didn’t realize the caps lock was on.

If you type the password wrong too many times, then you can find yourself locked out of your own WordPress admin area.

Locked Out of Your Own WordPress Admin Area

You will need to temporarily unblock limit login attempts in WordPress to regain access. We will show you two ways:

Method 1: Unblocking Limit Login Attempts Using FTP

The easiest solution for beginners is to simply delete the Limit Login Attempts Reloaded folder and then reinstall the plugin later once you can log in.

For this method, you will need to either use an FTP client or the file manager option in your WordPress hosting control panel.

If you haven’t used FTP before, then you may want to see our guide on how to use FTP to upload files to WordPress.

You need to access your site using your FTP client or file manager and then go to the /wp-content/plugins/ folder. Once you are there, you can simply delete the limit-login-attempts-reloaded plugin folder.

Simply Delete the limit-login-attempts-reloaded Folder

You can now log in to your WordPress admin area.

When you are ready, don’t forget to reinstall and activate the Limit Login Attempts Reloaded plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Method 2: Unblocking Limit Login Attempts Using MySQL

While Method 1 is simpler, advanced users who are familiar with MySQL and phpMyAdmin might like to clear the Limit Login Attempts Unloaded lockout using a SQL query.

First, you will need to log in to your web hosting dashboard and click the ‘phpMyAdmin’ icon under the Databases section.

Click the ‘phpMyAdmin’ Icon

This will launch phpMyAdmin in a new browser window. You will need to select your WordPress database if it is not already selected. After that, you should click on the ‘SQL’ tab and paste the following query:

UPDATE wp_options SET option_value = '' WHERE option_name = 'limit_login_lockouts' LIMIT 1;

This query assumes you are using the default’ wp_’ database prefix.

If you changed your database prefix, then you will need to update the query with the correct prefix.

SQL Query

Having done that, you need to click the ‘Go’ button at the bottom right of the screen to run the query.

You will be shown a message confirming that the query was successful.

SQL Query Successful

The number of unsuccessful retries has been reset, and you can now log in to your WordPress admin area.

If you would prefer to unblock your own specific IP address instead of everyone’s, then run a query like this instead:

UPDATE wp_options SET option_value = REPLACE(option_value, '111.222.111.222', '') WHERE option_name = 'limit_login_lockouts' LIMIT 1;

Make sure to update the query with your actual IP address instead of ‘111.222.111.222’. You can find it by navigating to WhatIsMyIP.com in your web browser.

We hope this tutorial helped you learn how to unblock Limit Login Attempts in WordPress. You may also want to see our guide on how to easily and securely manage passwords so you don’t forget yours again, or our expert pick of the best WordPress login page plugins.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

26 CommentsLeave a Reply

  1. harpreet singh

    I have the Loginizer plugin and apparently it was that doing it. I deactivated it

    • WPBeginner Support

      Thanks for sharing what was causing the issue for you should anyone else run into the same problem :)

      Admin

  2. Salahuddin

    Thank you this worked great, now I just need to find out why it wont take my password and tells me my email for lost password is wrong despite knowing 100% positive its the right one lol

  3. Alastair

    Lifesaver! Many thanks

    • WPBeginner Support

      Glad our guide was helpful!

      Admin

  4. Mike

    Hi,

    With the SQL solution to being locked out of the admin login page, after I put in what you suggest it comes up with error -#1146 – Table ‘zpcgqplm_wp458.wp_options’ doesn’t exist – what should I do now?

    • WPBeginner Support

      You would want to ensure you are editing the database with your WordPress information in it. That error means that your WordPress information is not in the database you are trying to edit.

      Admin

  5. Annie Henson

    Thank You so much guys :) You saved me a lot of hours.

    • WPBeginner Support

      You’re welcome, glad our guide could help :)

      Admin

  6. voku

    Thanks for this basic blog posts … this is really helpful content. :-)

    • WPBeginner Support

      Glad our content could be helpful :)

      Admin

  7. Dave

    Great advice on deleting the plugin folder. It works! If the prospect of deleting that folders concerns you, you can also simply rename the file from the file manager. This disables the plugin without deleting. Once logged into WP change the name back and you should be good to go.

  8. Sachi Knight

    Thank you! The SQL query worked a treat. Saved me being locked out of my own Site for 48 hours, lol. Chrome occasionally messes up passwords, and I have a 1-chance login. (at least I know it works. :-) )

  9. scott

    Thank you this worked great, now I just need to find out why it wont take my password and tells me my email for lost password is wrong despite knowing 100% positive its the right one lol

  10. Muntazir Abbas

    My wordpress site is locked some time for 1 hour or 3 min, how can i solve this problem??

  11. Russell Symonds

    Thank you! I am grateful for this perfectly ingenious and straightforward information which has saved me from what would otherwise have been a catastrophe.

  12. Leon

    I did it via file manager but im still loked out. please help

  13. Robin

    The most helpful and straightforward. Thank you!

  14. Megan

    Is there another plugin you recommend to limit login attempts now? Limit Login Attempts says it hasn’t been updated in over 2 years.

  15. Howard Lee Harkness

    Seems to me that the best solution for the self-lockout problem is prevention. I use LastPass to generate and track secure passwords (there are other utilities that may be just as good or even better, but I like LastPass/XMarks).

    So far (more than 2 years of using Limit Login Attempts), I have never locked myself out of any of my admin accounts.

  16. Techerhut

    Hi Syed,

    Great Tutorial.
    The first one is easier. But one should know every possible way of doing a thing. The second one – using MYSQL Query is new for me and I learned it from here.

    Thanks for the posting this.

    ~Sumit

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.