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

How to Add Security Questions to the WordPress Login Screen

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to add security questions to your WordPress login screen?

Many financial institutions and large companies require you to add security questions to your account for identity verification. You can do the same thing to improve the security of your WordPress site.

In this article, we will show you how to add security questions to your WordPress login screen.

How to Add Security Questions to WordPress Login Screen

Why Add Security Questions in WordPress?

There are many ways to protect the WordPress admin area from unauthorized access. However, if you run a multi-user or WordPress membership site, then it is harder to balance website security with user experience.

Adding security questions to your login screen can help. Before your users can log in to your WordPress website, they will be required to answer one or more questions that other users shouldn’t know the answer to.

This security measure can help protect your website from brute-force attacks by hackers.

An alternative is two-factor authentication or 2FA. This option is more secure but requires a little more effort to set up. You can learn more by reading our guide on how to add two-factor authentication in WordPress.

Having said that, let’s see how you can easily add security questions to your WordPress login screen.

Adding Security Questions to Your Login Screen

First, you need to install and activate the Two Factor Authentication plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

In this tutorial, we will use the free version of the plugin. With the free version, you can set up security questions for up to three users, and they must have the administrator role.

If you want to use the plugin with more users or users who are not administrators, then you will need to purchase a premium license.

Upon activation, you need to visit the Multi-factor Authentication » Two Factor page to adjust the plugin settings. Once there, simply click the ‘Configure’ button that you will find at the bottom of the Security Questions section.

Click the Configure Button under the Security Questions Section

On the next page, you can select two questions from the dropdown menus. You will have to type the third question yourself.

Once you have chosen the questions, you will need to type in your answers.

Choose Your Security Questions and Answers

Make sure you click the ‘Save’ button to store your settings.

The plugin will display a success message that confirms your security questions have been configured. You can dismiss the message by clicking the ‘Got it!’ button.

Security Questions Success Message

Note that these questions and answers are for you alone. Other users on your WordPress website will need to visit this page and set up their own questions.

When you log in to your website, you will still see the standard WordPress login page. You will need to enter your username and password as usual.

The WordPress Login Screen

After clicking the ‘Log In’ button, you will be asked to validate your login by answering two questions. You will need to correctly type the answers to those questions and then click the ‘Validate’ button.

Type Your Answers and Click Validate

Our Best Guides for Login Screen Security

Adding security questions to the login screen is just one way to improve your WordPress security. Here are some guides on other ways you can protect your login screen:

We hope this tutorial helped you learn how to add security questions to your WordPress login screen. You may also want to see our guide on how to get a free SSL certificate for your WordPress website or our expert picks of the best WordPress hosting services.

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

14 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Dayo Olobayo says

    An interesting angle to consider is whether security questions become less effective over time. As social media profiles become more commonplace and people share more personal information online, I believe the answers to security questions can be easier to guess. Isn’t it possible for the security questions to auto update periodically?

  3. Mrteesurez says

    This is another way to protect a WordPress site by using Security questions especially for a membership site.

    My question is, is this only applicable or works for a default WordPress login page ??
    What of I want to use it in a custom reg and login page ??

    • WPBeginner Support says

      It would require some coding but we do not have a beginner-friendly method to set this up without a plugin at the moment.


  4. Bette Greenfield says

    Is the information in this article up to date. Last updated on September 26th, 2016 by Editorial Staff

    • WPBeginner Support says

      The plugin should still be working but the plugin may have updated their interface since this article was last updated


      • chris says

        yes i know this, however the plugin only gave me the questions with no answer box
        that is very strange with a glitch like that.

      • chris says

        I did all that and still even with putting an answer in or not it still doesn’t work it’s a crappy plugin no good to anyone.
        I would not recommend this to my friends.
        How embarrassing for this developer to put this out and for you to recommend.
        bad bad bad

        • Dean Bartley says

          I tried it and it works just fine. Your plugins or theme must be conflicting with the plugin. And I really don’t see why your behaving the way you are. They are just trying to help. Chill with the negative comment and be thankful they are recommending stuff. If you don’t agree that is your opinion. Thanks for the recommendation wpbeginner. Keep up the good work.

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.