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.
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.
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.
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.
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.
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.
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.
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
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
WPBeginner Support
If you’re locked out of your admin area for any reason, we would recommend going through our article below which covers many of the ways to fix the issue
https://www.wpbeginner.com/wp-tutorials/locked-out-of-wordpress-admin/
Admin
Alastair
Lifesaver! Many thanks
WPBeginner Support
Glad our guide was helpful!
Admin
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
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
voku
Thanks for this basic blog posts … this is really helpful content.
WPBeginner Support
Glad our content could be helpful
Admin
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.
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. )
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
Colleen
Mine locked me out and says my password is wrong. This is just crazy. Many are having this problem.
WPBeginner Support
Hi Colleen,
You can deactivate all WordPress plugins to regain access to your website.
Admin
Muntazir Abbas
My wordpress site is locked some time for 1 hour or 3 min, how can i solve this problem??
WPBeginner Support
Hi Muntazir,
Do you see an error when you are locked out?
Admin
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.
Leon
I did it via file manager but im still loked out. please help
Robin
The most helpful and straightforward. Thank you!
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.
Editorial Staff
Yes we recommend using Login Lockdown — does the same thing and it’s up to date.
https://wordpress.org/plugins/login-lockdown/
Admin
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.
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