Sefism early access is open for X and Instagram followers and university students.Get early access
Confidence and consistency

I keep making plans to learn coding but lose motivation after a few days. What is wrong with my approach?

Tauseef Fayyaz

Answered by Tauseef Fayyaz

Asked 12 timesUpdated 18 Sept 2026
Short answer

The plan is usually built for your most motivated self: too big, too vague, and dependent on feeling like it. Plans that last are small enough to do on a bad day, attached to a fixed time, tied to a project you care about, and forgiving when you miss a day.

What people tell me

Every few weeks I make a new plan. I write out a schedule, pick a course, sometimes buy one, and tell myself this time is different. The first two or three days go well. Then I miss a day because of classes or work, feel guilty, miss another, and within a week I have stopped. I then feel bad about myself, wait a while, and start the cycle again with a new plan. I do not think I am lazy, but the pattern keeps repeating.

A composite of the messages behind this question, with personal details left out.

Key takeaways

  • Plans made on a motivated evening are sized for your best day. Size them for your worst day instead.
  • Motivation follows progress. Design the plan so you see progress within the first week.
  • Fix the time and place, not just the goal. "Every day after dinner at my desk" beats "study more".
  • Missing one day is normal. Missing two in a row is where habits break, so plan the recovery in advance.
  • Stop starting over. Keep the same plan and adjust it instead of replacing it.

You are not lazy, your plans are built for someone else

The pattern you describe is one of the most common things people send me, and it almost never means the person lacks discipline. It means the plan was designed on a good evening, when motivation was high, by a version of you that has unlimited energy. Then the real you, the one with classes, a job, family and tired days, has to execute it.

Motivation is a spark. It gets you started. It was never supposed to carry a plan for months. What carries a plan is structure that works even when you do not feel like it.

Five reasons plans collapse in the first week

Look at your last plan and see which of these apply:

  1. Too big. Three hours a day, every day, when you have never done one hour consistently.
  2. Too vague. "Learn JavaScript" is a topic, not a task. You sit down and do not know what to do first.
  3. No visible progress. Watching lectures for a week produces nothing you can see, so the effort feels wasted.
  4. All-or-nothing rules. One missed day turns into "I have failed, the plan is ruined".
  5. Constant restarting. Each new plan starts with research and setup, so you spend the fresh energy on planning again.

Most failed plans have at least three of these.

Design for your worst day

Write down the minimum you could do on a tired, busy, bad day. For most people it is twenty to thirty minutes. That is your daily commitment. Anything more on a good day is a bonus, not the plan.

This feels too small. It is meant to. Thirty minutes every day for three months is about forty-five hours of focused work, far more than the two-week bursts of four-hour days that then stop for a month.

Attach it to a time and a place

"I will study more" fails. "After dinner, at my desk, with my phone in the other room, I open the project" works much better, because the decision is already made. You are not negotiating with yourself every evening.

If your schedule changes daily, pick an anchor instead: right after a class, right after you get home, first thing before checking messages.

Make progress visible in week one

Choose learning that produces something you can see quickly:

Instead ofTry
Watching a full course from the beginningBuilding a small project and learning the parts it needs
Reading about data structuresSolving two easy problems a day and keeping a list of solved ones
Collecting tutorialsFollowing one tutorial, then rebuilding it without looking
Tracking hoursTracking finished things: features, problems, notes

A project you care about helps enormously. An expense tracker for your own spending, a tool for your family's shop, a site for a club you are part of. Caring about the result pulls you back on days when discipline alone would not.

Plan the recovery before you need it

You will miss days. Everyone does. The rule I suggest is simple: never miss twice. If you miss Monday, Tuesday is non-negotiable, even if it is only ten minutes. One missed day is life. Two in a row is how a habit quietly ends.

Also decide in advance what happens during exams, travel or illness. Pause the plan deliberately with a restart date written down, rather than letting it fade.

Stop starting over

This is the part people resist most. Do not make a new plan next time. Take the plan you have, look at why it broke, make it smaller or change the time, and continue. Every restart throws away the momentum you had and spends your energy on setup instead of learning.

A two-week reset you can use now

  1. Pick one project or one topic, not both.
  2. Set a daily minimum of twenty-five minutes at a fixed time.
  3. Each day, write one line: what I did.
  4. At the end of each week, look at the lines and adjust the size, not the goal.
  5. If you miss a day, do the minimum the next day, no matter what.

After two weeks, if the minimum is easy, raise it slightly. Growth in time spent should come from success, not from ambition on a good evening.

If you are still stuck

For the habit side in more depth, see how to stay consistent when learning to code, and if the plan feels too big to start, where to begin when there is too much to learn. Read What to do when you are stuck learning to code and How to start your career as a software engineer. If a project idea would help, the FYP ideas library has plenty that also work as personal projects. If you want someone to look at your specific situation and help you build a plan that survives a bad week, join Sefism and, as a member, book a 1:1 session.

Was this answer helpful?

Ask your own

Your situation is not quite this one?

Members get written answers to their own questions, a roadmap built for them and feedback on their projects. Early access is open to X and Instagram followers and university students. Prefer to talk? A free call works too.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

More questions people ask

All questions