If Wordfence 2FA (Two-Issue Authentication) has locked you out of your WordPress web site, observe the 2 steps on this information to regain entry.
Step 1: Set up FileZilla
FileZilla is a well-liked Safe File Switch Protocol (SFTP) software program required to FTP to your WordPress web site’s backend. If in case you have not put in FileZilla, obtain and set up it earlier than continuing to Step 2 beneath.
Step 2: Disable Wordfence
- Open FileZilla and enter your WordPress internet hosting Server’s IP handle within the Host discipline, SFTP username and password, and the port (22 for SFTP). After getting into the small print, click on Quickconnect.
- When you efficiently FTP to the server, navigate to “/public_html/wp-content/plugins,” right-click the wordfence folder, choose Rename and append “_” to the top with out the quotes.
Renaming the Wordfence plugin folder routinely disables the plugin and the 2fa.

Step 3: Sign up to WordPress
After disabling the Wordfence plugin, it is best to be capable to check in with out 2fa.
Step 4: Re-enable Wordfence
Whereas logged in to WordPress, return to the FileZilla and rename the Wordfence plugin folder to its unique identify, with out the “_”. When you do this, the plugin can be activated.
As soon as it’s activated, open the Wordfence Login Safety web page. Then, disable and re-enable 2FA.
Conclusion
If you happen to’re locked out of your WordPress web site by Wordfence 2FA, it may be scary, however recovering your web site could be very simple. As this information demonstrates, all it’s essential do is check in to the host server by way of an FTP consumer like FileZilla.
When you check in, navigate to the Wordfence plugin folder and rename it. After renaming the folder, the plugin is deactivated, which lets you check in with out requiring a 2FA.
Lastly, from the FTP, rename the Wordfence folder to its unique identify, then, again in your WordPress dashboard, deactivate and reactivate 2FA.
I’m assured I made your day with this information, however I wish to hear from you. Present suggestions by clicking the “Was this web page useful?” suggestions request beneath.
