Two-factor authentication (2FA) is an extra layer of security that requires two distinct forms of identification to access your account. In most cases that means entering your account password and then entering an authentication code that has been sent to your trusted device before you are granted access to your account.