Two-factor authentication (2FA) is an authentication method used to prevent access from solely a password. It is much more secure because the password and the code would have to be guessed in order to access the account, which is almost impossible. Even if your password is exposed in a Data Breach, your account will remain secure. There are two main types of 2FA. SMS authentication works by having the service send you a code using a phone number they have. If the code matches, you will be logged in. Authenticator app authentication works due the service you are logging into and your authenticator app having the key from the same source. A time-based code will be inputted from the app to the service.