To block X at night on iPhone, open Settings, tap Screen Time, tap Screen Time Schedule, and add a time window covering your bedtime hours. On iOS 26 the same job is done by Downtime with Block at Downtime turned on. A bedtime app blocker repeats that every night for you.
X (formerly Twitter) is the app people describe as impossible to leave when the news is bad. One post leads to a quote post, which leads to a reply thread, which leads to a video that started playing on its own. If your bedtime keeps sliding, the useful move is to block X at night so the app is simply shut when you get into bed.
A night block is a rule you set in advance that closes chosen apps for a window of hours around sleep. It is not a daily limit. A limit counts minutes and runs out whenever it runs out, which is often exactly when you least want it to.
Why doomscrolling news at night is so hard to stop
Two things in the design of X work against you after dark.
The first is the recommendation engine. X says that when it identifies a post, an account to follow, or other content that is popular or relevant, it may add it to your timeline, and that it shares those recommendations through push notifications, your Notifications tab and your For you timeline.1 In other words, the push notification on your Lock Screen at midnight does not have to be from anyone you follow.
The second is movement. X says that in timelines, Moments, the Explore tab and across X, native videos and GIFs will autoplay.2 A still page is easy to close. A page that is already moving is not.
How to block X at night on iPhone with Screen Time
Start with Apple's built in tool, because it is free and it is already on your phone. In iOS 27, Apple describes Schedules as setting when during the day you can use your apps, and Time Allowances as setting how long.3
- Go to the Settings app on your iPhone.
- Tap Screen Time, tap Screen Time Schedule, then turn on Schedule.3
- Tap Add Schedule and tap the days of the week you want to cover.3
- Tap the Time Window, rename it Night, then set the start and stop times around your bedtime.3
- Choose which Time Allowance categories stay available inside that window, and leave the category X sits in out of it.
- Open Always Allowed. Apple lets you choose apps and contacts that work at all times regardless of any schedule or allowance, so your alarm, Phone and close family stay reachable.3
Apple notes that Screen Time Schedules and Time Allowances need iOS 27 or later on your Apple devices.3
On iOS 26, it is called Downtime
Same idea, older names. Go to Settings, tap Screen Time, tap App and Website Activity and turn it on, then tap Downtime and tap Scheduled. Choose Every Day or Customize Days and set your start and end times.4 Daily limits live under App Limits on that version.4
If your limits keep collapsing at 11pm, that setting is usually the reason. We unpack it in why Screen Time limits stop working.
Change two settings inside X while you are there
A block holds better when the app is less magnetic in the first place. Both of these are documented by X.
- Stop video autoplay. In the X app for iOS, go to Settings and privacy, tap Data usage under Accessibility, display, and languages, then tap Video autoplay and choose Never.2 X notes these settings are separate on x.com and in the app, so change both if you use both.2
- Sit on Following instead of For you. X says you can switch between the tabs, that Following shows posts only from accounts you follow, and that when you close X you return to whichever timeline you had open last.1
Neither of these blocks anything. They just remove some of the pull.
Add Sleep Focus so notifications go quiet too
Apple's Health app lets you schedule regular bedtimes and wake up times. Apple says a Sleep Focus helps reduce distractions before and during bedtime, for example by filtering out notifications and phone calls.5
You can set a wind down period from 15 minutes to 3 hours before your bedtime, and Apple says the Sleep Focus starts at the beginning of that wind down.5 Start your X block at the same moment and the phone gets quiet and closed together.
Why a night block beats a daily limit
A daily limit treats every hour as the same. It is not. The 30 minutes you spend on X at 8am costs you almost nothing. The 30 minutes at 12.40am costs you a morning.
| Daily limit | Night block | |
|---|---|---|
| Stops you at | An unpredictable moment | The same hour, every night |
| A quiet day | Leaves minutes banked for midnight | No effect, the window is fixed |
| Breaking news at 1am | Usually allowed | Blocked |
| Decisions you make in bed | One every night | None |
The night block also removes the negotiation. You are not deciding whether to stop while tired and halfway through a thread. You decided weeks ago. If the habit runs deeper than timing, read how to stop doomscrolling and bedtime procrastination.
Where SETL fits
SETL is an iPhone app blocker built bedtime first. You set your bedtime once, pick your apps, and they are blocked automatically every night, with SETL Plans for the nights you know will be different. It is built on Apple's Screen Time framework, so Apple gives SETL private tokens and SETL never learns which apps you chose. See the SETL Sleep bedtime app blocker page, or our broader app blocker for iPhone page. SETL is on a waitlist ahead of launch.
This article is general information, not medical advice. Speak to your doctor about ongoing sleep, attention or mental health concerns.
Sources
- X Help Center, About your For you timeline on X, checked September 2026
- X Help Center, How to share and watch videos on X, checked September 2026
- Apple Support, iPhone User Guide (iOS 27), Set Screen Time Schedules and Time Allowances on iPhone, 2026
- Apple Support, iPhone User Guide (iOS 26), Set schedules with Screen Time on iPhone, 2025
- Apple Support, iPhone User Guide, Set up sleep in Health on iPhone, 2026