How to Turn on 2FA for Twitter
Install Authy
The best way to manage all your 2FA accounts is to use the Authy app. It enables you to have a single mobile app for all your 2FA accounts and you can sync them across multiple devices, even accessing them on the desktop. Install Authy on your device by searching for it in your device’s app store. Read more information on the features of Authy here.
Locate 2FA setting
Log in to your Twitter account and go to Settings and privacy.

In Account > Security > Login verification > Select “Verify login requests”.

Start.

Enter your password > Click “Verify”.

To confirm your phone number > Click “Send code”.

Enter the Verification code you received via SMS > Click “Submit” to Enable 2FA.

Get your backup codes
Congrats, you enabled 2FA for your Twitter account!
Click “Get Backup code”.

Click “Done” to backup your code.

Capture QR Code
For the best user experience, set up a “code generator app” (Authy) to generate codes.

QR code pops up.
Now grab your phone and if not done yet, download Authy.

Open the Authy App > + Add Account > Scan QR Code.

Confirm Generic Logo > Click “Done”.

A Security Code is generated on your phone for your Twitter account.
Keep the Authy app open on your phone. You’re almost done!
Complete Enablement
Enter your Twitter Security code and > Click “Done”.

2FA is now enabled for your Twitter account, with code generator.
Now save your account changes > Click “Save changes” at the bottom of the page.

Enter your Twitter password > Click “Save changes”.

You are all set!

You’re all set!
To learn more, visit: https://support.twitter.com/articles/20170388.