Baked Cauliflower Mac and Cheese Recipe
| ~6 min read | Mac and Cheese
Baked cauliflower mac and cheese swaps part of the pasta for roasted cauliflower, so you get the same creamy, cheesy bake with a lighter, more savoury base and a golden crust on top. The trick is to roast the cauliflower first so it doesn't release water into the sauce, and to slightly undercook the pasta so it finishes in the oven without turning mushy. This guide covers the full method, the sauce ratio that works reliably, safe internal temperatures, and how to store and reheat what's left.
What You'll Need
- 1 medium head cauliflower (about 1.5 lb / 700 g), cut into small florets
- 8 oz (225 g) short pasta such as elbow macaroni, cavatappi, penne or shells
- 3 tbsp unsalted butter, plus a little for greasing
- 3 tbsp all-purpose flour
- 2 1/2 cups (600 ml) whole milk, warmed slightly
- 8 oz (225 g) sharp cheddar, grated (about 2 cups)
- 2 oz (55 g) Gruyère or Parmesan, grated (about 1/2 cup)
- 1 tsp Dijon mustard
- 1/4 tsp grated nutmeg (optional)
- Salt and black pepper
- For the topping: 1/2 cup (30 g) panko or fresh breadcrumbs, 1 tbsp melted butter, 2 tbsp grated Parmesan
- A large pot, a saucepan, a colander, a 9x13-inch (23x33 cm) baking dish, a whisk, and a food thermometer
Step-by-Step
- Heat the oven to 425°F (220°C). Toss the cauliflower florets with 1 tbsp olive oil, 1/4 tsp salt and a grind of pepper. Spread them on a sheet pan in a single layer, not crowded, and roast for 20–25 minutes until the edges are browned and a fork slides in with slight resistance. Crowding steams the florets and leaves them watery, which thins the sauce later.
- Drop the oven to 375°F (190°C) once the cauliflower comes out. Grease the baking dish with butter.
- Boil the pasta. Bring a large pot of water to a rolling boil and salt it with about 1 tbsp salt per 4 quarts (4 L) of water. Cook the 8 oz of pasta for 2 minutes less than the package's al dente time — it will keep cooking in the oven. Before draining, scoop out and reserve 1/2 cup (120 ml) of the starchy pasta water. Drain and set aside.
- Make the cheese sauce. In a saucepan over medium heat, melt 3 tbsp butter. Whisk in 3 tbsp flour and cook, whisking constantly, for 1–2 minutes until it smells nutty but hasn't browned. Pour in the warm milk in a steady stream, whisking to keep it smooth. Cook for 4–6 minutes, whisking, until the sauce thickens enough to coat the back of a spoon.
- Melt in the cheese off the heat. Pull the pan off the burner and stir in the cheddar and Gruyère in handfuls, letting each addition melt before adding the next. Stir in the Dijon, nutmeg, 1/2 tsp salt and pepper to taste. If the sauce looks tight, loosen it with a splash of the reserved pasta water.
- Combine. Fold the drained pasta and roasted cauliflower into the sauce until everything is coated. Taste and adjust salt — the cauliflower absorbs a lot of seasoning.
- Assemble and top. Scrape the mixture into the baking dish. Mix the panko, melted butter and Parmesan and scatter evenly over the top.
- Bake for 20–25 minutes until the sauce bubbles at the edges and the topping is deep golden. If the top browns before the middle is hot, tent loosely with foil.
- Check the temperature. The center of the casserole should read at least 165°F (74°C) on a food thermometer. Let it rest 5–10 minutes before serving so the sauce sets.
Common Mistakes
Adding raw cauliflower straight to the sauce. It sheds water in the oven and leaves a pool of thin sauce. Roast it first, or blanch it for 4 minutes and drain very well.
Overcooking the pasta. Boiling to full al dente plus 25 minutes in the oven gives soft, broken pasta. Pull it 2 minutes early.
Adding cheese to a boiling sauce. High heat makes cheese proteins clump and the sauce turn grainy. Melt the cheese off the heat, or at most over low heat.
Cold milk into a hot roux. It can seize into lumps. Warm the milk first, or add it cold in a thin stream while whisking hard.
Under-seasoning. Cauliflower and pasta both mute salt. Season the sauce slightly more assertively than you would eat on its own, then taste after mixing.
Skipping the rest. Cutting straight from the oven gives runny portions. Ten minutes of resting lets the starch and cheese set.
Tips
Use a sharp cheddar for flavour and a semi-soft cheese like Gruyère for melt; all-mild cheese gives a bland, gluey bake. Grate cheese from a block rather than buying pre-shredded, which is coated with starch and melts poorly.
For a crispier top, toast the panko in a dry pan with the butter for 2 minutes before scattering it on, and add it halfway through baking instead of at the start.
If you want a lower-carb version, use the full head of cauliflower and skip the pasta entirely, but reduce the milk to 2 cups (480 ml) and the flour to 2 1/2 tbsp, since there's no pasta to absorb liquid.
Make it ahead: assemble up to the topping, cover and refrigerate up to 24 hours, then add 8–10 minutes to the bake time and check the center reaches 165°F (74°C).
Troubleshooting
Sauce looks grainy or oily. The heat was too high or the cheese was added too fast. Take it off the heat, whisk in 1 tbsp warm milk, and keep whisking; it will usually come back together. If it splits badly, blend it briefly with an immersion blender.
Sauce is too thick before baking. Add reserved pasta water a tablespoon at a time. It should coat the pasta loosely, not sit in clumps.
Bake is watery. Either the cauliflower wasn't drained or roasted enough, or the pasta was rinsed and carried extra water. Next time roast the florets until browned and drain the pasta thoroughly without rinsing.
Top browns before the middle is hot. Tent with foil and continue baking; check the center with a thermometer rather than guessing.
Leftovers dry out on reheating. Add a splash of milk, cover, and reheat at 350°F (175°C) until steaming and 165°F (74°C) in the center, or microwave covered in short bursts.
Frequently Asked Questions
Can I use frozen cauliflower?
Yes. Thaw it fully and pat it dry, then roast it at high heat until the edges brown. Skipping the drying step is the main cause of a watery bake.
How long do leftovers keep?
Refrigerate within 2 hours of cooking (1 hour if the room is above 90°F / 32°C) in a covered container at 40°F (4°C) or below. Eat within 3–4 days. Reheat to 165°F (74°C). Freeze portions at 0°F (-18°C) for up to 2 months; thaw in the fridge overnight, never on the counter.
Can I make it gluten-free?
Yes. Use gluten-free pasta cooked to the package's al dente time minus 2 minutes, and swap the flour for a gluten-free blend or 1 1/2 tbsp cornstarch. Use gluten-free breadcrumbs for the topping.
Why did my cheese sauce turn stringy?
Usually too much heat or an aged cheese with low moisture. Melt cheese off the heat, add it in small handfuls, and pair a sharp cheddar with a melting cheese rather than using all hard, aged cheese.
Can I skip the pasta entirely?
Yes, but adjust the sauce: use 2 cups (480 ml) milk and 2 1/2 tbsp flour, since cauliflower absorbs less liquid than pasta. Roast two heads of cauliflower for a full-size dish.
Is the casserole safe if the center looks set but the edges bubble?
Check with a food thermometer. The center should reach 165°F (74°C); visual cues alone aren't reliable for a mixed casserole.