How to lock Twitter (X) with a password on your PC
X has no setting that asks for a password when you open it on a computer. 'Protect your posts' only hides your posts from non-followers. To lock X on your PC, PIN-lock x.com in Chrome. If only your bookmarks are private, lock the Bookmarks tab instead.
The fast way, with Site Blocker- Add to ChromeInstall Site Blocker free from the Chrome Web Store.
- Set your PINsCreate a Master PIN for settings and a Site PIN for locked sites.
- Add a websiteType the site, choose Entire domain or This page only, and press Add to Vault.
Most "lock Twitter" guides answer a different question. They explain Protect your posts, which hides your tweets from people who don't follow you. Useful, but it won't stop a roommate, sibling or coworker from opening X on your computer and reading your DMs, likes and bookmarks.
Here's how to lock Twitter (X) with a password on your PC.
What X's own settings do (and don't do)
| Setting | What it does | Stops someone on your PC? |
|---|---|---|
| Protect your posts | Only approved followers see your posts | No |
| Two-factor authentication | Asks for a code when someone signs in | No, you're already signed in |
| Password reset protection | Makes it harder to reset your password | No |
| PIN-lock x.com | Asks for a PIN before X opens in Chrome | Yes |
Lock X in Chrome with a PIN
- Install Site Blocker from the Chrome Web Store.
- Set your PINs. A Master PIN for settings and a Site PIN for locked sites, 4 digits each.
- Add X. Type
x.com, choose Entire domain, and press Add to Vault. - Reload X. The lock screen appears. Enter your Site PIN to continue.
twitter.com now sends you to x.com, so locking x.com covers it.
What you get:
- X doesn't load until the PIN is right, so your timeline and DMs never flash on screen.
- It locks again when you switch tabs.
- Guessing is slowed down. 3 wrong tries mean a 30-second wait, then longer.
- The lock can't be removed without the Master PIN.
The free plan locks 1 website, so X can be that one.
Only want to hide your bookmarks?
If you're happy for people to see your timeline but not what you've saved, lock just the Bookmarks tab. Private Twitter Bookmarks PIN-locks it and blurs your saved posts until you unlock them. Curious who can see them in the first place? Read can people see your Twitter bookmarks.
Frequently asked questions
Does 'Protect your posts' lock my X account? No. It makes your posts visible only to approved followers. Anyone using your signed-in computer can still open X.
Should I lock x.com or twitter.com? Lock x.com. twitter.com now redirects there. Adding twitter.com as well does no harm if you have Pro.
Will locking X log me out? No. The lock screen sits in front of the page and you stay signed in.
Can I lock only my X bookmarks? Yes. Private Twitter Bookmarks PIN-locks just the Bookmarks tab and blurs saved posts.