Salads
This 8x8 macaroni and cheese recipe delivers the perfect balance of creamy, cheesy goodness with crispy golden bubbles—all baked in one pan for effortless cleanup. The secret lies in a rich, velvety cheese sauce that coats every elbow macaroni, creating a dish that’s both comforting and impressive.
I’ve perfected this recipe over years of testing, ensuring it’s foolproof for weeknight dinners or holiday gatherings.
The recipe starts with a simple yet flavorful cheese blend—sharp cheddar, Gruyère, and cream cheese—that melts into a luscious, smooth sauce.
Cooking the macaroni directly in the oven-safe dish means no transfers, and the baking time is just 20–25 minutes at 375°F, giving you tender pasta with a golden, bubbly top. For extra crunch, a breadcrumb topping adds texture, while a final sprinkle of parmesan elevates the flavor.
What you’ll end up with is a restaurant-quality casserole that’s creamy, cheesy, and impossible to resist. The edges are crispy, the center stays tender, and every bite is packed with that unmistakable mac and cheese flavor.
This dish is perfect for feeding a crowd, meal prepping, or serving as a hearty side to grilled meats or salads.
Use an oven-safe 8x8-inch baking dish (glass or ceramic works best) to ensure even baking and easy serving. The recipe scales well, so double it for larger gatherings or freeze leftovers for quick meals later. Here’s everything you need to make this classic dish your new favorite.
Ingredients for 8x8 macaroni and cheese
Six servings of cheesy perfection—creamy, crispy, and ready in one pan.
| Ingredient | Amount | Notes |
|---|---|---|
| Elbow Macaroni 🍝 | 12 oz | Uncooked, standard elbow shape |
| Sharp Cheddar Cheese 🧀 | 2 cups | Shredded, aged for sharp flavor |
| Gruyère Cheese 🧀 | 1 cup | Shredded, for nutty depth |
| Cream Cheese 🧀 | 8 oz | Full-fat for creaminess |
| Whole Milk 🥛 | 1 ½ cups | Warmed slightly for smooth sauce |
| All-Purpose Flour 🌾 | 2 tbsp | For thickening the sauce |
| Butter 🧈 | 4 tbsp | Unsalted, melted for richness |
| Garlic Cloves 🧄 | 2 cloves | Minced, for subtle aroma |
| Yellow Onion 🧅 | ½ cup | Finely diced, sautéed base |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground for heat |
| Parmesan Cheese 🧀 | ¼ cup | Freshly grated for garnish |
| Panko Breadcrumbs 🍞 | ½ cup | For crispy topping |
| Extra-Virgin Olive Oil 🫒 | 1 tbsp | For greasing baking dish |
The cheeses are where the magic happens. Sharp cheddar gives that classic tang, but Gruyère adds nutty depth—don’t skip it. I grab Kraft sharp cheddar (the good stuff, not the pre-shredded kind) and imported Gruyère from the specialty cheese section at Whole Foods or Trader Joe’s. The cream cheese? Philadelphia full-fat—none of that low-fat nonsense. For the breadcrumbs, Panko is non-negotiable—it stays crispy while regular breadcrumbs turn soggy. The garlic and onion are just flavor boosters, but sauté them until soft so they melt into the sauce.
No Gruyère? Swiss cheese works in a pinch, but you’ll lose that signature flavor. Pre-shredded cheddar has anti-caking agents—buy a block and shred yourself. Running out of milk? Heavy cream makes the sauce richer, but whole milk keeps it classic. The flour is just a thickener—Diamond Crystal kosher salt is my go-to, but any salt works. For the topping, mix the breadcrumbs with 1 tbsp melted butter and 1 tbsp Parmesan for extra flavor. Pro tip: Toast the breadcrumbs in the oven for 3 minutes before adding to the casserole for maximum crunch.
This dish reheats like a dream—375°F for 10 minutes brings it back to golden perfection. Keeps 4-5 days in the fridge, but honestly, it’s gone in one sitting. Freezes beautifully for up to 3 months—just thaw overnight in the fridge. I always make a double batch because it’s that good. Store leftovers covered, but let it sit at room temp for 5 minutes before serving—it’s even creamier that way.
Why You'll Love This Recipe
- One-Pot Magic: I swear by this recipe—just boil the pasta, melt the cheeses together in the same pot, and stir. No extra bowls, no fuss, and the Gruyère melts into that velvety sauce while the sharp cheddar adds a punch. It’s the kind of dish where you forget you’re even cooking.
- Cheese Love Bomb: That combo of creamy Gruyère and sharp cheddar with a swirl of cream cheese? It’s like a hug in a baking dish. The milk keeps it smooth but not watery, and the pasta soaks up all the richness—no dry bites here. Honestly, I’ve made mac and cheese before, but this one actually tastes like it belongs in a fancy restaurant.
- Lunchbox Hero: Between us, this is my secret weapon for school lunches or workday leftovers. The 8x8 pan makes perfect portions—just slice it up, wrap it tight, and it stays warm (or reheats like a dream). My kids fight over it, and my coworkers ask for seconds. Not the prettiest, but the taste makes up for it every time.
- Budget Comfort: I can feed four people for under $10 with this, and it stretches to five if I’m feeling generous. The cream cheese adds decadence without breaking the bank, and the cheddar-Gruyère mix gives that restaurant-quality feel. Plus, it’s one of those dishes that tastes even better the next day—so it’s basically free money for lazy nights.
Step-by-step instructions for 8x8 macaroni and cheese
Here's how to create the ultimate baked mac and cheese with golden bubbles and crispy topping.
Cook the Elbow Macaroni Al Dente
Bring a large pot of water to a rolling boil and add 12 oz elbow macaroni. Generously salt the water—it should taste like the ocean. Cook the pasta until it's 1 minute before al dente (about 8-9 minutes total). The pasta will finish cooking in the oven, and this prevents mushiness.
Drain the pasta in a colander, but don't rinse it—those starchy strands are what help create that creamy sauce. Shake the colander vigorously to remove excess water, then transfer the pasta to a large mixing bowl. Here's the thing—if you rinse the pasta, you'll lose that surface starch that makes the sauce cling beautifully to every noodle.
Make the Ultimate Cheese Sauce
In the same pot you cooked the pasta, melt 4 tbsp butter over medium heat. Add 0.5 cup finely diced yellow onion and cook for 3-4 minutes until softened but not browned. Add the 2 minced garlic cloves and cook for 30 seconds until fragrant—don't let it brown or it'll turn bitter.
Whisk in the 2 tbsp all-purpose flour and cook for 1 minute to remove the raw flour taste. Slowly pour in the 1.5 cups whole milk while whisking constantly to prevent lumps. Let the mixture simmer for 2-3 minutes until slightly thickened. Now add the 2 cups sharp cheddar cheese, 1 cup gruyère cheese, and 8 oz cream cheese, stirring until fully melted and smooth.
Combine Pasta and Cheese Sauce
Pour the cheese sauce over the cooked pasta in the mixing bowl. Add the 1.5 tsp salt and 0.5 tsp black pepper, then stir until every noodle is completely coated. The mixture should look thick and creamy—if it's too thin, let it sit for 2-3 minutes to thicken slightly. This is where the magic happens—the cheeses blend together to create that perfect, gooey texture we all love.
Taste the mixture and adjust seasoning if needed. I usually add a pinch more salt at this stage because the cheeses can vary in saltiness. The sauce should be rich but not overly salty—balance is key. Once seasoned perfectly, transfer the entire mixture to your greased 8x8-inch baking dish.
Prepare the Crispy Topping
In a small bowl, mix together the 0.5 cup panko breadcrumbs and 0.25 cup freshly grated parmesan cheese. This combination gives you both texture and flavor. Sprinkle the breadcrumb mixture evenly over the top of the macaroni and cheese, pressing down gently with the back of a spoon to help it adhere.
Bake to Golden Perfection
Preheat your oven to 375°F. Bake the macaroni and cheese for 20-25 minutes until the top is deep golden brown and bubbly. The edges should be crispy while the center remains creamy—this is where patience pays off. If the top browns too quickly, tent it loosely with aluminum foil for the last 5 minutes of baking.
Let the macaroni and cheese rest for 10 minutes before serving. This resting time allows the layers to set slightly, making it easier to slice and preventing a runny mess. The result should be a perfectly baked casserole with crispy edges, golden bubbles on top, and creamy, cheesy goodness throughout. Serve immediately with a side of steamed vegetables or a simple green salad.
Pro Tips For Making 8x8 Macaroni And Cheese
- MELT THE CHEESE LOW: I learned this the hard way—simmer the milk and cheese sauce on medium-low heat. Too high, and you’ll end up with grainy, half-melted chunks of Gruyère and sharp cheddar. The cream cheese will clump like glue if you rush it, and nobody wants that. Keep it steady, like a slow dance.
- GRATE, DON’T CHOP: Skip the knife for the cheddar and Gruyère—grate them fresh using the large holes of a box grater. Pre-shredded cheese has anti-caking agents that turn your sauce into a dry, crumbly mess. If you’re in a pinch, pulse the block cheese in a food processor, but don’t overdo it or you’ll end up with cheese dust.
- SALTY WATER, SALTY SAUCE: Salt the pasta water hard—like you’re seasoning a briny sea. The macaroni will absorb the flavor, and when you mix it with the cheese sauce, it’ll taste richer. I used to skimp, and the dish always felt flat. Trust me, the first bite will tell you why this matters.
- REST BEFORE BAKE: After mixing the pasta and sauce, let the whole thing sit—covered—at room temp for 10 minutes. This lets the cheese fully meld and the starches thicken. I was skeptical until I tried it: no more soupy, runny casserole when it comes out of the oven. Your future self will thank you.
Pro cooking tips for this dish
Cheese Sauce Secrets
For the creamiest sauce, melt the cheeses low and slow—never rush it. I start with the sharp cheddar and Gruyère because they melt faster than cream cheese. Once those are fully melted, add the cream cheese in small chunks while stirring.
This prevents lumps and ensures a silky texture. If your sauce looks too thin, let it sit for 2-3 minutes before baking—it’ll thicken as it cools. 🧀
Pasta Timing Trick
Cook the pasta 1 minute less than package instructions—it’ll finish in the oven. Overcooked pasta turns mushy, but slightly undercooked noodles absorb the cheese sauce perfectly while baking.
Always shake the colander vigorously after draining to remove excess water, but never rinse—that starch is what makes the sauce cling to every noodle. 🍝
Baking Dish Prep
Grease your 8x8-inch baking dish with 1 tbsp olive oil and spread it evenly with a paper towel. This prevents sticking and ensures easy serving. I like to use glass or ceramic dishes because they distribute heat evenly.
For extra insurance, I sprinkle a pinch of flour in the dish before adding the mac and cheese—it creates a non-stick barrier. ⏰
Topping Techniques
The breadcrumb topping is all about texture contrast. Mix your Panko with 1 tbsp melted butter and 1 tbsp Parmesan before sprinkling—this adds flavor and helps it brown beautifully. For extra crunch, toast the breadcrumbs in the oven at 375°F for 3 minutes before adding them to the casserole.
Press them down gently so they stick and don’t slide off during baking. 🍞
Baking Like a Pro
Bake at 375°F until the edges are golden and the top has bubbles—this usually takes 20-25 minutes. If the top browns too fast, tent it with foil for the last 5 minutes to prevent burning while keeping the center creamy.
The internal temperature should reach 165°F for food safety. Always let it rest 10 minutes before serving—this helps it set and makes slicing easier. 🔥
Seasoning Adjustments
Taste the sauce before baking—this is your last chance to adjust seasoning. I usually add a pinch more salt and a crack of black pepper at this stage. For extra depth, a splash of lemon juice (1 tsp) brightens the flavors, while a dash of smoked paprika adds warmth.
If you love it spicy, stir in ½ tsp cayenne pepper—it’ll mellow out during baking but still pack a punch. 🌶️
Nutrition facts
Frequently asked questions
Can I use a different type of macaroni?
Elbow macaroni is ideal for this recipe because its shape holds the cheese sauce beautifully, but you can substitute penne or cavatappi if needed. Avoid long pasta like spaghetti—it won't bake as evenly. Just cook it 1 minute less than package instructions to finish in the oven.
How do I make it extra creamy?
For a velvety texture, whisk in 2 tbsp sour cream or 1 oz cream cheese with the sauce, or replace ½ cup milk with heavy cream. The key is melting cheeses low and slow—never boil the sauce, or it'll separate. Also, make sure your pasta isn't overcooked before baking.
What if my mac and cheese gets too runny?
If the sauce separates or looks too thin, sprinkle 1 tbsp cornstarch mixed with 1 tbsp cold water> over the top and stir gently. Bake an extra 5-10 minutes uncovered to thicken. For prevention, always cook pasta 1 minute less than package instructions and let the sauce sit 2-3 minutes before baking.
Can I make this ahead of time?
Yes! Assemble the dish up to 24 hours ahead—cover tightly and refrigerate. Bake straight from the fridge, adding 5-10 extra minutes at 375°F. For freezing, bake fully, cool completely, then wrap tightly in foil and plastic. Reheat at 350°F for 20 minutes—it may need a quick broil to restore the crispy top.
What are some great toppings besides breadcrumbs?
Try these flavor boosters: crispy fried onions for sweetness, crumbled bacon for smokiness, or crushed potato chips for extra crunch. For veggie lovers, sprinkle baked broccoli florets on top before baking. Mix-ins like cooked ham or jalapeños also work well in the sauce before baking.
