When classic comfort food meets vibrant Italian flavors, Creamy Pesto Macaroni and Cheese is the result. This gourmet twist on traditional mac and cheese combines tender elbow macaroni with a velvety, garlic-infused cheese sauce folded with fragrant basil pesto. Topped with cherry tomatoes and a golden, buttery Panko-Parmesan crust, it strikes the perfect balance between decadent, cheesy richness and herbal brightness.
The secret to a smooth pesto mac and cheese that never splits or turns oily is Stirring the Pesto in Off the Heat After the Cheese Sauce is Smooth. Heating basil pesto directly at high temperatures can dull its bright green color and cause its olive oil to separate; adding it at the very end preserves its aromatic freshness and rich color.
Why You’ll Love This Dish
- Best of Both Worlds: Combines the ultra-creamy, cheesy comfort of classic mac with the punchy, garlic-herb brightness of basil pesto.
- Velvety, Lump-Free Sauce: A classic roux and milk base ensures a silky sauce that coats every single noodle.
- Textural perfection: Tender pasta meets a bubbly, golden, buttery Panko-Parmesan crust.
- Easy Weeknight Upgrade: Simple to whip up on the stovetop or bake for a crowd-pleasing casserole.
Key Ingredients Overview
- Elbow Macaroni or Cavatappi: Spiral or ridged pasta shapes hold onto the rich, creamy sauce best.
- Cheese Blend: Sharp White Cheddar (for bold flavor) paired with Mozzarella or Fontina (for that irresistible gooey stretch) and Parmesan.
- Basil Pesto: Store-bought (like refrigerated Buitoni) or fresh homemade basil pesto.
- Cherry Tomatoes: Halved and folded in or arranged on top for a juicy, sweet burst that cuts through the rich cheese.
- Panko Breadcrumb Topping: Buttered Panko mixed with Parmesan for a crispy, crunchy crust.
Step-by-Step Instructions
1.Boil Pasta Al Dente:8 min.
Bring a large pot of salted water to a boil. Cook 1 lb (450g) elbow macaroni or cavatappi pasta for 2 minutes less than the package instructions (about 7 to 8 minutes) so it stays firm. Drain and set aside.
2.Build the Creamy Cheese Sauce:10 min.
Melt ¼ cup butter in a heavy saucepan over medium heat. Whisk in ¼ cup all-purpose flour and cook for 1 to 2 minutes until bubbly and golden. Slowly pour in 2½ cups warm milk and ½ cup heavy cream, whisking constantly until smooth and thickened (about 4–5 minutes). Remove from heat and stir in 2 cups shredded Sharp White Cheddar, 1 cup shredded Mozzarella, and ½ tsp garlic powder until fully melted and silky.
3.Fold in Pesto & Pasta:2 min.
Stir ½ cup basil pesto and ½ teaspoon salt directly into the warm cheese sauce off the heat until fully incorporated and vibrant green. Add the cooked pasta and 1 cup of halved cherry tomatoes, folding gently until every noodle is coated.
4.Top & Bake to Golden Perfection:15 min.
Preheat oven to 375°F (190°C). Transfer the pesto macaroni into a greased 9×13-inch baking dish. In a small bowl, toss ⅓ cup Panko breadcrumbs with 1 tablespoon melted butter and ¼ cup grated Parmesan; sprinkle evenly over the top. Bake for 15 to 18 minutes until the top is golden brown and the edges are bubbling.
5.Garnish & Serve:2 min.
Garnish with fresh basil leaves and a pinch of red pepper flakes. Serve hot and cheesy straight from the dish!

Expert Tips for Success
- Grate Your Own Cheese: Always buy blocks of cheese and grate them yourself! Pre-shredded bag cheese contains cellulose anti-caking agents that can cause your sauce to feel gritty instead of smooth.
- Warm the Milk Before Adding: Adding cold milk straight from the fridge to a hot butter-flour roux can cause lumps. Microwave your milk for 45 seconds so it integrates smoothly.
- Keep It Stovetop-Only: If you prefer an ultra-saucy mac without baking, simply skip the breadcrumb step and serve straight out of the pot after folding in the pesto!
The Recipe Card
- Prep Time: 15 mins
- Cook Time: 25 mins
- Total Time: 40 mins
- Yield: 6 Servings
Ingredients:
- 1 lb (450g) Elbow Macaroni or Cavatappi
- ¼ cup Butter
- ¼ cup All-Purpose Flour
- 2½ cups Milk (whole milk preferred)
- ½ cup Heavy Cream
- 2 cups Sharp White Cheddar Cheese (shredded)
- 1 cup Mozzarella or Fontina Cheese (shredded)
- ½ cup Basil Pesto
- 1 cup Cherry Tomatoes (halved)
- ½ tsp Garlic Powder, Salt & Black Pepper to taste
- Topping: ⅓ cup Panko Breadcrumbs, 1 tbsp Melted Butter, ¼ cup Grated Parmesan Cheese.
Instructions:
Boil pasta 2 minutes shy of al dente; drain. Melt butter in a pan, whisk in flour for 1–2 minutes, then gradually whisk in milk and cream until thickened. Remove from heat and melt in Cheddar, Mozzarella, garlic powder, salt, and pepper. Stir in basil pesto off heat, then fold in cooked pasta and cherry tomatoes. Transfer to a 9×13-inch baking dish, top with buttered Panko and Parmesan, and bake at 375°F (190°C) for 15–18 minutes until golden and bubbling!