Overcoming coder's block

How to overcome coder's block

Throughout your coding journey, you’re going to hit a point where you struggle to write code, also known as coder’s block. Projects seem tough to complete and ideas seem to be far and few between. It can feel near impossible to break through your block and you’ll try anything that could help it.

We’ve put together some things you could do to try to break your coder’s block so you can get back to doing what you love!

Take a break

This one seems simple, but you’ll be surprised how often you’ll keep pushing yourself instead of taking a well-needed break. Sometimes, you need to step away from your pc, to give your brain a minute to decompress, recalibrate and get back to coding. Why not take a walk, talk to friends or watch some TV, during this time you may find the idea you’ve been itching to have springs to mind.

Use pen and paper

When you’re used to working on a pc all day, you don’t think to pick up a pen and start jotting ideas on paper. However, this could benefit you. Sometimes, taking the pressure off yourself and letting yourself write any random idea that comes to mind on paper may give you the idea you’ve been waiting for.

Talk to people about your project

If you have friends that enjoy coding just as much as you do, then speak to them about your project! They may have the missing link you’ve been looking for, and if they don’t you may find it leads you to discover the idea you need.

If you don’t have anyone who enjoys coding, you should still talk to someone, whether it’s a friend or family member. Spitballing ideas and projects you’re working on can help you detangle all of your thoughts so you can clearly process them and come back to your coding with a clearer mind.

Use other resources

YouTube is your best friend! If you’ve hit a brick wall with your coding then turn to external sources to help. Look on Youtube and see what other coders are up to and what projects are they working on. Think about how it may be something you’re interested in. What did you like about it? By doing this, you can gain inspiration from other coders to help you with your own projects and ideas.

Manage your time

As much as you love coding, trying to code for 10 hours a day and staring at your screen won’t help you with your coder’s block. Instead, block hours where you’ll code and where you’ll take a break, you’re brain needs time to decompress and process all of your thoughts. During your coding hours, code anything you want or write down ideas but during your break, allow yourself time to relax so that when you come back to coding you’re feeling refreshed and good to go.


In conclusion, there’s no way to avoid coder’s block. There are only ways to help you break through it. Although it’s frustrating and inconvenient, you need to take the time to step away from the coding and allow yourself to take a breather before revisiting it. The less pressure you put on yourself, the more likely you are to have that breakthrough you need.