Creamy Pesto Mac and Cheese with Spinach

Prep: 15 minCook: 20 min6 servingsmedium
Creamy Pesto Mac and Cheese with Spinach

A luxurious twist on classic macaroni and cheese that combines a rich Parmesan cream sauce with aromatic basil pesto and nutritious spinach. The homemade roux-based sauce creates a silky texture that perfectly coats the pasta, while the pesto adds bright herbal notes and the spinach provides color and nutrients. This comforting dish works beautifully as a weeknight dinner or impressive side dish for entertaining. The combination of familiar comfort food elements with the sophisticated flavors of pesto makes it appealing to both kids and adults.

Ingredients

6 servings
  • 2 cups macaroni, uncooked
  • 2 Tbsp butter
  • 2 Tbsp all-purpose flour
  • 2 cups whole milk
    half-and-half1:1dairy-heavydairy-free

    richer sauce

    Full guide →
  • ½ cup Parmesan, grated
    cheddar cheese1:1dairy

    different flavor

    Full guide →
  • ¼ cup basil pesto
    sun-dried tomato pesto1:1flavor-change

    different flavor profile

    Full guide →
  • ½ tsp salt
  • freshly cracked pepper
  • ½ lb frozen spinach
    fresh spinach1 lb freshvegetable

    same nutrition

    Full guide →

Instructions

  1. 1

    Thaw spinach at room temperature or in microwave and squeeze out excess water

  2. 2

    Bring large pot of water to boil and add macaroni

  3. 3

    Boil pasta for 7-10 minutes until tender and drain in colander

  4. 4

    Heat butter and flour in small sauce pot over medium heat, stirring until creamy paste forms and bubbles

  5. 5

    Continue cooking and stirring for one minute more

  6. 6

    Whisk milk into butter and flour mixture

  7. 7

    Allow to simmer while whisking until sauce thickens

  8. 8

    Remove sauce from heat

  9. 9

    Whisk Parmesan and pesto into sauce until smooth

  10. 10

    Season sauce with salt and pepper, ensuring well seasoned

  11. 11

    Return drained pasta to large pot with heat off

  12. 12

    Add thawed spinach to pasta

  13. 13

    Pour sauce over pasta and spinach

  14. 14

    Stir until everything is combined and coated in sauce

  15. 15

    Serve immediately

Tips

Tip 1

Make sure to squeeze spinach very dry to prevent watery sauce

Tip 2

Season the sauce well before adding pasta as flavors will dilute

Tip 3

Serve immediately while hot for best creamy texture

Good to Know

Storage

Refrigerate up to 3 days in covered container

Make Ahead

Can make sauce 1 day ahead and reheat gently before combining

Serve With

Serve hot immediately after combining for best texture

See pairing guide →

Common Mistakes

Watch

Season sauce well before adding pasta to avoid bland final dish

Watch

Squeeze spinach dry to avoid watery sauce

Watch

Don't let roux burn by stirring constantly over medium heat

Substitutions

Dairy-Free Swaps

whole milk
half-and-half1:1dairy-heavydairy-free

richer sauce

Full guide →
Parmesan
cheddar cheese1:1dairy

different flavor

Full guide →

General Alternatives

basil pesto
sun-dried tomato pesto1:1flavor-change

different flavor profile

Full guide →
frozen spinach
fresh spinach1 lb freshvegetable

same nutrition

Full guide →
Find more substitutions →

FAQ

Can I use fresh spinach instead of frozen?

Yes, use about 1 pound fresh spinach. Wilt it in a large pan first, then squeeze out excess water just like frozen spinach.

What if my sauce is too thick?

Thin with a little warm milk or pasta cooking water, whisking until you reach desired consistency.

How long does this keep in the refrigerator?

Store covered for up to 3 days. Reheat gently with a splash of milk to restore creaminess.