top of page

How Software Engineers Stay Fit During Layoffs and Job Hunting (Without Adding More Stress)

Nov 11
12 min read
Software Engineer curls a dumbbell in a home office beside a Job Search Plan whiteboard, laptop, and books on system design and interviews.

One day, you're reviewing pull requests, discussing architecture, and planning your next sprint.


The next, your calendar is empty.


No stand-up meetings.

No Slack notifications.

No projects to deliver.


Just a LinkedIn feed full of other software engineers announcing they're looking for work.


Maybe you've been laid off.

Maybe your company is restructuring, and you're worried you could be next.

Or maybe you've been searching for a software engineering job for months, sending applications, preparing for technical interviews, and wondering when things will finally change.


Your fitness routine probably isn't your biggest concern right now.

And that's understandable.


But there's something worth considering.


When your professional life becomes unpredictable, maintaining a few simple health and fitness habits can give your days some much-needed structure. + Bonus: Energy and hope!


Without energy you won't be able to deal with the job hunting and without hope... well you know.


You don't need to train harder.

You don't need to transform your body while you're unemployed.

And you certainly don't need another complicated routine to manage.


As an online fitness coach working with software engineers and tech professionals, I believe fitness should adapt to your circumstances - especially when life becomes difficult.


Here's how I'd approach it.


Why Tech Layoffs Can Disrupt More Than Your Career


Losing your job isn't just about losing your salary.

For many software engineers, work provides structure, identity, social interaction, and a sense of progress.


You wake up knowing what your day looks like.

Your meetings are scheduled.

Your tasks have deadlines.

Your work gives you problems to solve and something to measure your progress against.


Then suddenly, that structure disappears.

And the uncertainty begins.


Will I find another job?

Should I learn another programming language?

Should I spend more time practicing LeetCode?

Is AI changing what companies expect from developers?

Am I falling behind?


These questions can occupy a surprising amount of mental space.


Research supports the connection between unemployment and psychological well-being.

A 2025 systematic review and meta-analysis of longitudinal studies found that unemployment was associated with increased symptoms of depression, anxiety, and psychological distress. The authors also noted limitations in the certainty of the evidence.


This doesn't mean everyone who loses their job develops mental health problems.

But it does mean the emotional consequences deserve to be taken seriously.


When you're dealing with job uncertainty, your fitness routine shouldn't become another source of pressure.


It should be something manageable that supports your daily life.


Why Software Engineers Often Stop Training During a Job Search


There's an interesting contradiction.

After a layoff, you might technically have more free time.

But somehow, exercising can feel harder.

Why?


Because free time isn't the same thing as mental energy.


1. Job Hunting Becomes a Full-Time Mental Task


You wake up and open LinkedIn.

Check new job postings.

Update your CV.

Write another cover letter.

Prepare for a system design interview.

Solve coding problems.

Research companies.

Refresh your inbox.

And repeat.


Software engineers are familiar with demanding cognitive work.


But job hunting introduces something different: uncertainty about the outcome.


You can spend several hours preparing for an interview and still receive a rejection.


That can make it difficult to switch off.


2. You Feel Guilty When You're Not Applying


Imagine it's 2 PM.


You've already sent several applications and spent two hours preparing for technical interviews.

You consider going to the gym.

Then the thought appears:

Shouldn't I be using this time to find a job?

So you stay home.

You scroll through another job board.

Check LinkedIn again.

And by the evening, you're mentally exhausted without necessarily making much more progress.


It's easy to confuse being constantly available for job opportunities with actually making productive progress.


Taking 30 minutes to exercise doesn't mean you're taking your career less seriously.


3. Your Normal Schedule Has Disappeared


When you had a job, you might have trained after work.

Or during your lunch break.

Or every Tuesday and Thursday before your first meeting.

Now those reference points are gone.

Without them, even simple habits can become less automatic.

The solution isn't necessarily more motivation.

It's to create a small amount of structure that doesn't depend on having an employer.


Rule #1: Stop Treating Fitness Like Another Performance Review


Software engineers are used to measuring things.

Velocity.

Completed tickets.

Code quality.

Deployment frequency.

Technical interview scores.

And when you're searching for work, you suddenly have another set of numbers to track.

Applications sent.

Recruiters contacted.

Interviews completed.

Rejections received.


The last thing you need is to turn fitness into another dashboard showing you what you're supposedly doing wrong.


During a difficult period, fitness doesn't need to be optimized.

It needs to be sustainable.


Instead of asking:

How much muscle can I build this month?


Try asking:

What's the smallest training routine I can realistically maintain right now?


For some people, that's two short strength training sessions per week.

For others, it's walking every day and slowly returning to the gym.


Both are reasonable starting points.


The important thing is choosing something that matches your circumstances.


You can focus on ambitious strength or body-composition goals again when you're ready.

For now, consistency is enough.


Rule #2: Create a Minimum Viable Workout Routine


If you're a software engineer who has recently been laid off, I wouldn't automatically recommend increasing your training to five or six days per week just because you have more free time.


More available hours don't necessarily mean more capacity for demanding exercise.

Instead, I'd start with two manageable full-body workouts each week.


Here's an example for someone with previous strength training experience who is generally healthy.


A Simple 30-Minute Full-Body Workout

Exercise

Sets

Repetitions

Goblet Squat or Leg Press

2

8–12

Push-Ups or Chest Press

2

8–12

Dumbbell or Cable Row

2

8–12

Romanian Deadlift

2

8–10

Start with a short warm-up and any lighter practice sets you need.


Choose weights that allow controlled movement, with approximately two or three good repetitions remaining before you would need to stop.

Rest between sets as needed.

You can perform this routine twice per week with recovery days between sessions.

If you're new to exercise or returning after a long break, begin more conservatively and adjust the exercises to your abilities.

You don't need to chase personal records.

You don't need to train to failure.

And you don't need to add cardio just to make the session feel more productive.


The objective is to keep strength training part of your life without demanding more energy than you can comfortably give it.



Rule #3: Use Three Versions of Your Fitness Routine


One of the most useful things you can do is stop expecting every week to look the same.

Your job search will have different levels of intensity.

One week might involve only a few applications.

Another might include three technical interviews, a take-home assignment, and several recruiter calls.

Your training can adapt accordingly.

Your situation

Practical fitness approach

Normal week: Job search feels manageable

Two or three structured workouts, plus walking

Demanding week: Several interviews or high stress

One or two shorter workouts, plus easy movement

Overwhelming week: Low energy or significant emotional strain

Gentle walking, basic daily routines, and rest as appropriate

These aren't rigid medical or training prescriptions.

They're examples of how to scale your routine based on what you can manage.


Here's the important part.

A reduced workout still counts.


A short walk still counts as physical activity.

And taking a recovery day when you're genuinely exhausted doesn't mean you've failed.


The goal isn't to force your life into a training program.

It's to make your training program fit your life.



Rule #4: Build a Daily Schedule That Doesn't Depend on Your Employer


When your working schedule disappears, rebuilding a simple routine can be surprisingly helpful.

Not because every minute needs to be productive.

But because structure can reduce the number of decisions you need to make every day.

For example, here's how a software engineer who's actively searching for work might organize a weekday.


An Example Job-Search Day

Time

Activity

8:00 AM

Wake up, breakfast, short walk

9:00–11:00 AM

Applications, recruiter outreach, CV adjustments

11:00 AM–12:30 PM

Technical interview preparation

12:30–1:30 PM

Lunch and time away from the screen

1:30–3:00 PM

Interviews, learning, or focused job-search tasks

3:00–4:00 PM

Strength training, walking, or personal time

Evening

Family, friends, recovery, and non-work activities

This isn't a schedule everyone should follow.

Financial pressure, family obligations, interviews, and different energy levels can all change what's realistic.


But notice something important.


The job search has a place in the day. It doesn't automatically consume the entire day.


The NHS recommends maintaining regular routines, staying active, and making time for enjoyable activities when dealing with unemployment and financial stress.

That doesn't guarantee you'll feel better immediately.

It simply gives you a practical structure to work with during a difficult period.


Rule #5: Don't Turn Every Free Hour Into Interview Preparation


This is particularly relevant for software engineers.

The modern technical interview process can be demanding.

Data structures.

Algorithms.

System design.

Behavioral interviews.

Take-home assignments.

Live coding.


And when you aren't working, it's tempting to spend every available hour preparing.


But consider the consequences of spending your entire day at a desk.


You might finish one LeetCode problem and immediately start another.

Then watch a system design tutorial.

Then check another job board.

Then scroll through Reddit discussions about the hiring market.

Suddenly, it's 10 PM.

You've barely moved.


And your brain is still occupied with tomorrow's uncertainty.


The solution isn't to stop preparing.

It's to make preparation more deliberate.


Try defining a realistic objective for each focused work block.


For example:

Today I'll review one system design concept, complete two relevant applications, and prepare for Thursday's interview.

Once you've completed what matters, allow yourself to stop.


You don't have to earn the right to rest by exhausting yourself first.


If you're also struggling with anxiety about AI and career uncertainty, you may find my article Why Software Engineers Feel Anxious After Work (And Why AI Is Making It Worse) useful.


Rule #6: Keep Your Fitness Routine Affordable


Let's talk about something that many fitness articles conveniently ignore.

Money.

If you've recently lost your job, you may be reviewing every recurring expense.

Gym membership.

Subscriptions.

Food delivery.

Coaching.

And everything else.

Your financial priorities may have changed.

That's completely reasonable.


You don't need to spend a lot of money to stay physically active.


If you already have a gym membership that fits your budget, you can keep using it.

But if expenses are a concern, you can simplify.


An At-Home Alternative

A basic full-body session could include:

  • Bodyweight squats or sit-to-stands.

  • Push-ups against a wall, bench, or floor.

  • Resistance-band rows, if you have a band.

  • Glute bridges.

  • A short walk afterward, if you feel like it.


You can begin with one or two comfortable sets of each exercise and progress gradually.

Equipment can make some exercises easier to progress, but a gym isn't essential for maintaining a basic activity routine.


And walking costs nothing.



But these are general health targets, not requirements you must immediately achieve during a stressful week.


Some movement is better than none.

Start where you are.


Rule #7: Protect Your Sleep Instead of Optimizing Every Detail


Uncertainty about employment can affect your evenings.

You might be physically tired but mentally alert.

Thinking about tomorrow's interview.

Replaying a rejection email.

Wondering whether you should learn another framework.

Or checking LinkedIn just one more time.

It's difficult to build a sustainable fitness routine when your nights are constantly disrupted.


A few basic habits are worth protecting:

  • Maintain reasonably consistent sleeping and waking times.

  • Avoid letting job searching expand into every evening.

  • Make space for relaxing activities away from your work setup.

  • Get some daylight and physical activity during the day when possible.

  • Be realistic about training intensity if you're not recovering well.


You don't need to measure every sleep variable.

And you don't need a wearable to tell you whether your daily routine is becoming difficult to sustain.


If sleep problems persist or significantly affect your well-being, seek appropriate professional advice.


Can Exercise Actually Help With Layoff Stress?


Let's be specific.


Regular physical activity can support mental health, reduce symptoms of anxiety and depression, and improve sleep. But exercise cannot remove the financial uncertainty or emotional consequences of losing a job.


A 2026 umbrella review published in the British Journal of Sports Medicine found that exercise interventions were associated with reductions in depression and anxiety symptoms across the populations studied.


That's encouraging.

But it doesn't mean one workout will make your career worries disappear.


Nor does it mean someone experiencing significant depression or anxiety should rely on fitness coaching instead of appropriate mental health support.


In practice, I think it's more useful to focus on what physical activity can realistically provide.

An opportunity to move.

A break from your screen.

A familiar routine.

An activity outside your job search.

And, if strength training is something you enjoy, a way to keep doing something meaningful for yourself.


The value of training during a difficult period doesn't have to be measured in kilograms lifted or changes in body fat.


Sometimes the value is simply maintaining a part of your life that still matters to you.


What If You Have No Motivation to Work Out After Being Laid Off?


Then don't begin with motivation.

Begin with something small enough that motivation isn't the main requirement.

Maybe that's putting on your shoes and walking outside for ten minutes.

Maybe it's completing one short home workout.


Maybe it's calling a friend and going for a walk together.

You don't have to feel excited about exercise every time.

But you also don't have to force yourself through an intense training session when you're emotionally overwhelmed.


If low mood, anxiety, sleep disruption, or loss of interest in everyday activities continues or starts interfering with your daily life, speak with a healthcare professional.


Job loss can be a significant life stressor.

It deserves more than generic advice about being disciplined.


The Real Goal: Maintain Something You Can Carry Into Your Next Job


Eventually, you may start a new role.

New colleagues.

New projects.

New systems.

A new working schedule.

And once again, your routine changes.


Here's what I want you to avoid.


Spending three months unemployed training five days per week, only to abandon everything during your first busy month at the new company.

Instead, build a routine that can survive that transition.


Two manageable strength training sessions.

Regular movement.

A sensible approach to recovery.

Flexibility when your schedule changes.


That's something you can carry from unemployment into employment.

From interview preparation into onboarding.

From a quiet week into a demanding sprint.


And it doesn't rely on having a perfect calendar.


For a real example of how I adapt training around a demanding tech career, read How Dmitry, a Senior Software Engineer in Berlin, Lost 11.7 kg Without a Gym or Strict Calorie Counting.

Dmitry's challenge wasn't unemployment. It was balancing fitness with a demanding job and family responsibilities. But his experience illustrates the value of simple routines that don't disappear whenever life becomes complicated.


Your Career Is Important. But It Isn't Your Entire Life.


Software engineers spend years developing valuable skills.

Learning new technologies.

Solving difficult problems.

Building products.

Working toward better opportunities.


And when a job disappears, it can feel like all that progress has suddenly been questioned.

But a layoff doesn't erase your experience.


And a difficult job search doesn't mean every other part of your life needs to stop.

You can still take care of your health.

You can still get stronger.

You can still go for a walk without feeling guilty.

You can still build routines that will support you when the next opportunity arrives.


Your fitness routine shouldn't depend on whether you currently have a job.

It should be flexible enough to support you through different stages of your life.


That's the approach I take with online fitness coaching for software engineers and tech professionals.


Simple strength training.

Realistic nutrition guidance.

Regular feedback.


And programs that adapt when work and life change.


If you're navigating a career transition and want help creating a manageable fitness routine, I'd be happy to talk.



Fitness coaching ad with a muscular man, laptop, tablet and phone; text says Get consistent and Book a free 30-min call
Alex Gavrilov
Online Fitness Coach for Software Engineers
Alex Powerbuilding

We'll look at your current circumstances and decide together whether coaching would be useful and practical for you.

Alex Gavrilov Online Fitness Coach for Software Engineers Alex Powerbuilding


Research and Further Reading


Frequently Asked Questions


How can software engineers stay fit after being laid off?

Start with a manageable routine rather than an ambitious transformation plan. Two short full-body strength training sessions per week, regular walking, and reasonably consistent sleep and meal times can provide a practical foundation. Adjust the routine to your health, experience, finances, and current circumstances.


Does exercise help with stress caused by unemployment?

Physical activity can support mental well-being and may reduce anxiety and depressive symptoms. However, exercise doesn't eliminate financial pressure, solve employment problems, or replace professional mental health care when needed.


What's the best workout routine while searching for a software engineering job?

For someone with previous training experience, two manageable full-body strength sessions per week can be a practical starting point. Walking or other enjoyable physical activity can complement them. The right program depends on your fitness level, goals, available time, and recovery.


How do I find time to exercise while preparing for technical interviews?

Treat exercise as one planned part of your day rather than something you only do when all your interview preparation is finished. Even a short workout or walk can fit between focused job-search blocks. Avoid scheduling more than you can realistically maintain.


Should I cancel my gym membership after losing my job?

That depends on your finances and priorities. If your membership is affordable and useful, keeping it may make sense. If money is tight, home workouts and walking can be practical alternatives. Maintaining your financial stability takes priority over any particular fitness expense.


Why do I feel exhausted even though I'm unemployed?

Job searching can involve significant stress, disrupted routines, uncertainty, and sustained mental effort. However, fatigue can also have medical or sleep-related causes. If your exhaustion is persistent, unexplained, worsening, or interfering with everyday life, seek medical advice rather than assuming unemployment is the only cause.


Can I maintain muscle without going to the gym?

Yes, depending on your training history and available equipment. Appropriately challenging home-based resistance exercises can help maintain strength and muscle, although progression may become more limited without additional resistance. Your routine should match your experience and abilities.


How do I stay motivated after repeated job rejections?

Rather than relying exclusively on motivation, create small and realistic daily goals. Maintain basic routines, stay connected with people you trust, make room for activities you enjoy, and seek professional support if the emotional impact becomes difficult to manage.


 
 
 

Comments


bottom of page