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

Our chefs hand select produce based on what's in season, what's available locally and what's going to pack a nutritional punch while still tasting delicious

At Chefgood we don’t do boring, mass-produced and bland food. That's why we have a fresh new menu every week

Why Choose a Chefgood Vegan Meal Plan?

Chef-made meals with quality ingredients

Our qualified chefs hand-make each vegan meal with natural ingredients and local produce. We choose to make our meals from scratch over mass food production because we know handmade tastes better.

New menu every week

Seeing as we run like a restaurant rather than a food manufacturing plant, we have the flexibility to create and change-up the menu every week, so you’ll never find vegan food boring.

Healthy food

We work closely with our in-house nutritionist to ensure our meals jam packed with nutrition while including healthy fats and protein. Meals contain no added sugars or preservatives.

Variety of options 

Chefgood’s vegan meal plans include a wide variety of delicious and exciting vegan meals. Meals are creative, super tasty and ultimately good for you because they are nutritionally balanced.

Here's How it Works

1. Choose your meal plan
Select how many vegan lunches and/or dinners you would like delivered each week. Have a look through our exciting and healthy meal plans. You will have the flexibility to swap out any meals if needed, or add some healthy snacks to your order. Our delicious protein balls and nuts can be the perfect way to cure hunger between meals.

2. Place your order
Our online ordering system is quick, easy and reliable. Checkout before 11:30pm on Wednesday and start receiving your meals the same week. Your first order will start an automated billing service. Remember: you can pause, cancel or change your subscription at any time.

3. Enjoy convenient meal delivery
Meals will be delivered on a regular day set by your postcode in NSW, ACT, QLD or SA. Sit back and enjoy freshly made meals delivered straight from our kitchen to your door in thermally stable ice packs.

Meal Plan Options Available

Vegan and Vegetarian
Of course, you can choose a vegan meal plan with fully plant-powered meals. Our vegan menu includes delicious wholefoods such as brown rice, quinoa, chickpeas and lentils. There are loads of high-quality veggies like broccoli, sweet potato, cauliflower and eggplant too! We also offer vegetarian meal plans and mainstream meal plans.

Slim & Trim and Everyday Wellness 
Choose from the Slim & Trim weight loss meal plan with 350 calorie-controlled meals, or Everyday Wellness meal plans with slightly larger portion sizes. Our portion sizes and calorie counts are designed to ensure you achieve an ideal weight for good health.

No Added Dairy and No Added Gluten
For those with a dairy or gluten sensitivity, you can choose a meal plan with No Added Dairy or No Added Gluten (not suitable for coeliacs).


Save time & eat Healthy Vegan Food with Chefgood

A subscription to Chefgood’s vegan meal delivery service is so much more than just vegan ready meals delivered to your door in Sydney, Canberra, Brisbane or Adelaide. You find more time in your day to enjoy a healthy and active lifestyle when you remove time spent on:

  • planning meals
  • shopping
  • meal prep
  • and cooking.

It can be hard switching to a plant-based diet and knowing how to get all the important proteins and nutrients. Luckily with Chefgood, you don’t even have to think about it! Our nutritionists and chefs put together the perfect nutritionally balanced vegan meals to leave you feeling nourished and satisfied. With high protein meat alternatives like chickpeas, lentils and tofu, you will feel lighter and have more energy for an active lifestyle.

Frequently Asked Questions

You can absolutely say goodbye to tubby tummies with our vegan meal plans! With no hidden sugars and crafted from low carb, fresh, organic ingredients, our 350-calorie Slim & Trim meal plans with perfect portion sizes are definitely good for weight loss.
It’s easy to adopt a healthy and active lifestyle when you eat well. Chefgood vegan meal plans provide the perfect way to enjoy healthy vegan food while you increase your fitness and become more active. By cutting out meat from your diet, you naturally reduce your intake of trans fats. This can leave you feeling lighter, and help you reach your weight loss goals faster.

A plant-based diet has so many benefits for not only you, but also the planet!

  • A vegan diet is richer in nutrients. Vegetables and plant-based protein alternatives provide your body with vitamins, iron, calcium, zinc, fibre and more.
  • Vegan diets also naturally reduce your calorie intake. This makes it easier to achieve your weight loss goals.
  • Meat production uses a lot of the earths water and releases CO2. By switching to a plant-based diet, you reduce your carbon footprint. A vegan diet is the best choice for a cleaner, greener future.
  • An obvious benefit of a vegan diet is the reduced harm on animals. By eating a diet with no animal products, you are reducing the impact on animal eco-systems all over the world.
  • It is also argued that vegan diets have a number of health benefits including reduced blood sugar levels, improved kidney function, reduced risk of cancer, reduced risk of heart disease and more.
    The benefits of a plant-based diet are endless. So if you’ve been convinced, and you want to try the vegan lifestyle, Chefgood Vegan meals are the perfect place to start.

At Chefgood we offer a range of delicious and nutritious vegan meals. One of our most popular meals is the Asian Style Tofu Singapore Noodles. This delicious meal is filled with oodles of noodles and high-protein tofu pieces. Topped with Asian vegetables and a yummy black bean sauce. Another all-time favourite is the Coconut Vegetable Curry. Filled with delicious veggies in massamam curry sauce, this dish is oozing with Thai and Indian flavours. Even meat eaters love our vegan meals!

Our restaurant quality chef-made vegan meal plans start from $9.95 per meal. So for those who are time poor and often resort to takeaway food, Chefgood is not only a fresher and healthier alternative, it is also around half the price of a restaurant meal.


Using a meal delivery services also eliminates the food waste that comes with over-shopping at the supermarket. With portion-controlled meals, you receive the exact amount of food needed for a sustained and balanced diet. No more wasting money on spoilt food. So you can save money and eat better with Chefgood’s meal delivery service. It’s a win-win!

CiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPSdnZl9icm93c2VyX2Nocm9tZSBnZm9ybV93cmFwcGVyJyBpZD0nZ2Zvcm1fd3JhcHBlcl8xNScgPjxkaXYgaWQ9J2dmXzE1JyBjbGFzcz0nZ2Zvcm1fYW5jaG9yJyB0YWJpbmRleD0nLTEnPjwvZGl2Pjxmb3JtIG1ldGhvZD0ncG9zdCcgZW5jdHlwZT0nbXVsdGlwYXJ0L2Zvcm0tZGF0YScgdGFyZ2V0PSdnZm9ybV9hamF4X2ZyYW1lXzE1JyBpZD0nZ2Zvcm1fMTUnICBhY3Rpb249Jy92ZWdhbi1tZWFsLWRlbGl2ZXJ5LyNnZl8xNSc+CiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9J2dmb3JtX2JvZHknPjx1bCBpZD0nZ2Zvcm1fZmllbGRzXzE1JyBjbGFzcz0nZ2Zvcm1fZmllbGRzIHRvcF9sYWJlbCBmb3JtX3N1YmxhYmVsX2JlbG93IGRlc2NyaXB0aW9uX2JlbG93Jz48bGkgaWQ9J2ZpZWxkXzE1XzgnICBjbGFzcz0nZ2ZpZWxkIGdmaWVsZF9odG1sIGdmaWVsZF9odG1sX2Zvcm1hdHRlZCBnZmllbGRfbm9fZm9sbG93c19kZXNjIGZpZWxkX3N1YmxhYmV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