Homemade Macaroni and Cheese Recipe

If you’re craving that ultimate comfort food, I’ve got the perfect solution for you—my Homemade Macaroni and Cheese Recipe. This recipe isn’t just any macaroni and cheese; it’s creamy, cheesy, and has just the right kick of flavor that keeps everyone coming back for seconds. Whether you’re making it for a cozy weeknight dinner or a casual get-together, I promise you’ll love how it turns out. Stick around, and I’ll walk you through every little trick that makes this macaroni and cheese absolutely fan-freaking-tastic.

❤️

Why You’ll Love This Recipe

  • Creamy yet perfectly firm: I like to cook the macaroni so it’s super al dente, which gives a great bite once baked in the cheesy sauce.
  • Balanced cheesy flavor: Using a mix of cheddar, jack, and fontina cheeses gives that rich, melty texture with some depth you won’t get from just one cheese.
  • A subtle mustard kick: Dry mustard truly elevates this dish by adding a little tang and spice without overpowering the cheese.
  • Family favorite: My kids (and frankly, everyone I make this for) always ask for seconds—and that’s saying a lot!

Ingredients You’ll Need

Every ingredient plays a starring role here. From the rich butter and flour that build the silky sauce, to the trio of cheeses that offers a melty, gooey finish, each component works together to create magic. Plus, a pinch of dry mustard adds a secret pop of flavor you might not expect but will adore.

  • Dried macaroni: Try elbow macaroni for that classic shape, and remember to cook it very firm for the best texture after baking.
  • Egg: Adds creaminess and helps thicken the sauce beautifully without scrambling—just temper it in carefully.
  • Salted butter: Butter makes the sauce luscious and rich; salted works fine since we adjust seasoning later.
  • All-purpose flour: This is what thickens your roux, giving that creamy cheese sauce the perfect body.
  • Whole milk: The base of the sauce, whole milk offers the best flavor and creaminess, but feel free to experiment with half-and-half for an even richer texture.
  • Dry mustard: This little ingredient might be new to you, but trust me, it enhances the cheese flavor and adds subtle zing.
  • Cheese (cheddar, jack, fontina): Use freshly grated cheeses for a smoother melt—pre-shredded often has additives that stop it from melting properly.
  • Kosher salt & seasoned salt: Don’t hold back here—you need enough salt to bring out all the flavors fully.
  • Ground black pepper: To taste, it adds just enough spice to balance the richness.
  • Optional spices (cayenne, paprika, thyme): These add your own personal flair—cayenne brings warmth, paprika adds smokiness, and thyme offers herbal depth.
Note: You’ll find the complete list of ingredients, along with their exact measurements, in the printable recipe card at the bottom of this post.

Variations

I love tweaking this recipe now and then, depending on who I’m cooking for. Adding or swapping ingredients is easier than you think and can make this Homemade Macaroni and Cheese Recipe your very own.

  • Spicy Kick: I’ve added a dash of hot sauce or extra cayenne to give it some heat, and my family absolutely loves the little fiery twist.
  • Vegetarian Boost: Toss in steamed broccoli or roasted cauliflower right before baking for a veggie-loaded spin that sneaks in some nutrition.
  • Breadcrumb Topping: For that crispy golden crust, sprinkle panko mixed with melted butter on top before baking—it’s a game changer!
  • Gluten-Free: Swap the all-purpose flour with a gluten-free blend and use gluten-free pasta; just be mindful your sauce may be a touch thinner.
  • Cheese Swap: Don’t have fontina? Gruyère or mozzarella work beautifully and bring their own special flavor notes.

How to Make Homemade Macaroni and Cheese Recipe

Step 1: Perfectly Cook the Macaroni

Start by boiling the macaroni until it’s very firm—almost too firm to eat right from the pot. This might seem odd, but I learned this trick after struggling with mushy noodles in my first go. When you bake it later in the sauce, the pasta continues to soften and absorb flavors without turning into mushy glue. Drain well and set aside.

Step 2: Make the Roux and Cheese Sauce

Melt butter in a large pot over medium-low heat, then sprinkle in the flour. Whisk constantly—don’t walk away!—for about 5 minutes, until it forms a rich, golden paste without browning or burning. This slow cooking is key for a no-floury taste.

Next, pour in the milk and add the dry mustard. Keep whisking until the sauce thickens nicely, which usually takes about 5 minutes. Lower the heat to avoid scorching.

Step 3: Temper the Egg

Beat the egg in a small bowl. Then, very slowly, add about a quarter cup of the hot cheese sauce into the egg while whisking constantly—this is tempering, and it prevents the egg from scrambling when added back to the pot.

Once combined, pour the egg mix back into the cheese sauce, whisking all the while for a silky smooth texture.

Step 4: Finish the Sauce and Bake

Fold in your grated cheese and stir until melted completely. Season with kosher salt, seasoned salt, black pepper, and any optional spices you love. Taste often here—don’t be shy with the salt! Then stir in your drained macaroni until it’s fully coated.

Pour everything into a buttered baking dish, top with extra cheese if you like, and bake at 350°F for 20 to 25 minutes. That baking step gives a lovely golden top and melds all the flavors together—it’s worth the wait.

👨‍🍳

Pro Tips for Making Homemade Macaroni and Cheese Recipe

  • Don’t overcook the pasta: Cooking the elbows very firm prevents soggy mac and cheese after baking—a trick I swear by.
  • Use freshly grated cheese: Pre-shredded often has anti-caking agents that stop it from melting properly—fresh really is best.
  • Tempering the egg carefully: Slowly mixing hot sauce into beaten egg prevents scrambling and creates a luscious texture.
  • Season boldly: It’s a common mistake to under-salt cheese sauces. Taste as you go and trust your palate—it brings the dish alive.

How to Serve Homemade Macaroni and Cheese Recipe

A white oval dish is filled with creamy macaroni and cheese, showing at least two layers: the base layer is tender elbow pasta covered in a smooth, pale yellow cheese sauce, and the top layer is a golden-brown melted cheese crust that looks slightly crispy. A fork held by a woman's hand is scooping a portion from the dish, pulling some of the cheesy pasta upwards. The dish is placed on a white marbled surface and the image focuses closely on the dish, highlighting the rich texture of the melted cheese and pasta. photo taken with an iphone --ar 4:5 --v 7

Garnishes

I’m a fan of simple garnishes that add color and texture—like freshly chopped parsley for brightness or a sprinkle of smoked paprika for a pop of smoky color. Sometimes, I add crispy fried onions on top for crunch, which my kids adore.

Side Dishes

This homemade macaroni and cheese recipe pairs beautifully with crisp green salads, roasted vegetables, or even something meaty like baked chicken thighs or BBQ ribs. The rich macaroni balances fresh or spicy sides perfectly.

Creative Ways to Present

For special occasions, I like to serve this recipe in individual ramekins topped with a cheddar and panko crust, giving each person a personal golden pot of cheesy goodness. Another fun way? Bake it in a cast-iron skillet for that rustic, crowd-pleasing look.

Make Ahead and Storage

Storing Leftovers

Once cooled to room temperature, I transfer leftover macaroni and cheese into airtight containers and store them in the fridge. My family usually enjoys the leftovers within 2-3 days—it reheats wonderfully without losing its creamy texture.

Freezing

I’ve frozen this dish a few times with great success. Be sure to let it cool completely and place it in a freezer-safe container. When ready to eat, thaw overnight in the fridge and reheat gently to avoid drying out the sauce.

Reheating

To reheat, I cover the macaroni and cheese with foil to prevent the top from burning and warm it up in the oven at 350°F until heated through, about 15-20 minutes. If it needs a little extra moisture, a splash of milk stirred in before reheating does the trick.

FAQs

  1. Can I use other types of pasta for this Homemade Macaroni and Cheese Recipe?

    Absolutely! While elbow macaroni is traditional, you can use shells, cavatappi, or even penne. Just make sure to cook the pasta very firm since it will cook more in the oven. Avoid overcooking to prevent mushiness.

  2. Why do you add an egg to the cheese sauce?

    The egg adds richness and helps thicken the sauce, giving it that velvety texture without making it overly heavy. Tempering the egg properly prevents scrambling, ensuring a smooth and creamy sauce.

  3. Can I make this recipe ahead of time?

    Yes! You can prepare the cheese sauce and cook the pasta in advance, then combine and bake just before serving. The baked macaroni and cheese also reheats well for leftovers or next-day meals.

  4. What if I don’t have dry mustard?

    Dry mustard adds a subtle tang and depth, but if you don’t have it, you can leave it out or add a small squeeze of prepared mustard or a pinch of turmeric for color. The dish will still be delicious!

  5. How do I avoid a grainy sauce?

    To avoid graininess, use good-quality cheese that’s shredded fresh and melt it slowly over low heat, stirring often. Also, temper the egg carefully and avoid high heat which can cause the sauce to break or curdle.

Final Thoughts

I can’t tell you how many times I’ve made this homemade macaroni and cheese recipe for friends, family, and just for a quiet night in. It’s the kind of dish that feels like a warm hug—simple but incredibly satisfying. If you’re someone who’s struggled to get that perfect creamy yet cheesy texture, trust me, this method works. I hope you give it a try and find it as comforting and delicious as my family does. Grab your cheese grater, butter that baking dish, and let’s make some magic in the kitchen together!

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Homemade Macaroni and Cheese Recipe

Homemade Macaroni and Cheese Recipe

4.9 from 90 reviews
  • Author: Hannah
  • Prep Time: 15 mins
  • Cook Time: 40 mins
  • Total Time: 55 mins
  • Yield: 6 servings 1x
  • Category: Main Dish
  • Method: Baking
  • Cuisine: American

Description

Classic homemade macaroni and cheese featuring a creamy cheese sauce made with a blend of cheddar, jack, and fontina cheeses, enriched with a touch of dry mustard and baked to perfection with a golden cheesy topping. This comforting dish yields 6 hearty servings and combines stovetop preparation with a finishing bake for ultimate creaminess and flavor.


Ingredients

Scale

Pasta

  • 4 cups dried macaroni

Sauce

  • 1 egg
  • 1/4 cup salted butter
  • 1/4 cup all-purpose flour
  • 2 1/2 cups whole milk
  • 2 heaping tsp. dry mustard, plus more to taste
  • 1 lb. cheese (such as cheddar, jack, and/or fontina), grated
  • 1/2 tsp. kosher salt, more to taste
  • 1/2 tsp. seasoned salt, plus more to taste
  • 1/2 tsp. ground black pepper
  • Cayenne pepper, paprika, and/or thyme (optional)

Instructions

  1. Cook Macaroni: Cook the macaroni until very firm, making sure it is too firm to eat right out of the pot. Drain the macaroni and set aside.
  2. Prepare the Roux: Beat the egg in a small bowl. Melt the butter in a large pot and sprinkle in the flour. Whisk the mixture constantly over medium-low heat for 5 minutes, ensuring it doesn’t burn, to create a smooth roux.
  3. Make the Sauce: Slowly pour in the milk and add dry mustard to the roux, whisking until smooth. Cook the sauce for 5 minutes over medium heat until it thickens significantly, then reduce the heat to low.
  4. Temper the Egg: Take 1/4 cup of the hot sauce and slowly pour it into the beaten egg, whisking continuously to prevent the egg from scrambling. Combine until smooth.
  5. Combine Sauce and Egg: Pour the tempered egg mixture back into the sauce while whisking constantly. Stir until fully combined and smooth.
  6. Add Cheese and Seasonings: Stir in the grated cheese until melted and smooth. Add kosher salt, seasoned salt, black pepper, and any optional spices like cayenne, paprika, or thyme. Adjust seasoning to taste, ensuring the sauce is well-seasoned and flavorful.
  7. Mix Macaroni and Sauce: Add the drained macaroni to the cheese sauce and stir to fully coat the pasta.
  8. Bake: Pour the macaroni and cheese into a buttered baking dish. Top with extra cheese for a golden crust. Bake in a preheated oven at 350°F (175°C) for 20 to 25 minutes until bubbly and golden on top.
  9. Serve: Remove from the oven and let it cool slightly before serving to enjoy a creamy and comforting dish.

Notes

  • Cook macaroni until very firm, as it will continue cooking in the sauce and oven.
  • Whisk constantly when making the roux and sauce to prevent lumps and burning.
  • Tempering the egg is crucial to avoid curdling and to achieve a creamy sauce.
  • Do not under-salt; cheese sauces benefit from well-seasoned flavors.
  • Optional spices like cayenne, paprika, or thyme add depth but can be omitted.
  • Use a mix of cheeses for flavorful depth—cheddar for sharpness, fontina for creaminess, jack for mildness.
  • Baking the casserole helps meld flavors and creates a delicious cheesy crust.

Nutrition

  • Serving Size: 1 cup (approx.)
  • Calories: 450
  • Sugar: 6 g
  • Sodium: 480 mg
  • Fat: 22 g
  • Saturated Fat: 13 g
  • Unsaturated Fat: 7 g
  • Trans Fat: 0.5 g
  • Carbohydrates: 45 g
  • Fiber: 2 g
  • Protein: 18 g
  • Cholesterol: 90 mg