Vegan Mac and Cheese
As an Amazon Associate, I earn from qualifying purchases. Read the full disclosure here.
This vegan mac and cheese is creamy, rich, and comes together in about 20 minutes on the stovetop. The sauce uses a simple roux base with plant milk and vegan mayo instead of cashews or nutritional yeast, so it’s completely nut-free and uses ingredients you probably already have. It tastes like the real thing, and it’s one of the easiest dairy-free mac and cheese recipes you’ll make.
The original version of this recipe has been on the site since 2020, and it’s held up. But the post needed a proper write-up to match how good this sauce actually is. So here it is: the full breakdown of what makes it work, plus tips for getting the best texture every time.
Why This Vegan Mac and Cheese Recipe Works
Most vegan cheese sauces fall into two camps: cashew-based or potato-and-carrot-based. Both are solid, but they require a blender and some advance planning (soaking cashews, boiling vegetables). This recipe skips all of that. The sauce comes together in a single pan using a classic roux technique: butter, flour, milk. It’s the same method behind traditional bechamel, just with plant-based swaps.
The vegan mayo is what gives this sauce its richness. Mayo is essentially oil and acid emulsified together, and when you stir it into a warm roux-based sauce, it adds body and a subtle tanginess that mimics the sharpness of real cheese. Combined with turmeric for color and garlic powder for depth, the result is a thick, clinging sauce that actually tastes cheesy.
Apple cider vinegar in the plant milk creates a quick vegan “buttermilk.” This slightly curdled milk thickens more readily when heated and adds another layer of that tangy dairy flavor. It’s a small step that makes a noticeable difference. If you enjoy creamy pasta dishes, you should also try our Vegan Boursin Tomato Pasta for another quick weeknight option.
Ingredients for Dairy-Free Mac and Cheese
Pasta for Mac and Cheese
1 lb pasta shells work best here because the sauce pools inside each shell. Elbow macaroni is the classic choice too. Cavatappi or rotini also hold sauce well. Use whatever shape you like, but shells and elbows give you the most sauce-per-bite ratio.
The Vegan Cheese Sauce Base
- 3 tablespoons vegan butter forms the fat base of the roux. Any vegan butter brand works. Avoid using oil here because butter gives the sauce a richer flavor.
- 2 cloves garlic, minced get cooked directly in the melted butter for about a minute. This blooms the garlic flavor before the flour goes in.
- 3 tablespoons all-purpose flour thickens the sauce. The flour and butter cook together briefly to form a roux, which prevents the sauce from tasting raw or pasty.
The Liquid
- 2 cups unsweetened plant milk is the bulk of the sauce. Almond milk is the original choice, but oat milk makes it even creamier. Soy milk works well too. Avoid coconut milk unless you want a slight coconut flavor.
- 1 teaspoon apple cider vinegar gets stirred into the milk before cooking. This creates a vegan buttermilk that thickens better and adds tang. Lemon juice works as a substitute.
The Seasonings
- 1 teaspoon onion powder and 1 teaspoon garlic powder build the savory backbone.
- 1/2 teaspoon ground turmeric gives the sauce that classic golden-yellow mac and cheese color without affecting flavor much.
- 1/2 teaspoon lemon pepper (or regular black pepper) adds a mild citrusy heat.
- 1/2 teaspoon salt to start. Adjust after tasting.
- 1/2 teaspoon ground ginger (optional) adds warmth without being identifiable.
- 1/2 teaspoon ground sage (optional) gives an earthy depth that plays well with the other spices.
- Dash of cayenne (optional) for a little background heat.
The Secret Ingredient
1/4 cup vegan mayonnaise is what takes this sauce from “white sauce with spices” to something that actually resembles cheese. The emulsified oils and vinegar in mayo add creaminess and tang that you can’t get from plant milk alone.
How to Make Vegan Mac and Cheese
- Make the vegan buttermilk. Stir 1 teaspoon apple cider vinegar into 2 cups unsweetened plant milk. Set it aside while you prep everything else. It needs a few minutes to curdle slightly.
- Cook the pasta. Boil 1 lb pasta shells according to package directions. Drain and set aside. Save about 1/2 cup of pasta water in case you need to thin the sauce later.
- Start the roux. Heat a large pan over medium heat. Add 3 tablespoons vegan butter. Once melted and bubbly, add 2 cloves minced garlic. Stir constantly and cook for about 1 minute. Don’t let the garlic brown.
- Add the flour. Sprinkle 3 tablespoons flour over the butter and garlic. Whisk steadily for about 1 minute until the mixture forms a thick paste and smells slightly nutty.
- Build the sauce. Add the plant milk mixture about 1/4 cup at a time, whisking constantly between each addition. Wait about 30 seconds before adding more. This gradual approach prevents lumps. Once all the milk is in, reduce heat to low.
- Season the sauce. Add 1 teaspoon onion powder, 1 teaspoon garlic powder, 1/2 teaspoon turmeric, 1/2 teaspoon lemon pepper, 1/2 teaspoon salt, 1/2 teaspoon ground ginger, 1/2 teaspoon ground sage, a dash of cayenne, and 1/4 cup vegan mayo. Stir everything together and cook on low for 5 more minutes until thick and smooth.
- Combine. Add the cooked pasta to the sauce and stir until every piece is well coated. If the sauce feels too thick, add a splash of the reserved pasta water.
Tips for the Creamiest Plant-Based Mac and Cheese
- Add the milk slowly. This is the most important step. Dumping all the milk in at once almost guarantees lumps. Take your time whisking it in a little at a time.
- Use room temperature milk. Cold milk hitting a hot roux can cause clumping. Let the milk sit on the counter for 15 to 20 minutes before cooking, or microwave it briefly.
- Don’t skip the vinegar. The acidulated milk thickens better and adds the tangy sharpness that makes this taste like cheese sauce rather than just a seasoned white sauce.
- Slightly undercook the pasta if you plan to stir it into the sauce. It will continue to absorb liquid and soften. Al dente is what you want when you drain it.
- Adjust consistency with pasta water. The sauce thickens as it sits. A tablespoon or two of starchy pasta water loosens it back up without diluting the flavor.
For another creamy, comforting meal that uses a similar roux-based technique, try our Vegan Stroganoff with Roasted Mushrooms and Tofu.
How to Store Dairy-Free Mac and Cheese
Refrigerator: Store leftovers in an airtight container for up to 4 days. The sauce will thicken considerably as it cools. When reheating, add a splash of plant milk and stir over medium-low heat until it loosens up again.
Freezer: This mac and cheese freezes reasonably well for up to 2 months. The pasta texture softens a bit after thawing, so undercooking the noodles slightly before freezing helps. Thaw overnight in the fridge, then reheat with a splash of milk on the stovetop.
Meal prep note: You can make the cheese sauce up to 3 days ahead and store it separately from the pasta. Cook the pasta fresh when you’re ready to eat, then reheat the sauce and combine.
Vegan Mac and Cheese Variations
- Baked mac and cheese: Transfer the finished mac and cheese to a baking dish, top with breadcrumbs tossed in melted vegan butter, and bake at 375F for 15 to 20 minutes until golden and bubbly. If you want to go the baked route, check out our Vegan Cheesy Broccoli Cauliflower Quinoa Casserole for another oven-baked cheese dish.
- Add vegetables: Stir in steamed broccoli, roasted cauliflower, sauteed spinach, or peas right before serving. Our Vegan Broccoli Rice Casserole uses a similar cheesy approach with broccoli if you want more veggie-forward comfort food.
- Buffalo mac and cheese: Add 2 to 3 tablespoons hot sauce (like Frank’s) to the finished sauce for a spicy, tangy twist.
- Loaded mac and cheese: Top with vegan bacon bits, sliced green onions, and a sprinkle of smoked paprika.
- Gluten-free version: Use gluten-free pasta and swap the all-purpose flour for a gluten-free flour blend or cornstarch (use 2 tablespoons cornstarch instead of 3 tablespoons flour).
- Add nutritional yeast: If you do have nutritional yeast on hand, 2 to 3 tablespoons added with the seasonings will boost the cheesy flavor even more.
Vegan Mac and Cheese FAQ
Can I use a different type of pasta for vegan mac and cheese?
Absolutely. Shells, elbows, cavatappi, and rotini all work well because their shapes hold the sauce. Penne and rigatoni are fine too. Avoid long noodles like spaghetti or fettuccine since the sauce won’t cling the same way.
Why does my vegan cheese sauce taste floury?
The roux needs to cook for at least a full minute before you add any liquid. This cooks out the raw flour taste. If you rush this step, you’ll end up with a sauce that tastes starchy. After adding the milk and seasonings, the additional 5 minutes of cooking on low heat finishes the job.
Can I make this nut-free vegan mac and cheese without mayo?
You can leave out the mayo, but the sauce will be thinner and less rich. To compensate, add an extra tablespoon of vegan butter and a tablespoon of tapioca starch mixed into the plant milk before adding it to the roux. This adds some of the stretchy, thick quality that the mayo provides.
How do I make the sauce thicker?
Let it simmer on low heat for a few extra minutes, stirring frequently. The sauce continues to thicken as the flour fully hydrates and the liquid reduces. If you want it even thicker from the start, use 1 extra tablespoon of flour in the roux. You can also stir in a few slices of American-style vegan cheese, which melt in and add body.

Vegan Mac and Cheese
Ingredients
- 1 lb pasta shells
- 3 Tbsp Vegan butter
- 2 cloves minced garlic
- 3 tbsp flour
- 2 cups unsweetened almond milk (cashew, oat, or soy milk might work well too!)
- 1 tsp apple cider vinegar (or 1 tsp lemon juice)
- 1 tsp onion powder
- 1 tsp garlic powder
- 0.5 tsp ground turmeric
- 0.5 tsp lemon pepper or pepper
- 0.5 tsp salt
- 0.5 tsp ground ginger (optional)
- 0.5 tsp ground sage (optional)
- dash cayenne powder (optional)
- 1/4 cup Vegan mayonnaise
Instructions
- Add 1 tsp apple cider vinegar to 2 cups of almond milk. Give it a quick stir and set it aside.
- Cook your pasta according to its directions.
- While the pasta cooks, get a large pan heated up on medium. Add 3 Tbsp Vegan butter. Once it's melted and bubbly, add 2 cloves garlic and stir it quickly. Cook for about 1 minute, taking care not to burn it.
- Add 3 Tbsp flour into the butter and garlic. Whisk it well for about 1 minute.
- Add the almond milk into the pan, roughly 1/4 cup at a time. Whisk constantly to get the clumps out. Wait about 30 seconds before each milk addition. After all milk is added turn heat to low.
- Add 1 tsp onion powder, 1 tsp garlic powder, 0.5 tsp ginger, 0.5 tsp turmeric, 0.5 tsp lemon pepper, 0.5 tsp salt, 0.5 tsp sage, dash of cayenne, and 1/4 cup Vegan mayo. Stir well and cook for another 5 minutes.
- Add cooked pasta into the sauce and stir it up. Then dig in!
This easy vegan mac and cheese comes together fast, uses simple pantry ingredients, and actually tastes like the comfort food you remember. Give it a try and let me know how it turns out. And if you’re looking for more easy vegan pasta recipes, our Vegan Lentil Bolognese is another crowd-pleaser.
Follow me on Instagram for more delicious vegan recipes. Share your creations on Pinterest and Facebook!





I can’t wait to try this! Gotta get some tumeric and we’re good to go! 😉 YUM! Pinning!!
I know you will LOVE it!!! Let us know how it goes! 😀