How do you deal with burnout and low motivation?

The past few months have been a no-code zone for me. I've literally gotten nothing done with Java. Most of that attributes to my being so busy writing papers for school, and my degree will be complete after my current course. It focused mainly on the documentation rather than actual code. I've been a bit overwhelmed and when I did have time to code, I just didn't. I was burned out. My candle was down to the nub.

I had a much needed break and am motivated again, but is there any advice for preventing this burnout from happening again? I don't want to waste another 3 months ever again.

Did you find this post useful? Show some love!

I recently experienced this (to a lesser degree still do). What I do is take a break from coding (apart from my day job which requires I code). Do something, different that relaxes your mind. When your ready to get back to it, don't jump directly into coding, first plan on what you want to do/make/learn. Get a clear plan mapped out and an approach. Also have multiple items that you can work on. If you get stuck on something for a while, jump to another item briefly, but make sure you return to what you were stuck on before (many times when people jump around they lose interest in what the were previously working on). All the best man!

You have to notice the patterns that burn you down and it's different for every person. I burned out 3 different times before I figured a strategy that works for me. I try to have two different active projects at a time so that I can alternate between them when I start getting tired with one. I also now focus on the process instead of the end result and I feel like that is much more sustainable.

I'll definitely keep that in mind. Thank you!

  1. Take a break (you did already, good! 😃) or reduce working hours to something different

    • Something different may also be coding, experience a bit with other technologies, do everything you have in the "I'll do this later, when I have time for this"-list – I do this right now and it feels great
  2. Write down all tasks on one place only, then organize them

    • Most stress comes having a constant huge backlog in your head (“I have to remember doing…“) and from switching context to often (“Need to do this quickly, to finish that…”).
  3. Accept failure

    • Really. You dont need to be the perfect code, write the perfect code, solve all tasks. You should aim for the best, but dont act under constraint.


Thank you. I feel that #2 should be an improvement area for me. I've got to get my todo list back in order.


Hey there, we see you aren't signed in. (Yes you, the reader. This is a fake comment.)

Please consider creating an account on It literally takes a few seconds and we'd appreciate the support so much. ❤️

Plus, no fake comments when you're signed in. 🙃

I'm experiencing this right now. The feeling has increased over the last 7 years for me. I'm sort of in a tough spot, since I was laid off and need to find work, but I've found something else to do I can enjoy and not feel guilty for putting my time into over whatever I'm doing.

Sometimes, I have to go so far as to not accept new work, because it turns out not being worthwhile.

I'm sorry to hear about being laid off. Do you know what started the burnout? 7 years is a long time to deal with that.

I wasn't necessarily burned out for 7 years straight. At that point in time, I

  • just became a father
  • was studying CS full-time (the burnout led me to switch to math that year)
  • working full-time at yet another job where I was underpaid
  • was jaded by how difficult finding a new job was

It took a few years, but I changed careers. After I got laid off from that job, I didn't want to keep doing sales, but I didn't want to be an employee (contract was okay), so I started a software business, putting lots of hours into it.

None of that worked out, so it all recently has come back. For me, I think I have to relegate actual development to hobby status, or I'll stay unmotivated.

I understand. Life takes its toll, and you have to know where this stuff fits, be it hobby or career. I personally have had struggles with finishing my degree as it hasn't always given me much extra time to code. Having a baby girl, wife and full time job keeps everything crazy!

One thing worth pointing out is that a lot of folks who haven't had any experience of mental health problems in their life (either themselves or someone close to them) can mistake depression for burnout. Now, they are quite definitely different things (and I've dealt with both) but I've found that a lot of the same strategies work for me (some of which have been mentioned here):

  • Diet - I find that when I'm feeling unwell my diet can slide and I find myself eating a lot of fast food and drinking too much coffee. Make a concious effort to get on top of it if that works for you.
  • Exercise - You don't have to sign up for the gym, but just going for a walk on the weekend is a good start. Make sure you get some sun on your face - it has been strongly correlated with improving mental health.
  • Non-code hobbies - When I can't bring myself to code I still need to keep myself busy or I get the sads. For me it's sailing and electronics, for you it might be cooking and mountain biking. Whatever works.
  • Ask for help - you've already done this, which is great. Talk to your loved ones about how you're feeling. They don't have to help - they just have to listen.
  • See your Dr - if it's really bad or continues for a long time then talk to your GP. It's entirely possible that there's a medical reason for your mood. Something as simple as snoring or not drinking enough water could be the problem.

To be clear; I'm not suggesting that you are depressed. I am not a Dr. I'm just sharing my experiences. You're already doing the right thing by talking about it here. For those of us who get paid to write code creative burnout (AKA writers block) can be very very disruptive to our careers. Good luck!

Thank you so much! Definitely important not to rule that out.

Do something fun with code.

  1. Try something you've never done before with code.
  2. Explore a new language. Maybe poke around with a language like Go and attack some of your old Java assignments.
  3. Find a non-profit to help.

As far as doing something fun with code, here is a video example of a designer/developer that animates BB-8 from Star Wars with CSS:

Thanks a lot! I've actually started number 2 recently with python and it's a real refresher! I may actually stick to this language primarily.
That video is amazing!

When I was finishing my degree I was in the exact same position as you, last year or so was just writing documentation about my code rather than actual programming. When I finished I couldn't bring myself to code so I took two months off away from development. Honestly it helped, I was able to re-evaluate what I wanted to do and figure out what languages/frameworks I wanted to learn and I'm back now working on my passion projects. Just my two cents

I appreciate that. The time away seems to have helped. Maybe I needed that in such chaos. Being done with class work is definitely going to help improve the situation!

The best advice is the fact that everybody gets burnout in some way or form. For me in particular it helped a lot playing with other technologies that I usually don't handle on a daily basis.

Get a hobby. Learn an instrument. Block out time at least one day a week to do something you feel is interesting or innovative.

Classic DEV Post from Jun 9

How do you gain a deep understanding of your code?

Discussion on how to learn with the goal of knowing the language/framework inside out.

Follow @lynnewritescode to see more of their posts in your feed.
Ryan Norton
An Aspiring Developer looking to start a career in tech.
More from @rjpsyco009
Getting Out of the Open Source Toy Box
#beginners #career #productivity #opensource
Junior Developer title?
#beginners #career #discuss
Trending on
Why Your Best Work is Hardest to Finish
#productivity #career #beginners
How much did you know when you got your first freelance Web Dev project?
#help #webdev #freelancing #career
So you want to become a developer? Part I
#beginners #career #help
Lessons I learned from training with special forces that I use in software development
#beginners #career #motivation #dieliving
If you don't hire juniors, you don't deserve seniors
#career #management #recruiting
Redesign of my portfolio
#showdev #webdev #career #frontend
Stacks n Queues
#webdev #career #computerscience #beginners
How to Improve Your Development Experience
#beginners #career #development #productivity