
The only thing that stopped my late night doomscrolling was adding friction and a ritual. I plug my phone in across the room and use a cheap alarm clock, so getting to it requires getting out of bed. I also made the phone boring at night using the built in settings. On iPhone, go to Settings > Focus > Sleep and schedule it for an hour before bed with no people or apps allowed, then in Settings > Screen Time turn on Downtime for the same window and set Always Allowed to just Phone and Clock and give Social and News strict App Limits.
On Android, open Settings > Digital Wellbeing > Bedtime mode, schedule it nightly, turn on grayscale and Do Not Disturb, and set App timers for your problem apps. Grayscale helps a lot because the feeds stop looking rewarding, and the taps feel pointless after a few minutes. I also moved the worst apps off my home screen and logged out of them after 9 pm, so I have to type a password if I want in. I set a 10 minute timer labeled last scroll, and when it goes off I swap to a paper book and a small warm lamp, or I put on a sleep podcast with a 15 minute auto stop and face the phone down. If my brain keeps grabbing for the phone, I scribble tomorrow worries in a notebook, take three slow breaths, and tell myself I can check in the morning. It took about a week for the urge to fade, but once the routine stuck I fell asleep faster and stopped waking up tired.