This is the best gnocchi mac and cheese recipe. Every bite is a mouth-watering mix of flavors, with the savory, richly-layered gnocchi cheese sauce stealing the show every time.

Gnocchi Macaroni and Cheese
It doesn’t get much better in the comfort food arena than this gnocchi mac and cheese. I use three different cheeses to get the complex flavor profile I was looking for, and it hits all the notes! It’s like a grown-up version of a favorite childhood side dish.
The little pillowy gnocchi pasta holds on to every ounce of sauce and makes every bite perfect!
Why I Love This Recipe
- Using purchased gnocchi makes this recipe very doable on a weeknight.
- The three cheese combination is one of my favorites.
- One of the best side dishes for any meal.

Ingredients
Hopefully you have all or most of theses ingredients in your pantry or refrigerator. If not, they are all readily available at the grocery store.
- gnocchi – You can find gnocchi in the market alongside regular pasta, or you can make your own.
- all-purpose flour
- salt
- white pepper – Regular black pepper changes the flavor of a dish, and white pepper has a completely different flavor profile. If you can, stick with white.
- Dijon mustard
- butter – Use a European cultured butter, like Kerrygold, for a richer flavor.
- garlic
- milk – I prefer using whole milk for the best flavor.
- Gruyère cheese – Make sure to buy a block and shred it yourself. Gruyère is a smooth-melting Swiss cheese made from whole cow’s milk.
- Fontina cheese – Make sure to shred it yourself. Fontina is a semi-soft cow’s cheese with a gentle buttery, nutty flavor.
- Parmigiana-Reggiano – Make sure to shred it yourself. Parmigiano-Reggiano is an Italian hard, granular cheese.
- fresh basil

How To Make Gnocchi Mac and Cheese
Find the complete recipe with measurements in the recipe card at the bottom of the post.
- Step One: Preheat your oven to 375°F.
- Step Two: Cook the gnocchi as the package directs, then drain them. Spread them out in a single layer in a baking dish that’s been sprayed with nonstick spray.
- Step Three: Melt the butter in a medium saucepan over medium heat. Toss in the garlic and cook for about 30 seconds until it smells great.
- Step Four: Whisk in the flour until it thickens and bubbles up. Then add the milk and Dijon mustard, and keep whisking for 3-5 minutes until it starts to thicken a bit.
- Step Five: Mix together the Gruyère and Fontina cheeses. Add them to the milk mixture one handful at a time, stirring until each handful melts before adding more. Once all the cheese is melted, season the sauce with a pinch of salt and some white pepper.
- Step Six: Pour that cheesy sauce over the gnocchi, then sprinkle Parmigiano-Reggiano on top.
- Step Seven: Bake it all for about 25 minutes, until the gnocchi puff up and the cheese is golden and bubbly.
- Step Eight: Let it rest for 5 minutes before digging in. Enjoy!
Recipe Tips
Here are some extra tips to take your gnocchi mac and cheese to the next level.
- Cook the gnocchi just until they’re tender but still firm. They’ll cook a bit more in the oven and stay firmer.
- To get all your cheeses to melt smoothly in this dish, make sure to shred them yourself. Pre-shredded cheese has stuff added to keep it from sticking together, and that can mess with how well it melts.
- And don’t forget to let the gnocchi rest for 5 minutes before serving. I know waiting can be tough, but this lets the creamy cheese mixture set just right.
- For a delicious twist, sprinkle some crumbled bacon on top or, if it’s a special occasion, consider adding lobster for a holiday-worthy upgrade.

Storage and Freezing Instructions
Here’s how to keep your gnocchi mac and cheese fresh and delicious, even after it’s been cooked
- Keep any leftovers in an airtight container in the fridge. They’ll stay fresh for about 3-4 days.
- Reheat your gnocchi mac and cheese in the oven to keep it crispy on top. Just cover it with foil and warm it at 350°F until heated through.
- If you’re in a rush, you can use the microwave. Just cover it loosely to avoid drying out and heat in short bursts, stirring in between.
- To freeze, let it cool completely, then transfer it to a freezer-safe container. It should be good for up to 2-3 months.
- Thaw it overnight in the fridge before reheating. Then, bake it at 350°F until it’s heated all the way through, covering with foil if needed.
More Gnocchi Recipes
- Creamy Gnocchi with Walnuts and Fried Sage
- Gnocchi-Bacon Grilled Cheese Sandwich
- Gnocchi with Burrata
More Macaroni and Cheese Recipes
- Buffalo Chicken Macaroni and Cheese
- Pumpkin Macaroni and Cheese
- Pimento Macaroni and Cheese
- Ranch Macaroni and Cheese
- Macaroni and Kim-Cheese
This post may contain affiliate links. Please read my disclosure policy.
Gnocchi Mac and Cheese
Ingredients
- 1 lb gnocchi or homemade gnocchi
- cooking spray
- 2 tbsps butter
- 1 tsp minced garlic
- 1 tbsp all-purpose flour
- 3/4 cup whole milk
- 1 tsp Dijon mustard
- 1/4 cup shredded Gruyère cheese
- 1/4 cup shredded Fontina cheese
- table salt to taste
- white pepper to taste
- 1/3 cup shredded Parmigiano-Reggiano
- basil leaves for garnish, optional
Instructions
- Preheat oven to 375 degrees F.
- Prepare gnocchi according to package directions. Drain and place gnocchi in a single-layer in a 1.5 quart shallow baking dish that has been sprayed with cooking spray.1 lb gnocchi, cooking spray
- Melt butter in a medium saucepan over medium heat. Stir in garlic and cook until fragrant, about 30 seconds. Whisk in flour until it thickens and bubbles, then whisk in milk and Dijon. Continue to whisk mixture and cook until slightly thickened, about 3-5 minutes.2 tbsps butter, 1 tsp minced garlic, 1 tbsp all-purpose flour, 3/4 cup whole milk, 1 tsp Dijon mustard
- Combine Gruyère and Fontina cheese, then add by the handful to milk mixture, stirring until melted before adding the next handful. Once all cheese is melted, season sauce with salt and pepper.1/4 cup shredded Gruyère cheese, 1/4 cup shredded Fontina cheese, table salt , white pepper
- Pour sauce over gnocchi and sprinkle with Parmigiano-Reggiano over top. Bake gnocchi until they puff and cheese is golden and bubbly, about 25 minutes.1/3 cup shredded Parmigiano-Reggiano
- Let gnocchi rest for 5 minutes before serving. Sprinkle each serving with basil.basil leaves for garnish, optional
Video
Notes
Nutrition
As an Amazon Associate and member of other affiliate programs, I earn from qualifying purchases.




bellini valli says
I have some frozen gnocchi that I made earlier thsi year that would be perfect for this. I LOVE this idea Cathy.
June says
Oh my! You’ve done it again.
Vashti says
This looks yummy, I am not a big fan of gnocchi but this just might sway me!
Ginny says
wow! yum! 🙂
Rose says
Rocco has a gnocchi mac and cheese in his fast cook book that I just flipped over the recipe and dismissed. Now that I have seen your photos, I am definitely trying your version!
Susan says
Besides looking totally over the top, is this actually legal? Oh my gosh!!!
Lisa -Cutting Edge says
Looks fantastic! I’m so making this one. You always have the recipes I want to try right away!
Amber says
My boyfriend and I make our own gnocchi (spinach gnocchi is our favorite — a little work but a fun group project) and it was amazing with this recipe!
Anna says
This looks very similar to a dish I had at one of my favorite Savannah restaurants this weekend. My fiance LOVES gnocchi, so I made it and just wow…amazing!!
Spinach Tiger says
This looks so so sinful, and truly truly delicious.
Kitty says
yummmmm, this was amazing!
Andrea says
Oof. We just made, then consumed, this. Sooo good. Sooo full. Thanks for the recipe!
MentalPMama says
Lawsy. Will you bring this to Iowa, too?
Jackiefo says
OMG this looks amazing. I will make it this weekend for my weekend treat – I LOVE GNOCCHi
Julie says
That first picture, with the bubbly brown cheese and basil leaves, makes me want to dive right in. Yum!
Megan says
I have everything I need to make this and it’s on the menu! We just had Gnocchi last night with tomatoes and basil but I have another package!!!
You know, It’s a little embarrassing how much food can excite me, but believe me, this recipe does.
Oh crap. I swore off wine till the weekend. But if I must cave, I must!
elra says
What a delicious dish Cathy. I am sure I am going to like it.
Gilly says
That looks delicious, I’m going to have to try and make it!
Rachel the SdOC says
What a great idea! That’s one of those things I felt I (or someone) should have thought of years ago. Yummy gnocchi baked in cheese sauce? I’m in. I’m so in!
Barbie with a T says
Looks delicious and your photo with that bubbly brown cheesy topping looks fantastic! Definitely a new twist to Mac N Cheese. Thanks for the recipe. I will try it for sure.
sharon says
You know…I have tried all your mac ‘n cheeses. THIS, though looks like the mac of my dreams. Great idea.
Christine says
I made this last night and it was divine! The only changes to the recipe I made was to add about 100 grams of imitation crab (just pull it into long pieces and spread it over the gnocchi) and to add a 1/2 teaspoon of dried basil to the sauce! My boyfriend said it was the best thing he ever ate. 🙂
Hayley says
This was sooo delicious! Both my picky dad and picky boyfriend loved this! Would definitely make this again!
kelly says
This speaks to me on so many levels it’s crazy. Wow. Saw on FB that you’ve set up shop and are taking orders. Love your wine site & congrats to you for all your hard work. Order is coming 🙂
Jenn AKA The Leftover Queen says
Definitely an amazing idea!
Natalie The Sweets Life says
What an INCREDIBLE recipe. I adore gnocchi and can’t even imagine how good this tastes! (still want to try the Buffalo Chicken mac too!)
Baker Girl says
I had not been able to stop thinking about this since I saw your post. I went to get the ingredients today and after I got over the sticker shock from the cheeses, I made it. It was delicious. I think I might add a little more dijon mustard into it next time!
Ally_R says
OMG! I think I am inlove. This combines my 2 favourite things, Gnocci and Cheese. How have I not thought of this before? I have to make this!!
Hillary says
I started reading this blog a few weeks ago and have added so many of your recipes to my queue. My husband and I made this last night and it was delicious. We used mushroom gnocchi, mozzarella (no fontina at three stores I tried!), gruyere, fresh thyme, and extra mustard. Then, we gobbled it all up and began fantasizing about future variations. Thanks for the fantastic recipe.
jeanette says
My husband passes on his thanks. This was delicious. I never had all the cheeses called for, but even with substitutions, it was delish. Thx for a great recipe.
Simon Jones says
I tried this for Sunday dinner. I didn’t have the cheeses so I used Red leicester and it went down really well. Even had enough for leftover lunch today. I would definitely make this again.
Emilee says
Made this on Saturday, delicious! Although the oil from the cheese on top proves that it may not be the best for you, we couldn’t help but eat the whole pan. Highly recommended!!!!
Lauren says
SO DELICIOUS. just made this tonight with my friends. definitely a keeper.
Shannon says
How many servings does this make?
Noble Pig says
Four.
Kam says
I just made this tonight with potato gnocchi. It was so good!
Kati says
Absolutely delicious. This is the first time I’ve had Gruyere cheese and will not be the last. My life is now complete.
LadyJayPee - Eating Etc says
Made this last night and it was great comfort food! Thank you!
Necessary Indulgences says
Love the cheese combination… I can’t wait to make this!
Alissa says
Making homemade gnocci is INCREDIBLY simple and infinitely better than the storebought stuff, honestly so worth it.
Wendy says
Are the gnocchi cooked before or do they cook during the baking process?
Martha says
Cathy,Every time I need a recipe to impress, I look to Noble Pig. I’m going to a dinner party tonight and making gnocchi mac n cheese (the one and only featured) for the fifth or sixth time! I’m not only obsessed with this recipe, but many many others. You’re wonderful, keep it up! On a side note, I’ve been meaning to find a way to get your Oregon wine all the way down to Louisiana. I must try it if it’s anything like your cooking!Thanks for all the good advice.
Noble Pig says
We ship wine directly to Louisiana.
Jenna says
I notice that “garlic” is not on the ingredient list so i am not sure how much to add. Also, some of the steps seem to be missing. I assumed you add the milk after cooking the butter and flour mixture.
Cathy says
It’s all there!!??
Madeline says
What type of milk did everyone use?
Sarah Duvall says
1% skim and it was perfect
Sarah Duvall says
This was D-licious and my very picky husband loved it!! I used shredded chicken breast over top of the gnocchi and added halved cherry tomatoes! This was fantastic and I can’t wait to make it again! Thanks so much for the recipe.
Erin says
I want it for breakfast!! Can’t wait to try it!
Jen says
Oh…my…goodness!!!
Brandi F. says
Oh my gosh this looks amazing!!
Jeanne P says
Just made this for dinner….no leftovers 🙁 The husband and son loved it!!! this will be made again and again!
Thanks!!!
Marcia says
Where I live it is difficult to find prepared gnocchi but I did find packages of mini gnocchi, so wondering if those would work except to use more than a pound? Also, do you suggest a pasta that would work with the dish since I have all of the ingredients except the gnocchi and that cheese was expensive.
Cathy says
One pound of mini gnocchi is the same as one pound of big gnocchi. Also, there is not a substitute pasta for it as gnocchi is filled with potato and is what makes it special. The gruyere cheese is also a very distinctive taste for this dish, I can’t imagine changing it.
bakeca rimini says
looks gorgeous, worth trying
ATasteOfMadness says
Oh my goodness, this looks fantastic!! I’m planning on making this soon, yum!
jason says
my mom started cooking this recently and all i have to say is it is the greatest dish ive ever had. ever. hands down.
Brianna says
As macaroni and cheese is both my fiance’s and my own favorite food, I had to make this for him as soon as i saw it. I edited the recipe a bit, replacing the three cheeses listed with preshredded Kraft Macaroni Cheese Blend and Italian Cheese Blend 😉 I cooked this while he was mowing the lawn, and then we sat and ate with a glass of chardonnay. It was like we were already an old married couple! Trust me, everyone needs to try mac and cheese made with gnocchi at least once. This will now be my “go to” recipe for pot lucks and family dinners in the future! 5/5 stars, highly recommend.
Stacy Davis says
I made this last night and it was amazing. I used gruyere and monterey jack and added just a little garlic and nutmeg to the sauce. I loved it! Thanks for the recipe
Jackie Johnson says
This is my favorite guilty pleasure. I have made it so many times, and I just keep coming back. Cathy, I love all of your recipes………but this one takes the cake. It is a superb blend of magnificence.
madsad says
mmm…this is delicious. The BEST ever in fact.
Keyla says
Thanks for your post. It’s look so delicious, try it now.
Jade Priscilla says
Macaroni cheese is a favourite in our household, I have never tried it with anything other than the macaroni shells, but this looks delicious! I might just add to my shopping basket next time 🙂 x
Larry Burton says
Thanks for your recipe. I’ll try for my breakfast 🙂
Elena @ TLS says
cant hold myself. I wish I could have cooking habit. 🙂
Phyllis says
Can you put the ingredients together ahead of time and cook it later? Say 2 – 2 1/2 hours?
Cathy says
Yes.
Hasan says
Really fantastic..!!!
Megan says
This is my husband favorite thing. It’s been his birthday dinner since 2011. Thank you!
Bess says
Food does not get better than this. Loved every bite.
Cathy says
Thanks.
Melissa says
By far the most amazing mac n cheese ever!
Cathy says
I agree with you.
Jenni says
We are in awe of this recipe, it was so so so so so good!
Juli says
Made a gluten free version of this for a group of 20 friends this weekend and everyone FLIPPED OUT. Very easy to change amounts and have fun with it. The “shred it yourself” recommendation was spot on – I never want to use pre shredded cheese again. Huge hit – definitely making this again. Thank you!
Cathy Pollak says
Wow, I’m so glad it was such a hit with your friends! It’s awesome to hear the gluten-free version worked out, and I’m with you on the freshly shredded cheese—it really does make a difference! Thanks for sharing, and I’m thrilled you’ll be making it again!
noturmom says
great backbone recipe! i subbed in more parm and the aged white english cheddar from costco to replace the gruyere and it still came out perfect 🙂
Kimberly says
Perfect! Sauce was delicious but not overbearing and just the right texture with the gnocchi.
Cathy Pollak says
So glad. Thanks for letting me know.