Two-factor authentication is a way to sign in that needs two separate proofs of identity. The two come from different categories, and the second can be a code sent to your phone, a code from an app or a physical security key. The National Institute of Standards and Technology (NIST) defines it as "Proof of the possession of a physical or software token in combination with some memorized secret knowledge." The FTC says a password alone is vulnerable because hackers use phishing, reused passwords from data breaches and password guessing.
The three categories of sign-in proof
The FTC sorts authentication factors into three categories: something you know, something you have and something you are. A password, PIN or security question is in the first. A one-time passcode, an authenticator app or a security key is in the second. A fingerprint, face or retina is in the third. An account with two-factor authentication asks for a credential from two of the three categories.
Common second factors compared
The FTC lists the common methods in the order below and says which of them it considers safer. The table follows that ranking.