> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.weltpixel.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to set Captcha in Magento 2

Having a Captcha on your store is quite important. Captcha or **Completely Automated Public Turing test to Tell Computers and Humans Apart** is a technique to distinguish between humans and computers. Captcha is mainly used as a security check to ensure only human users can pass through.

**To set it up, follow the below steps:**

---

**1. Set CAPTCHA for Admin Store**  
For extra security, you can add CAPTCHA to the Admin Sign-in page.

![magento-2-captcha-admin.png](https://storage.crisp.chat/users/helpdesk/website/-/4/b/d/c/4bdce97a36015400/c2d5410a-7bde-4663-8362-9c1730_guxi3o.png)

To set it up, go to:  
**Admin -> Stores -> Settings -> Configuration -> Advanced -> Admin -> Scope: Select Store -> Captcha**

* **Enable CAPTCHA in Admin [Yes / No]** – Set to Yes if you want Captcha to appear on the Admin Page.  
* **Font** – The font is set to default: LinLibertine.  
* **Forms** – If you want to set both options, press CTRL and select the second option as well.  
* **Displaying Mode [Always / After a number of attempts to login]**  
* **Number of Unsuccessful Attempts to Login** – If 0 is specified, CAPTCHA on the Login form will always be available.  
* **CAPTCHA Timeout (minutes)** – Set the number of minutes before the CAPTCHA expires. After expiry, the Admin needs to reload the page before attempting again.  
* **Number of Symbols** – Set up to 8 symbols (e.g., 3–5).  
* **Symbols Used in CAPTCHA** – Enter a-z (A-Z) letters and numbers 0–9 that you want to randomly appear in the CAPTCHA.  
* **Case Sensitive [Yes / No]** – Set to Yes if you want Admins to enter the exact upper/lowercase as shown in the CAPTCHA image.  

Click **Save Config.**

---

**2. Set CAPTCHA for the Storefront**  
You can set CAPTCHA for customers to appear each time they log in or only after a few unsuccessful attempts.

![magento-2-captcha-storefront.png](https://storage.crisp.chat/users/helpdesk/website/-/a/b/e/0/abe071338271e800/fbc0b3aa-2c78-4505-aeca-6ea900_1c6k0kz.png)

To set it up, go to:  
**Admin -> Stores -> Settings -> Configuration -> Customers -> Customer Configuration -> CAPTCHA**

* **Enable CAPTCHA on Storefront [Yes / No]** – Enable or disable CAPTCHA for customers.  
* **Font** – The font is set to default: LinLibertine.  
* **Forms** – If you want multiple options, press CTRL and select where the CAPTCHA should appear (options shown in the image above).  
* **Displaying Mode [Always / After a number of attempts to login]**  
* **Number of Unsuccessful Attempts to Login** – If 0 is specified, CAPTCHA on the Login form will always be available.  
* **CAPTCHA Timeout (minutes)** – Set the number of minutes before the CAPTCHA expires. After expiry, the customer must reload the page before trying again.  
* **Number of Symbols** – Set up to 8 symbols (e.g., 3–5).  
* **Symbols Used in CAPTCHA** – Enter a-z (A-Z) letters and numbers 0–9 to randomly appear in the CAPTCHA.  
* **Case Sensitive [Yes / No]** – Set to Yes if customers must match exact uppercase/lowercase characters.  

Click **Save Config.**

---

If you want to set up **Google reCAPTCHA** for your store, follow this guide:  
[How to set up reCAPTCHA on Magento 2](https://help.weltpixel.com/en/article/how-to-set-up-recaptcha-on-magento-2-ronemf/)