← all essays

the best pomodoro intervals for studying, coding and writing

July 20, 2026 · updated October 11, 2026 · 10 min read · by m.

the pomodoro technique is a popular time management method, especially with students, developers and writers trying to stay on task. but the standard 25 minutes of work followed by 5 minutes of rest isn't always the right fit, particularly if your brain tends to wander or hyperfocus. and the interval that suits one kind of work is rarely the best one for another.

this guide covers the main intervals people use and what the evidence behind each actually is, then looks at how they tend to fit three kinds of work: studying, coding and writing.

the classic 25/5

the original pomodoro technique was invented by Francesco Cirillo in the late 1980s: 25 minutes of focused work, a 5-minute break, repeat four times, then take a longer break of 15 to 30 minutes. he used a kitchen timer shaped like a tomato, which gave the technique its name (pomodoro is Italian for tomato).

the idea is to break large tasks into manageable sprints, give your work a clear structure and use regular breaks to keep your mind fresh. 25/5 is popular for a reason: it's easy to commit to. 25 minutes doesn't feel like an eternity, which makes it great for getting started on something daunting.

the catch is that 25 minutes is often too short to get properly absorbed in complex or creative work. by the time you're deeply immersed, the timer dings and pulls you out. and 5 minutes may not be enough to fully disengage and recharge before diving back in. for ADHD brains, those frequent transitions can feel especially jarring and make it harder to start the next block.

the 52/17 rule

in 2014, the productivity app DeskTime published a blog post on the work habits of its most productive users. after analyzing user data, it reported that the top 10% worked for 52 minutes and then took a 17-minute break. the finding spread quickly as 'the 52/17 rule'.

the appeal is easy to see. 52 minutes is long enough to settle into real concentration without feeling like a marathon, and 17 minutes is a substantial break: long enough to genuinely step away, stretch, grab a snack and properly reset.

but be a little skeptical. this came from one app's data about office workers, not a controlled scientific study, and its claims often get exaggerated online. think of it as a useful data point suggesting that longer focused blocks with a generous break can beat constant short interruptions, not as a magic number.

the middle ground: 45/15, 50/10 and 60-minute blocks

if 25 minutes feels too short, the logical next step is to stretch your work blocks. many people do well with 50 minutes of work and a 10-minute break, 45 minutes with a 15-minute break, or 60 minutes with a 10 or 15-minute break. the 50/10 timer is set up for the first of those. longer blocks give you more time to sink in, with fewer interruptions to your train of thought.

the trade-off is that they demand more sustained focus. for some people, especially those with significant attention challenges, a 50-minute block can feel like an eternity. you're looking for a balance: long enough to reach flow, not so long that you burn out or drift off course.

90-minute cycles and ultradian rhythms

sleep researcher Nathaniel Kleitman identified that people cycle through peaks and troughs of alertness in waves of roughly 90 minutes, known as ultradian rhythms. the idea is that this isn't only about sleep: alertness may rise and fall in similar cycles through the day.

working with that rhythm means focusing for about 60 to 90 minutes, then taking a substantial break of 15 to 20 minutes or more. it fits well with what Cal Newport calls deep work: long, uninterrupted blocks for cognitively demanding tasks. when you're really absorbed, an hour or more can fly by, and forcing a break at minute 25 may only get in the way.

the challenge is sustained attention. 90 minutes takes self-discipline and an environment that's genuinely free of distractions. for some people, including many with ADHD, it's hard to hold without micro-breaks or changes of activity. on days when you do hit a hyperfocus state, though, a long block gives you room to ride it.

flowtime: no fixed interval at all

if rigid timers feel stifling, flowtime, developed by Zoë Read-Bivens, drops the fixed intervals. you start a timer when you begin, but you don't set an end time. you work as long as you feel focused, and when your focus naturally wanes, you stop, note how long you worked and take a break for as long as you need. you time the break the same way.

over time, the log shows your natural work patterns instead of imposing external ones. it respects your energy and concentration on any given day, and it still builds in breaks, just on your terms. a tool that records your sessions makes those patterns easier to spot; the session stats on focus cave can help.

intervals for studying

a study session often mixes very different kinds of work, and your focus shifts as you go. that's why it pays to pick an interval by what you're doing and how you feel that day, not by a rule. the study timer has 25/5, 45/15 and 50/10 ready to switch between.

  • to get started: a short 25/5 is often the easiest way over the initial hump of procrastination. a sprint you know will end soon is easier to begin.
  • once you're absorbed: if you're already in a good rhythm, move to a longer block like 45/15 or 60/15, or let flowtime take over so the timer doesn't pull you out.
  • for long, demanding sessions: if you can manage distractions, 90/20 gives you room for genuinely deep study, followed by a break long enough to recover.
  • for small, quick tasks: things like answering emails fit well into shorter sprints.

if you're new to this, start with the classic 25/5, then try 30/10, 45/15, 60/15 or even 90/20. pay attention to how you feel during both the work and the break. are you getting into a good rhythm? does the break feel refreshing? your ideal interval may change from day to day with your energy, how well you slept and what the session asks of you, so notice what works rather than locking in one number.

intervals for coding

coding comes with a real context-switching cost. you hold a complex mental model in your head, and every interruption means rebuilding part of it. that makes the choice of interval matter more than usual.

  • 25/5 for shallower tasks: responding to pull request comments, quick bug fixes, reviewing small chunks of code or just getting started on a bigger feature. frequent finish lines keep momentum going. the downside shows up on harder problems: getting deep into a tricky async issue only to be pulled out after 25 minutes is frustrating, and 5 minutes may not be enough to reset before rebuilding that mental model.
  • 52/17 for focused building: long enough to tackle a specific problem, write a significant chunk of code or dig into documentation before your brain asks for a break. it's a good middle ground between short bursts and long unbroken stretches.
  • 45/15, 60/10 or 90/20 for deep work: architecture design, major refactoring, working through a complex algorithm or learning a new framework. longer cycles mean more flow and less context switching, as long as you can sustain the attention.

whatever you pick, a few habits make coding sessions work better:

  • prepare your environment. before the timer starts, close unnecessary browser tabs, silence notifications and make sure you have everything you need.
  • set a clear goal for each block. don't just start coding. define the target: 'implement user auth endpoint', 'debug login bug in front end' or 'refactor payment processing service'.
  • respect your breaks. actually get up from your desk. stretch, walk to the kitchen for water, look out the window. scrolling your phone is just another form of passive consumption.
  • review and adjust. after each cycle, ask what went well and what pulled you off track.

also think about the kind of coding you do most. are you usually debugging or building new features? writing complex algorithms or working through tickets? if your first choice doesn't fit, try 30/7, then 40/10, then 50/15, and keep a note of how each one feels.

intervals for writing

writing isn't just putting words down. it's organizing thoughts, facing the blank page, researching, editing and keeping a coherent thread, which is a lot of executive function at once. starting is hard and staying on track is harder, which is why so many writers lean on external structure like a timer.

  • 25/5 for starting and light work: it's approachable ('i can do anything for 25 minutes'), and it suits brainstorming or chipping away at something light. for creative or complex pieces, though, many writers find it interrupts them just as they're warming up. it's like trying to cook a proper meal in 25-minute bursts.
  • 45/15 or 50/10 for drafting: longer blocks give you more time to sink into the writing with fewer breaks in your train of thought. 52/17 sits in the same range, but remember it came from office workers, not writers.
  • 60/15 or 90/20 for deep writing: a 90-minute block leaves ample time to develop complex ideas and make significant progress without feeling rushed, and the longer break is more restorative. it needs self-discipline and a distraction-free space, so think of it as an advanced option.
  • flowtime for unpredictable days: write until your focus naturally dips, rest as long as you need, and log both. you get data on your own rhythm without the timer anxiety.

a reasonable plan: use 25/5 for a few days, bump it to 45/15, then try the 90-minute rhythm. at the end of each block, ask yourself: did i feel rushed? did i lose focus halfway through? did the break feel too short or too long?

a note for ADHD brains

for many people with ADHD, a fixed timer is both a blessing and a curse. the structure can help with task initiation (the idea of 'just 25 minutes' lowers the barrier to starting), and the timer acts as an external reminder to stay on task. but focus can be unpredictable: hard to start, then suddenly locked in for hours. when you hit hyperfocus on an interesting problem, a timer that yanks you out can feel like it's working against you. on the other hand, scheduled breaks are an important guard against burning out after hours of hyperfocus.

so the best interval for an ADHD brain is rarely a single number. it's more of a toolkit: a short 25/5 to get over the initial hump, 60/15 or flowtime once you're in flow, and the freedom to switch. the goal isn't perfect adherence to a system but using the system to serve your focus.

sound can be part of that toolkit. research by Söderlund and Sikström and a 2024 meta-analysis from Oregon Health & Science University (OHSU) suggest white noise can improve attention in some ADHD brains. the focus cave timer has built-in noise options you can layer over any interval.

finding your sweet spot

the best pomodoro interval isn't a universal truth. it depends on the task, your energy, how well you slept, the time of day and how your brain works. so pick a starting point, like 25/5 or 52/17, stick with it for a few days, then evaluate honestly. was the work block long enough to get into flow? did the break feel like a real reset? did you dread the timer going off, or welcome it?

whether you lean towards short sprints, longer deep work blocks or flowtime, the most effective setup is the one that helps you concentrate and actually recover. use the timer as a guide, not a dictator.

ready to find your ideal focus rhythm? take the focus quiz and see which techniques might suit you best.