This plugin gives you the ability to limit WordPress admin logins based on the country the visitor's IP address is located in.
As of April 2026, Limit Login Countries is a WordPress login plugin with 40 active installations and a 3.8/5 rating from 4 reviews. It has been downloaded 6.1K+ times in total. Requires WordPress 3.5.0+ and PHP false+. Available on WordPress.org since 2013. Last updated 11 years ago — may have compatibility concerns. Top alternative: WPS Hide Login.
This plugin gives you the ability to limit WordPress admin logins based on the country the visitor’s IP address is located in. It uses Maxmind’s GeoIP database which comes in a free lite version.
You can choose between a white- and blacklist mode. In whitelist mode only visitors with IP addresses from the configured countries are allowed. In blacklist mode visitors with IPs from the configured countries are not allowed to login.
So far this plugin is available in English and German. If you are interested to translate the plugin to your language, use the included POT file with a programm like PoEdit and get in touch.
This plugin is developed by Dirk Weise as a pet project on GitHub. You are welcome to file an issue or send a pull request.
| WordPress | 3.5.0+ requiredTested up to 4.0.38 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.