Quick answer: You can replace butter in mac and cheese with an equal amount of margarine, ghee, or neutral oil (use about 3/4 the amount if swapping for oil), or skip it entirely and add extra cheese or a splash of cream. Butter’s job in mac and cheese is fat and richness, so most of the swaps below simply supply fat from another source.
In a standard roux-based sauce, butter coats the flour before the milk goes in and adds flavor to the finished dish. In a boxed mac and cheese, butter is mostly richness, which makes it even easier to replace.
Best Butter Substitutes and the Ratio to Use
Margarine is the closest match, and it swaps 1:1 by volume or weight. Here is how the common options compare for a recipe calling for 4 tablespoons (57 g) of butter:
| Substitute | Amount for 4 tbsp butter | What changes |
|---|---|---|
| Margarine | 4 tbsp (57 g) | Very close; slightly less flavor |
| Ghee | 4 tbsp (57 g), melted | Nutty, richer flavor; works well |
| Neutral oil (canola, vegetable) | 3 tbsp (45 ml) | Lighter sauce; less dairy flavor |
| Olive oil | 3 tbsp (45 ml) | Noticeable olive flavor; fine in baked versions |
| Bacon grease (melted) | 4 tbsp (57 g) | Savory, smoky sauce |
| Cream cheese | 4 tbsp (57 g) | Thicker, tangier sauce |
| Extra cheese + milk | About 1/2 cup (55 g) more cheese | Skip the fat; sauce is thinner but cheesy |
| Plain yogurt or sour cream | 1/4 cup (60 g) | Tangy; stir in off heat to avoid curdling |
| Coconut oil | 3 tbsp (45 ml) | Faint coconut taste in heavy doses |
Why less oil than butter? Butter is about 80% fat and around 15% water, so oil is more concentrated. Using the full amount of oil makes the sauce greasy.
How the Swap Works in a Roux vs. Boxed Mac
Homemade roux-based sauce
The roux needs fat to coat the flour before the milk is added. Use margarine, ghee, oil, or bacon grease in the amounts above and proceed exactly as the recipe says: melt the fat, whisk in the flour, cook about 1 minute, then whisk in the milk gradually until thickened, usually 5-7 minutes over medium heat. If the sauce uses eggs, cook it until it reaches 160°F (71°C), the USDA FSIS safe minimum for egg dishes.
Boxed mac and cheese
Here butter is optional richness, so any swap works or you can leave it out. Stir in the cheese powder with 1/4 cup (60 ml) of milk plus one of: 1 tbsp (15 ml) of oil, 2 tbsp (30 g) of cream cheese, or an extra handful of shredded cheese. Greek yogurt, about 2 tbsp (30 g), also thickens it nicely.
What to Expect When You Skip Butter Entirely
Leaving butter out is safe and common; the trade-off is texture, not safety. Without added fat, the sauce is thinner and the noodles can taste a little flat. To compensate:
- Use whole milk or half-and-half instead of low-fat milk.
- Add about 25% more cheese than the recipe calls for.
- Reserve some pasta cooking water; its starch helps the sauce cling.
- Stir in 2 tablespoons (30 g) of sour cream or yogurt off the heat at the end.
Do not try to replace butter with water or broth alone in a roux; the flour needs fat to cook properly and the sauce will taste pasty.
Can You Make Mac and Cheese Dairy-Free Without Butter?
Yes. Use dairy-free margarine or coconut oil for the roux, unsweetened plain oat or soy milk for the liquid, and a dairy-free shredded cheese that melts well. The technique stays the same; check labels if you are cooking for an allergy, since products vary. For the pasta water trick, this version benefits even more from the extra starch.
Storing Mac and Cheese Made with Substitutes
Swap choice does not change storage. Refrigerate within 2 hours of cooking, keep 3-4 days in the fridge, or freeze up to about 2-3 months. Reheat leftovers to 165°F (74°C) in the oven or microwave, adding a splash of milk to loosen the sauce. Discard anything left out longer than 2 hours (1 hour above 90°F/32°C).
Butter Swap Questions for Specific Situations
Only have olive oil? Use 3/4 the butter amount; the flavor comes through but works fine in baked mac.
Out of butter and milk? Boxed mac still turns out with just the cheese powder, water, and a spoonful of oil or extra shredded cheese.
Want it richer, not just equal? Ghee or a mix of oil plus 2 tablespoons (28 g) of cream cheese makes the sauce thicker and more buttery-tasting than plain butter.
Does the swap affect baking time? No. A baked mac and cheese still goes in at 350°F (175°C) for about 20-25 minutes, until golden and bubbling at the edges, regardless of which fat you used.
Related
- Grill Whole Chicken Recipe – Simple Steps for Juicy Results
- Gas Grill Recipes and Cooking Ideas for Beginners
- Grill Brussel Sprouts Recipe for Smoky Charred Flavor
Spotted a mistake? Tell us and we will correct it. How we write and check articles.