Security · Guide
How to Use Wordfence Free: A Beginner's Guide

Short answer
Install Wordfence Security, register a free license key and optimize the firewall to Extended Protection. Then run a scan, fix what it finds, turn on two-factor login for admins, set brute force limits and choose which email alerts you want.
Key takeaways
- Wordfence free includes the firewall, scanner, two-factor login and Live Traffic.
- Free sites get new firewall rules and malware signatures after a delay.
- Optimize the firewall so it runs before WordPress loads.
- Leave learning mode on for about a week, then confirm protection is enabled.
- Turn on two-factor authentication for every admin account.
- Keep backups; a security plugin does not replace them.
How do you use Wordfence free?
Install Wordfence, register a free license, optimize the firewall, run your first scan, then turn on two-factor login and brute force limits and set up email alerts.
Wordfence's free version is one of the most popular security plugins for WordPress. It includes a web application firewall, a malware scanner, login security tools and live traffic monitoring.
The free plan has real limits, mainly that new firewall rules and malware signatures reach free sites later than paid ones. It still covers the basics that most small sites need.
This guide shows how to set it up and use it day to day. If you are unsure whether you need Premium, read is Wordfence free first.
What does Wordfence free include?
The free version includes the firewall, malware scanner, login security with two-factor authentication, brute force protection, rate limiting and Live Traffic.
| Feature | Free | Premium |
|---|---|---|
| Web application firewall | Yes | Yes |
| Firewall rule updates | Delayed | Real time |
| Malware scanner | Yes | Yes |
| Malware signature updates | Delayed | Real time |
| Two-factor authentication | Yes | Yes |
| Brute force protection | Yes | Yes |
| Live Traffic | Yes | Yes |
| Real-time IP blocklist | No | Yes |
| Country blocking | No | Yes |
| Choose scan schedule | No | Yes |
Wordfence states the delay for free users as 30 days on its plugin page. Check that page for the current details, since plans change.
How do you install and register Wordfence?
Go to Plugins > Add New Plugin, search for Wordfence Security, install and activate it, then follow the prompt to get and enter a free license key.
- Install and activate Wordfence Security by Wordfence.
- When the welcome screen opens, choose to get a free license.
- Enter your email address and agree to the terms on the Wordfence site.
- Copy the license key from the email or page.
- Paste it into the plugin and choose where security alerts should go.
The license key is free. It links your site to Wordfence's threat feed. For a full install walkthrough, see how to install the Wordfence plugin.
How do you set up the Wordfence firewall?
Go to Wordfence > Firewall, click Optimize the Wordfence Firewall, and follow the steps so the firewall loads before WordPress in Extended Protection mode.
Right after install, the firewall runs in Basic WordPress Protection. It only starts once WordPress loads, so some attacks can reach vulnerable plugin files first.
Extended Protection uses a PHP setting called auto_prepend_file. That makes the firewall run before any other PHP file on the site.
During optimization:
- Wordfence detects your server type. Accept its suggestion unless your host says otherwise.
- Download the backup of the files it will change, such as
.htaccessor.user.ini. - Click Continue and wait. On some hosts the change takes a few minutes to apply.
The Wordfence firewall documentation explains each mode. Our Wordfence firewall setup guide covers the details and errors you may see.
What is learning mode and should you use it?
Learning mode lets the firewall watch normal traffic for about a week so it can allow actions your site needs, then you switch it to Enabled and Protecting.
New installs usually start in learning mode. During this time the firewall logs what normal admin and visitor activity looks like, so it does not block it later.
Use your site normally during that week. Save posts, submit forms and use your page builder. After that, check that the status says Enabled and Protecting.
If the firewall blocks something legitimate later, you can allowlist it from the Firewall page or put the firewall back into learning mode briefly. See how to put Wordfence in learning mode.
How do you run and read a Wordfence scan?
Go to Wordfence > Scan, click Start New Scan, then review each result and choose to repair, delete or ignore it.
The scan compares WordPress core, theme and plugin files with official copies. It also looks for malware signatures, known vulnerabilities, weak passwords and suspicious content.
Results come with a severity level:
- Critical. Act now. This often means malware or a vulnerable plugin.
- Medium. Check soon, for example an outdated plugin or a file change.
- Low. Usually informational.
For changed core files, Wordfence can show the difference and offer to restore the original. For abandoned or vulnerable plugins, update or replace them.
Free sites get automatic scans on a schedule Wordfence sets. You can still start a manual scan any time. The scan help pages explain each result type.
If a scan finds malware, follow our guide to removing malware from WordPress.
How do you turn on two-factor authentication?
Go to Wordfence > Login Security, scan the QR code with an authenticator app, enter the code, save your recovery codes and click Activate.
Two-factor authentication is free in Wordfence. Use it at least for every administrator account.
- Open Wordfence > Login Security on the Two-Factor Authentication tab.
- Scan the QR code with an app such as Google Authenticator or another TOTP authenticator app.
- Download the recovery codes and keep them somewhere safe.
- Enter the 6-digit code from the app and click Activate.
On the Settings tab you can require two-factor for certain roles and add a CAPTCHA to the login page. If you get locked out, our page on Wordfence 2FA not working can help.
How should you set brute force protection?
Go to Wordfence > All Options > Brute Force Protection and set a low number of failed logins, a lockout period, and immediate lockout for invalid usernames.
Sensible starting values:
- Lock out after how many login failures: around 5.
- Lock out after how many forgot password attempts: around 5.
- Count failures over what time period: a few hours.
- Amount of time a user is locked out: several hours.
- Immediately lock out invalid usernames: on.
- Prevent the use of passwords leaked in data breaches: on for admins.
Be careful with immediate lockout if your team often mistypes usernames. Make sure everyone knows the correct login name.
If you lock yourself out, Wordfence lets you request an email that lets you back in from the block page. Our guide to fixing Wordfence blocking the admin has more options.
How do you set up email alerts?
Go to Wordfence > All Options > Email Alert Preferences, keep alerts for critical issues and admin logins, and turn off noisy alerts you do not need.
Useful alerts to keep:
- Critical problems found by the scan.
- Plugin, theme or core updates needed.
- An administrator logging in from a new device.
- Wordfence being deactivated.
Many site owners turn off alerts for every lockout, since bots trigger them all day. You can also set a limit on how many alerts are sent per hour.
How do you use Live Traffic and blocking?
Live Traffic shows visits, logins and blocked requests in real time, and you can block an IP address or pattern from Wordfence > Firewall > Blocking.
Find Live Traffic under Wordfence > Tools. Filter it to show only logins or only blocked requests to find attacks quickly.
To block someone manually, open Wordfence > Firewall > Blocking. Free users can block single IPs, IP ranges and patterns such as a user agent. Country blocking needs Premium.
Live Traffic writes to the database. On busy sites, set it to log only security-related traffic to keep the load down. Our page on Wordfence high CPU usage has more tips.
Is Wordfence free enough for most sites?
For small blogs and business sites that are kept updated, Wordfence free usually covers the essentials, as long as you also take backups.
The free plan's main weakness is the delay on new rules and signatures. Keeping plugins and themes updated closes most of that gap. The WordPress hardening guide explains other basics, such as strong passwords and limited admin accounts.
Pair Wordfence with off-site backups and a good host. Security plugins reduce risk, but nothing replaces a recent backup.
When your site stores customer data or earns real money, compare plans in what does Wordfence do.
Our review of whether Wordfence is worth it weighs the paid plans against the free one.
Frequently asked questions
Does Wordfence free need a license key?
Yes. Current versions ask you to register a free license during setup. It costs nothing and connects your site to Wordfence's threat data. You enter your email, accept the terms, and paste the key into the plugin.
How often does Wordfence free scan my site?
Free sites are scanned automatically on a schedule that Wordfence picks. You cannot choose the exact time on the free plan, but you can start a manual scan whenever you like from the Scan page.
Can Wordfence free block countries?
No. Country blocking is a Premium feature. On the free plan you can still block individual IP addresses, IP ranges, user agents and other patterns from the Blocking page in the firewall section.
Will Wordfence free slow down my site?
Most sites see little impact. The firewall adds a small amount of work to each request, and scans use server resources while they run. Limiting Live Traffic to security events helps on busy sites or low-cost hosting.
Is two-factor authentication really free in Wordfence?
Yes. Two-factor login through an authenticator app is part of the free plugin, along with recovery codes and the option to require it for selected user roles. You do not need Premium for it.
Sources
- Wordfence Security WordPress.org
- Wordfence Firewall Wordfence
- Wordfence Scan Wordfence
- Firewall learning mode Wordfence
- Hardening WordPress WordPress Developer Resources
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


