This Pesto Mac and Cheese is creamy, savory, easy to make, and so delicious! Basil pesto mixed in with cheesy pasta makes a dream of a weeknight meal!

three-quarters view of a bowl of pesto mac and cheese with a fork.

This post may include affiliate links that earn us a small commission from your purchases at no extra cost to you.

What’s in Pesto Mac and Cheese?

This easy recipe features ingredients like heavy cream, milk, pesto, Parmesan and cheddar to create the creamiest, cheesiest consistency and flavor!

  • Dry Elbow Macaroni: Use elbow macaroni, shells, farfalle (bowties), cavatappi, penne, fusilli, or other short shaped pastas.
  • Unsalted Butter: Use unsalted butter.
  • All-Purpose Flour: Flour helps create a thicker cheese sauce.
  • Heavy Cream: This makes the sauce extra creamy and silky.
  • Milk: I recommend using whole milk for the richest flavor.
  • Shredded Cheese: Use a mix of white cheddar and Parmesan. Freshly-shredded cheese will melt best.
  • Kosher Salt: If you use salted butter instead of unsalted, you may want to omit this additional sprinkle.
  • Freshly Ground Black Pepper: Use to taste.
  • Ground Nutmeg: Nutmeg adds a subtle, earthy nuttiness to the overall flavor, without standing out too much.
  • Pesto: Pesto adds incredible flavor to this Mac and cheese to make it feel gourmet! I use my homemade basil pesto, but you can use any variety you like.
  • Fresh Basil: Garnish with this fresh herb to complement the pesto.

Variations to Try

This pesto mac and cheese is great on its own, but you can bulk it up by mixing in some other ingredients.

step by step photos for how to make pesto mac and cheese.
Email This Recipe
Enter your email and we’ll send the recipe directly to you!
Please enable JavaScript in your browser to complete this form.
Can I make this into baked mac and cheese?

To turn this into a baked mac and cheese casserole, pour the cooked macaroni into a 9×13-inch baking pan, sprinkle with breadcrumbs and parmesan cheese, and broil for 3-4 minutes, until the topping is golden brown.

Should I heat pesto before adding it to mac and cheese?

Nope! There’s no need to heat the pesto before adding it. We will add the pesto off the heat, and the residual heat from the pasta and cheese sauce will heat and loosen the pesto, allowing it to be stirred in seamlessly.

How do I make pesto mac and cheese ahead of time?

Pesto macaroni and cheese can be made up to 2 days in advance of when you plan to serve it. Store it in an airtight container in the refrigerator until ready to serve. Reheat gently over the stovetop, adding more heavy cream or milk to loosen the sauce as needed.

overhead view of pesto mac and cheese in a white bowl with a fork.

How to Store and Reheat

Store leftover pesto mac and cheese in an airtight container in the refrigerator for up to 3 days. Reheat gently on the stovetop or in the microwave, stirring in more cream or milk as needed to loosen and rehydrate the sauce.

How to Freeze

Freeze pesto mac and cheese in individual portions in Ziplock bags for up to 3 months. Let thaw in the refrigerator overnight before reheating.

What to Serve with Pesto Mac and Cheese

This creamy, cheesy, basil pesto macaroni pairs well with bread and veggies. Serve it with cheesy pull apart bread, cheesy focaccia, or Parmesan crusted Hawaiian rolls. Add roasted Brussels sprouts, roasted potatoes, or spicy firecracker broccoli.

a forkful of pesto mac and cheese suspended in front of a bowl of pesto mac and cheese.
Recipe Card

Pesto Mac and Cheese Recipe

5 from 3 votes
Prep: 5 minutes
Cook: 25 minutes
Total: 30 minutes
Servings: 8
Author: Becky Hardin
three-quarters view of a bowl of pesto mac and cheese with a fork.
Pesto Mac and Cheese is a fun, vibrant twist on the classic dish! The basil pesto cuts through the creamy, cheesy pasta for a wonderful depth of flavor.
Save this recipe!
Enter your email and we’ll send the recipe directly to you, plus new recipes weekly!
Please enable JavaScript in your browser to complete this form.

Ingredients 

  • 1 pound dry elbow macaroni (1 standard box)
  • 3 tablespoons unsalted butter (⅜ stick)
  • 3 tablespoons all-purpose flour
  • 1 cup heavy cream
  • 1 cup milk
  • 8 ounces freshly shredded white cheddar cheese
  • ½ cup freshly grated Parmesan cheese
  • ½ teaspoon kosher salt
  • ½ teaspoon freshly ground black pepper
  • teaspoon ground nutmeg
  • ¼ cup basil pesto store-bought or homemade, plus more if desired
  • Fresh basil for garnish

Instructions 

  • In a large pot, boil the pasta in salted water according to the package directions until tender. Drain, rinse, and set aside in the pot.
    1 pound dry elbow macaroni
  • In a large saucepan set over medium heat, melt the butter. Add in the flour and whisk for 2-3 minutes, until combined and pasty.
    3 tablespoons unsalted butter, 3 tablespoons all-purpose flour
    butter and flour in a cast iron pan.
  • Slowly whisk in the heavy cream and milk, mixing until smooth.
    1 cup heavy cream, 1 cup milk
    cheese sauce in a cast iron pan with a whisk.
  • Add in the grated cheeses, salt, pepper, and nutmeg, stirring constantly until smooth and thick, 4-5 minutes.
    8 ounces freshly shredded white cheddar cheese, ½ cup freshly grated Parmesan cheese, ½ teaspoon kosher salt, ½ teaspoon freshly ground black pepper, ⅛ teaspoon ground nutmeg
    cheeses added to cheese sauce in a cast iron pan with a whisk.
  • Remove the saucepan from the heat, add the pesto, and stir to combine.
    ¼ cup basil pesto
    pesto added to cheese sauce in a cast iron pan with a whisk.
  • Pour the cheese sauce over the cooked pasta into the cheese sauce and stir to coat. Serve immediately with more pesto (if desired) and garnish with fresh basil.
    Fresh basil
    pesto mac and cheese in a large pasta pot with a red rubber spatula.

Video

Becky’s Tips

  • Add cooked shredded chicken, sausages, or bacon crumbles for a protein boost.
  • Add chopped sun-dried tomatoes, mushrooms, or steamed broccoli for a veggie boost.
  • Top with chopped walnuts or pecans, toasted breadcrumbs, or a drizzle of balsamic vinegar.
  • To make this mac and cheese into a baked mac and cheese casserole, pour the cooked mac and cheese into a 9×13-inch baking pan, sprinkle with breadcrumbs and parmesan cheese, and broil for 3-4 minutes, until the topping is golden brown. 
Storage: Store pesto mac and cheese in an airtight container in the refrigerator for up to 3 days or in the freezer for up to 3 months.
Calories: 550kcalCarbohydrates: 49gProtein: 18gFat: 31gSaturated Fat: 17gPolyunsaturated Fat: 1gMonounsaturated Fat: 7gTrans Fat: 0.2gCholesterol: 83mgSodium: 536mgPotassium: 240mgFiber: 2gSugar: 4gVitamin A: 1113IUVitamin C: 0.2mgCalcium: 340mgIron: 1mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Did you make this? Leave a comment!

More Mac and Cheese Recipes We Love

Meet Becky Hardin

Becky Hardin is a wife and mother living in Saint Louis Missouri. She founded The Cookie Rookie in 2012 as a creative way to share recipes. Now, she is a trusted resource for easy cooking around the world, being featured in Taste of Home, The Kitchn, ABC’s Home and Family, and more. Here at The Cookie Rookie she is the editor in chief of all recipes and continues to enjoy sharing her passion for cooking for busy families. She has since founded two additional food blogs, Easy Chicken Recipes and Easy Dessert Recipes.

5 from 3 votes (3 ratings without comment)
Subscribe
Notify of
guest
Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments