You reach for the butter and find an empty wrapper. Mac and cheese needs something to start the roux or add richness to the sauce.

What matters is the role it plays-fat for the roux, richness for the sauce, or moisture in baked versions. Some swaps mimic butter closely; others change the flavor entirely.
Each option below handles texture and flavor a little differently. The swap you pick depends on a baked casserole, or something dairy-free.
Ghee, olive oil, and coconut oil work as the cleanest butter swaps in baking because they deliver reliable fat and consistent browning. The main risk is missing water + milk solids, so we add a small splash of liquid when texture turns dry. For baking swaps, we prioritize fat first, then adjust sweetness and structure with a tiny liquid or yogurt correction.
9 Best Substitutes for Butter to Try
These options range from neutral oils to tangy dairy products. Pick based on whether you need a roux base, extra creaminess, or a dairy-free alternative.
Remember it later
Planning to try this recipe soon? Save it for a quick find later!
| # | Substitute | Best For | Ratio | Key Note |
|---|---|---|---|---|
| 1 | Olive Oil | 🍳 Cooking | ¾ tablespoon per 1 tablespoon butter | Fruity, less rich |
| 2 | Cream Cheese | 🍳 Cooking | 2 tablespoon per 1 tablespoon butter | Tangy, extra creamy |
| 3 | Mayonnaise | 🍳 Cooking | 1:1 | Subtle tang, silky |
| 4 | Ghee | ✨ Both | 1:1 | Nuttier, lactose-free |
| 5 | Coconut Oil | 🌱 Dairy-Free | 1:1 | Mild coconut hint |
| 6 | Sour Cream | 🍳 Cooking | 2 tablespoon per 1 tablespoon butter | Bright, tangy |
| 7 | Vegetable Oil | 🍳 Cooking | ¾ tablespoon per 1 tablespoon butter | Neutral, no butter flavor |
| 8 | Margarine | ✨ Both | 1:1 | Butter-like, processed |
| 9 | Greek Yogurt | 🍳 Cooking | 2 tablespoon per 1 tablespoon butter | Tangy, lighter body |
1 - Olive Oil
Olive oil works for starting a roux or finishing with a drizzle. The fruity, peppery notes stand out more than butter's neutral richness.
Use it when you want the mac and cheese to lean Mediterranean or when you're fine with a lighter texture. Avoid it if you want traditional creamy butter flavor-Olive Oil alternatives to try covers milder oils that stay more neutral.
- Ratio: Use ¾ tablespoon olive oil per 1 tablespoon of butter
- Flavor: Fruity and peppery notes, less rich than butter
Skip if: You want traditional creamy butter flavor.
For Roux Base
Works for: Starting a flour-thickened sauce
Skip if: You want a neutral flavor
For Finishing Drizzle
Works for: Adding richness at the end
Skip if: You need butter's creamy mouthfeel
2 - Cream Cheese
Cream cheese brings ultra-creaminess and a tangy edge. It thickens the sauce without needing a traditional roux.
The texture gets velvety fast-melt it into the hot pasta with a splash of pasta water to loosen. Don't have cream cheese either?
Easy Cream Cheese swaps that work lists options with similar tang and body.
- Ratio: Use 2 tablespoons cream cheese per 1 tablespoon of butter
- Best for: Ultra-creamy sauce texture
- Flavor: Tangy and rich, adds extra creaminess and body
- Texture: Velvety, thickens quickly
Skip if: You need to make a traditional roux.
3 - Mayonnaise
Mayonnaise creates a silky texture without the need for a roux. The subtle tang stays in the background, letting the cheese flavor lead.
Stir it in off the heat to avoid separation. Missing mayonnaise too?
Mayonnaise alternatives worth trying covers creamy options that blend smoothly.
- Ratio: Use 1 tablespoon mayonnaise per 1 tablespoon of butter
- Best for: Quick stovetop mac with no roux
- Flavor: Subtle tang, creates silky texture without butter flavor
Skip if: Making baked mac and cheese with breadcrumb topping.
4 - Ghee (Clarified Butter)
Ghee tastes like butter but skips the lactose. The nutty, slightly sweet notes come through more than regular butter.
Use it exactly like butter-it melts smoothly and creates a traditional roux base. Out of ghee as well?
Butter substitutes ranked covers fats that mimic butter's richness without dairy.
Here's what to know:
- Ratio: Use 1 tablespoon ghee per 1 tablespoon of butter
- Best for: Lactose-free option with butter flavor
- Flavor: Nuttier and slightly sweeter than regular butter
Skip if: You want to avoid all dairy.
5 - Coconut Oil
Coconut oil works for dairy-free and vegan mac and cheese. Refined versions stay neutral; unrefined adds a mild coconut hint.
The texture mimics butter's consistency when melted. If coconut oil isn't around either, Coconut Oil substitutes for cooking lists plant-based fats with similar melting behavior.
What to expect:
- Ratio: Use 1 tablespoon coconut oil per 1 tablespoon of butter
- Best for: Dairy-free and vegan mac and cheese
- Flavor: Mild coconut hint in unrefined oil, neutral in refined versions
Skip if: You dislike coconut undertones.
| Substitute | Dairy-Free | flavor |
|---|---|---|
| Olive Oil | Yes | Fruity, peppery |
| Coconut Oil | Yes | Mild coconut or neutral |
| Vegetable Oil | Yes | Completely neutral |
| Ghee | No (lactose-free) | Nutty, buttery |
6 - Sour Cream
Sour cream adds brightness and tang to cheese sauce. The texture stays creamy but lighter than butter-based versions.
Stir it in at the end to keep the tang fresh. Avoid using it for a flour-based roux-it works best mixed directly into the finished sauce.
- Ratio: Use 2 tablespoons sour cream per 1 tablespoon of butter
- Best for: Adding tanginess to cheese sauce
- Flavor: Bright and tangy, less buttery richness
Skip if: Making a flour-based roux.
7 - Vegetable Oil
Vegetable oil delivers a completely neutral base for the roux. It won't add flavor, so the cheese does all the work.
The texture stays lighter than butter-add a splash of cream or milk if you want more richness. Don't have vegetable oil either?
Tested Vegetable Oil replacements ranks neutral oils by smoke point and availability.
- Ratio: Use ¾ tablespoon oil per 1 tablespoon of butter
- Best for: Budget-friendly roux base
- Flavor: Completely neutral, no butter flavor or richness
- Texture: Lighter than butter
Use this when you want the cheese to stand out without competing flavors.
Skip if: Butter flavor is essential to the dish.
8 - Margarine
Margarine mimics butter's consistency without the dairy. The flavor runs slightly artificial but close enough for most mac and cheese recipes.
Use it in both stovetop and baked versions-it melts and browns similarly to butter. Out of margarine too?
Replacements similar to Margarine covers spreads with comparable texture.
Here's what to know:
- Ratio: Use 1 tablespoon margarine per 1 tablespoon of butter
- Best for: Dairy-free cooking with butter-like consistency
- Flavor: Similar to butter but less rich and slightly artificial
- Texture: Melts and browns like butter
Skip if: You want pure, natural ingredients.
9 - Greek Yogurt
Greek yogurt brings protein and tang while keeping the dish lighter. The texture stays creamy but less heavy than butter-based sauces.
Stir it in off the heat to prevent curdling. Missing Greek yogurt as well?
Greek Yogurt substitutes ranked lists tangy options that blend smoothly.
- Ratio: Use 2 tablespoons Greek yogurt per 1 tablespoon of butter
- Best for: Protein-rich, lighter mac and cheese
- Flavor: Tangy and slightly acidic, much lighter body
Skip if: Making a traditional buttery roux.
Before You Cook Without Butter
The best substitute depends on your cooking method. For stovetop mac, mayonnaise or cream cheese delivers instant creaminess without a roux; for baked versions, ghee or margarine mimics butter's richness.
Start with the ratio listed, then adjust based on how thick or creamy you want the sauce.
- Closest match - Ghee, same buttery richness
- Easiest grab - Olive oil, pantry staple
- Dairy-free option - Coconut oil, vegan-friendly
Frequently Asked Questions
Yes. Use ¾ tablespoon of olive oil or vegetable oil per tablespoon of butter. The roux will thicken the same way, but the flavor stays lighter. Add a splash of cream at the end if you want more richness.
Cream cheese makes the sauce thicker and creamier than butter alone. It skips the roux step entirely-just melt it into hot pasta with a bit of pasta water. The tang stays subtle but noticeable.
No. The tang stays in the background, letting the cheese flavor lead. Stir it in off the heat to avoid separation. It creates a silky texture without a strong mayo taste.
Yes. Ghee, margarine, and coconut oil work best for baked versions-they mimic butter's consistency and browning. Avoid Greek yogurt or sour cream for baking; they curdle under high heat.
Coconut oil delivers the closest texture to butter and works in both stovetop and baked recipes. Refined coconut oil stays neutral; unrefined adds a mild coconut hint. Olive oil works too, but the flavor is more noticeable.

9 Best Substitutes for Butter
Ingredients
Method
- Olive oil works well for starting a roux or finishing with a drizzle, adding fruity and peppery notes. Use ¾ tablespoon olive oil per 1 tablespoon butter.
- Cream cheese adds ultra-creaminess and tang, thickening sauce without a roux. Use 2 tablespoons cream cheese per 1 tablespoon butter.
- Mayonnaise creates a silky texture without a roux, with a subtle tangy flavor. Use 1 tablespoon mayonnaise per 1 tablespoon butter and stir in off the heat.
- Ghee mimics butter's flavor without lactose, offering nutty and slightly sweet notes. Use 1 tablespoon ghee per 1 tablespoon butter like regular butter.
- Coconut oil is a dairy-free, vegan alternative with a mild coconut hint in unrefined versions. Use 1 tablespoon coconut oil per 1 tablespoon butter.
- Sour cream adds brightness and tang to the sauce but curdles in boiling liquid. Use 2 tablespoons sour cream per 1 tablespoon butter and stir in off the heat.
- Vegetable oil offers a neutral base for roux without butter flavor. Use ¾ tablespoon vegetable oil per 1 tablespoon butter, adding cream if richer texture is desired.
- Margarine mimics butter's consistency for both stovetop and baked dishes, with a slightly artificial flavor. Use 1 tablespoon margarine per 1 tablespoon butter.
- Greek yogurt brings protein and tang with lighter texture. Use 2 tablespoons Greek yogurt per 1 tablespoon butter and stir in off the heat to prevent curdling.
- Adjust ratios based on sauce thickness and creaminess desired. Choose substitutes according to recipe needs and dietary preferences for best results.




