Working from home is both a blessing and a curse—you cannot beat the commute, the flexibility of essentially creating your own schedule is incredibly convenient, and who would not want the freedom to wear pajamas all day, everyday?

With that being said, anyone who works from home will tell you: there are definite challenges. Struggling to maintain a healthy lifestyle is just one of these challenges but it is a big one—when you can get away with moving very little and are always just a short walk from the snack cabinet, it can be incredibly difficult to keep up with healthy habits.

If you work from home now, or will in the future, you have no choice but to be mindful of your lifestyle. These simple tricks can help you stay in top shape—no daily commute required.

1. Try to eat at home as often as possible

When you work from home, it can be incredibly tempting to order takeout from one of the many restaurants that deliver to your home, but consider this—one of the biggest advantages of working from home involves being able to whip up a healthy meal in the middle of the day. Take advantage of this and your body will thank you (and if that is not enough incentive, think about how much money you will save!)

2. Prepare your meals ahead of time

If you cannot step away from work to make yourself lunch midday, do what most cubicle-dwellers do: make your lunch the night before. Stash a healthy meal in your fridge and have it ready to go for the next day’s lunch. If it’s already prepared, you will be far less tempted to grab something from your local fast food joint.

3. Give yourself breaks

Treat yourself to regular breaks. When the weather is nice, spend these breaks taking a quick walk outside. This is not only a great way to log some extra activity, it can also be a great way to boost your mental health. Taking at least one break a day to get your blood flowing and clear your mind will make your days feel less stressful.

4. Schedule weekly trips to the grocery store

One of the best things about working from home, is the fact that it makes running errands much easier. Having a flexible schedule affords you the opportunity to get your grocery shopping done during off-peak times and avoid crowds. Choose one day a week to hit the grocery store and stick to it like it’s a business meeting. When your home office is full of healthy snacks, it’s much easier to reach for something nutritious when hunger pangs hit.

5. Schedule a walk every day

Even if you can’t log a daily workout, you can definitely take a short walk every day. Starting each day with a 20-minute walk is a great way to jumpstart your mind and body. Try walking 10 minutes away from your home to pick up your morning coffee, and then walk back to your house before you begin your workday. This way, you will not be inclined to think of it as a workout, but instead as a short trip to get something you would have in the morning anyway.

6. Set alarms for activity breaks

Hold yourself accountable to this healthy lifestyle by programming alerts for regular activity intervals. You could have an alarm ring every hour, on the hour to remind yourself to do something active. It could even be something as minor as two minutes of squats—it may not seem like much at first, but it will make a big difference if you do it consistently.

7. Embrace midday workouts

If you wait until the end of the day to exercise, you might run out of steam. Instead, take advantage of your flexible schedule and break up your day with a trip to the gym.