Flexible, no lock in plans. Pause or cancel at any time.

It’s only natural that your Chefgood meals are small batch handcrafted using quality ingredients by renowned chefs

350 perfectly portioned calories, our nutritionist designed recipes are just right for sustained weight loss

Calorie control should never be boring, never be bland, that is why we have a fresh new menu every week

Why Choose Chefgood Weight Loss Meal Plans?

Natural, healthy ingredients

Chefgood meal plans encourage long term healthy eating habits by showing you how good fresh meals can be. Our ready meals are prepared with all-natural ingredients. They contain no added sugars, preservatives or unhealthy fats and carbs.

High quality fresh food

Chefgood handcrafted healthy meals deliver quality, freshness and variety. All produce is sourced locally based on what’s in season. Our nutritionists and chefs create weight loss meal plans which ensure you are eating healthy food prepared with low carb, high protein, fresh and locally-sourced ingredients.

Weight loss made easy!

At Chefgood, we do all the hard work for you – our Slim & Trim weight loss meal plans contain 350 calorie meals with controlled portion sizes. So you can lose weight without having to count calories yourself. And what’s more – you’ll love our fulfilling and delicious meals so much that you’ll never feel like you’re on a weight loss program.

Convenience and flexibility

Chefgood weight loss meals are designed by nutritionists, handcrafted by chefs, and delivered fresh to your door. Flexibility is important, so we offer lunch and/or dinner weight loss meal plans with the optional inclusion of breakfasts and snacks too.

Here's How it Works:

1. Select your meals
Via our website, choose your meal plan from the Slim & Trim program or the Everyday Wellness program. Both of which include vegan and vegetarian meal plans as well as no added gluten and no added dairy meals too. Decide if you want to add breakfasts and/or snacks to your lunch and/or dinner weight loss plan and select your favourite meals from the full-of-flavour seasonal menu.

2. Confirm your order
You order should always be placed by Wednesday at 11:30pm. Your subscription is now in place with fuss-free automated billing. You can change your order each week, pause or cancel your subscription at any time before cut off.

3. Enjoy fresh meals delivered to your door
Your fresh meals are then made using quality ingredients and delivered to your address on a regular day ruled by your postcode. They are packaged in special thermally-controlled ice packs and delivered from Sunday the following week. Now you can enjoy your fresh and dietlicious weight loss meals!

Weight loss meal plans for all!

Mainstream diets
Slim & Trim healthy meal plans offer mainstream high-quality weight loss meals made with locally-sourced seasonal produce including lean meats.

Vegan and vegetarian
The Slim & Trim program has inspiring meal plans for vegans and vegetarians too. These ready-made fresh meals contain lots of delicious veggie dishes and plant-based proteins that vegans, vegetarians and meat-eating foodies love! Even if you are thinking of cutting down your meat intake but don’t know where to start. Ready-made vegan and vegetarian meals are the easiest way to make the switch!

No Added Dairy and No Added Gluten
Chefgood cater to your dietary requirements with our no added dairy and no added gluten meal plans. In these meals you’ll find gluten alternatives such as quinoa flour or dairy alternatives such as coconut yoghurt!


Sit back and enjoy your weight loss journey!

Chefgood’s Slim & Trim meal plans are simply the best way to achieve and maintain your weight loss goals. Why? Because you have a choice of amazing handcrafted healthy meals from a menu which changes weekly, so you are never bored. Slim & Trim offers the ease of no more:

  • Meal planning,
  • Meal prep,
  • Shopping or
  • Cooking.

Just enjoy diet-licious, restaurant-quality ready meals made by chefs, packaged and delivered fresh-as-a-daisy to your door.

Frequently Asked Questions

More and more people are cutting down their meat intake for health, ethical and environmental reasons. A lot of people want to make the switch, but they don’t know how to get their protein intake. Our vegetarian meals can show you the ease of plant-based protein. Meat free alternatives are not only packed with protein, but are also full of healthy vitamins and nutrients. Our vegan and vegetarian meals contain the following meat free protein alternatives:

  • Almonds: people often don’t see nuts as a source of protein. But in fact – almonds contain 21 grams of protein per 100 grams. And they’re full of vitamins. How good is that?
  • Tofu has 20 grams of protein per cup. That’s the same as 2 hard-boiled eggs! Tofu is also a great source of calcium, iron and zinc.
  • Lentils have 18 grams of protein per cup. They’re also a great source of vitamins A, C and K.
  • Chickpeas have 15 grams of protein per cup. Not only that- they’re also packed with fibre, iron and folate. 
  • Beans: kidney beans have 13 grams of protein per cup. They’re also a great source of fibre and iron.
  • Eggs (vegetarians only)

Chefgood Slim & Trim meals have only 350 calories per meal. With three of those meals a day, that’s only 1050 calories! You can even have a healthy snack on top of that and still reach your weight loss goals. Our calorie-controlled meals make it easy for you to lose weight, because you don’t even have to think about how much is too much. Our weekly meal delivery service means there is always a healthy meal on hand, making it easy for you to stay on track.

Chefgood are rated very highly. Not just because our meal plans are prepared by chefs and made from fresh local ingredients. We also have a reliable weekly meal delivery service which keeps your delicious meals cool and fresh in thermally controlled ice packs.

When you order a Chefgood Slim & Trim meal plan, you can choose to add on some healthy snacks too! Nutritionists ensure that our snacks contain the healthiest ingredients and are low in calories, so you can cure your hunger between meals and still achieve your weight loss goals. Some of our delicious weight loss snacks include:

  • Protein balls: these are high in protein and come in a range of flavours including salted caramel or choc brownie!
  • Chocolate cookies: who says you can’t enjoy a chocolate cookie and still lose weight? Our delicious double choc macadamia cookie is only 275 calories! Or for something a little lighter, you can enjoy our mixed berry coconut bite, or chocolate crackle coconut bite – both are just over 110 calories!
  • Trail Mix: boost your brain with our healthy trail mix filled with delicious nuts, seeds, desiccated coconut and dark chocolate pieces. YUM!

With Chefgood you can select your healthy ready-meals from our Slim & Trim program or our Everyday Wellness program. Slim & Trim is designed with 350 calorie meals for weight loss, and Everyday Wellness is about fresh, healthy meals made with larger portion sizes.

Once you have chosen a weight loss or everyday wellness plan, you can then choose specific meal plans depending on your dietary requirements including:

  • Mainstream meals
  • Vegan meals
  • Vegetarian meals
  • No added gluten meals
  • No added dairy meals 

So what are you waiting for? Choose your meal plan and get healthy, fresh and delicious meals delivered to your door!

 

PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPmlmKCFnZm9ybSl7ZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lcigiZ2Zvcm1fbWFpbl9zY3JpcHRzX2xvYWRlZCIsZnVuY3Rpb24oKXtnZm9ybS5zY3JpcHRzTG9hZGVkPSEwfSksd2luZG93LmFkZEV2ZW50TGlzdGVuZXIoIkRPTUNvbnRlbnRMb2FkZWQiLGZ1bmN0aW9uKCl7Z2Zvcm0uZG9tTG9hZGVkPSEwfSk7dmFyIGdmb3JtPXtkb21Mb2FkZWQ6ITEsc2NyaXB0c0xvYWRlZDohMSxpbml0aWFsaXplT25Mb2FkZWQ6ZnVuY3Rpb24obyl7Z2Zvcm0uZG9tTG9hZGVkJiZnZm9ybS5zY3JpcHRzTG9hZG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