![One-time passwords and 2FA codes — what to do if you receive one without requesting it](https://webcf.waybackmachine.org/web/20240212002733/https://media.kasperskydaily.com/wp-content/uploads/sites/86/2024/02/08124341/unexpected-login-codes-otp-2fa-featured-900x592.jpg)
What to do when you receive unsolicited messages containing login codes
One-time codes and two-factor authentication securely protect you from account theft. If you receive such a code or a request to enter it when you aren’t logging in, it may be an attempt to hack into your account.