With so much of our personal and working lives online, protecting accounts from unauthorised access is essential. One of the most effective steps you can take is to turn on two-factor authentication (2FA). This guide brings together everything you need: what 2FA is, how to set it up and how to stay in control if you lose your phone.
What is two-factor authentication?
Two-factor authentication adds a second check when you sign in, to confirm that you are who you say you are. Instead of relying on your password alone (something you know), it also asks for something you have, such as your phone or a security key, or something you are, such as your fingerprint.
Even if someone guesses or steals your password, they cannot get into your account without the second factor. You may also see the terms two-step verification or multi-factor authentication (MFA); they describe the same idea.
Watch: an introduction to 2FA
Types of second factor
- Authenticator app: an app on your phone generates a new six-digit code every 30 seconds. This is safer than SMS and works without a mobile signal.
- Push notification: you tap to approve the sign-in on your phone. Only approve requests you started yourself.
- SMS code: a code is sent by text message. It is better than no 2FA, but text messages can be intercepted or redirected.
- Security key or passkey: a physical key or a passkey on your device. This is the strongest option and resists phishing.
How to set up 2FA
The exact menus differ between services, but the steps are similar for most of them, including Google, Microsoft, Facebook and LinkedIn.
You will need: your phone with an authenticator app installed, or a phone number for SMS, and the account you want to protect.
- Sign in and open the account’s Security settings.
- Find the option called Two-factor authentication, 2-Step Verification or similar, and choose to turn it on.
- Choose your method. If you pick an authenticator app, scan the QR code shown on screen with the app.
- Enter the code the app shows (or the code you receive by SMS) to confirm.
- Save the recovery codes that are offered (see below).
Watch: setting up 2FA
Turn it on everywhere that matters
Start with the accounts that would do the most damage if they were taken over: your email (which can reset every other password), banking, work accounts, cloud storage and social media.
Watch: enabling 2FA on popular platforms
Recovery codes: your backup plan
When you turn on 2FA, most services offer a set of recovery codes (sometimes called backup codes). Each code works once, and lets you sign in if you lose your phone, change devices or your authenticator app stops working. Without them, regaining access can mean a long account recovery process.
How to get them
- Open the account’s security settings and find Backup codes or Recovery codes.
- Generate or download the set of codes.
- Store them securely, for example in your password manager or printed and kept in a locked drawer. Do not keep them in your email or on your desktop.
How to use them
- Sign in with your username and password as usual.
- When asked for your 2FA code, choose the option to use a recovery code instead.
- Enter one of your saved codes. Each code can be used only once.
- Once you are back in, set up 2FA on your new device and generate a fresh set of codes.
Watch: 2FA recovery codes
Good habits
- Never share a 2FA code with anyone, including someone who claims to be from your bank or IT team.
- If you receive a code or approval request you did not ask for, decline it and change your password.
- Keep your phone protected with a PIN or biometric lock.