Two-factor authentication (2FA) is a security measure that adds an extra layer of protection to your bitcoins. It requires you to provide two pieces of evidence to verify your identity, usually something you know (password) and something you have (phone or hardware token). 2FA makes it harder for hackers to gain access to your bitcoin wallet even if they manage to obtain your password.