How do I stop procrastinating when I study alone at home?

JU jugador61 MX 🔍 Enthusiast 👁 113 ⚑ Report Self-Education

I've been trying to learn JavaScript on my own for months but I constantly get distracted by my phone and social media. I tell myself I'm going to study for two hours and end up watching TikTok after 20 minutes. What strategies actually work to keep yourself disciplined when nobody's supervising you?

4 answers

★ Best answer

Don't trick yourself into thinking willpower alone will fix this - what actually works is removing the temptation before it even starts, so put your phone in another room while you study, not just on silent. Try short 25-30 minute blocks (Pomodoro technique) instead of two hours, because your brain is used to the quick dopamine hit from TikTok and that's more realistic. Another thing that helps a ton is having something tangible: a notebook where you write down what you learned each session, because seeing accumulated progress kills procrastination way better than any motivation app. Are you studying with some specific project in mind or just learning in general? Because having a concrete goal (like building a small app) really changes the game.

The trick isn't having more willpower - it's making studying easier than getting distracted. I needed to focus on something important and what saved me was changing my environment: I'd go to a café or to a friend's place, somewhere I couldn't do anything without feeling weird about it. If that's not an option, try using app blockers on your phone while you study (there are several free ones that actually work) or use the Pomodoro technique but seriously: 25 minutes studying, 5 minutes break, no social media during those 5 minutes.

The other thing almost nobody mentions is that 20 minutes of real focus is better than 2 hours where you spend 1 hour and 40 minutes watching videos. Start with shorter sessions that you know you can stick to, increase them when it becomes a habit. And honestly, if the first 20 minutes of JavaScript bore you, maybe you need to change how you're learning or what project you're working on, because if something doesn't appeal to you at all it's almost impossible not to escape to TikTok.

When I start doing something that requires concentration at home, I've noticed that blocking access works better than trying to resist 🏕️ People will tell you to put your phone in another room, and sure, but I go further: disable app notifications, close the browser, use extensions like Freedom or Cold Turkey that literally prevent you from accessing certain sites for X hours. It's not about willpower, it's engineering. If TikTok isn't one click away, you won't open it.

Second is making studying the easy path. Open Visual Studio Code or your favorite IDE BEFORE you sit down, have your coffee already made, leave the tutorial paused but ready. When you sit, you just have to start without friction. Inertia is your friend: the first 5-10 minutes are the hard part, after that your brain enters flow mode and it's easier to keep going.

And here's what a lot of people miss: study in short but intense blocks. Two hours staring at the screen without moving doesn't actually work. Do 45 minutes on, 10 minutes off, repeat. In those real 45 minutes without distractions you learn more than in three hours jumping between tabs. With JavaScript especially, because it's a language where you need to write code, not just watch videos 💪 Hands on the keyboard from minute one.

Have you tried studying JavaScript in shorter sessions, like 25 minutes instead of two hours straight? Because what I see is everyone's gonna tell you "put your phone away" and yeah, that's fine, but the real problem is that after 20 minutes your brain gets bored and looks for quick dopamine. What actually works is doing short blocks with real breaks (no scrolling), and here's what nobody mentions: you need something specific to do in those 25 minutes, not just some vague "study JavaScript." A small project, a concrete exercise, solving a problem from the day before. That way your brain knows what to chase and doesn't feel lost wondering what to do.

Your answer

Log into answer.