Mac and Cheese Recipe (Stovetop & Baked)

Step by StepJump to Recipe

Creamy, cheesy, and utterly delicious, this recipe for Mac and Cheese is the ultimate in comfort food. Made with a gooey, buttery homemade cheese sauce, this stovetop macaroni and cheese recipe is one of the best mac and cheese you will ever make. If you’re feeling ambitious, you can take things a step further by baking it into a delicious casserole with a crispy, crunchy breadcrumb topping. YUM!

mac and cheese in a deep white plate with fork on the right side.

About Macaroni and Cheese Recipe

Macaroni and cheese is known around the world as a classic, quick meal for kids. However, this is not the powdered cheese version you will find at the store.

Instead, this recipe is made entirely from scratch to produce the creamiest, cheesiest pasta around. The whole family is sure to love it!

Making homemade mac and cheese is actually quite easy once you know how to prepare the perfect cheese sauce.

It’s not difficult, but you do need to keep a few tips in mind to get a creamy, cheesy, and smooth sauce.

Now that we’ve discovered the secrets (which we’ll share below!), this macaroni and cheese meal ranks right up there with other popular American recipes.

Such as hash browns, Pancakes, Veggie Burgers, baked beans, Apple Pie, and Waffles. It’s no wonder that it is often served at holidays there!

Step-by-Step Guide

How to make Mac and Cheese

This easy recipe for macaroni and cheese from scratch can either be made solely on the stovetop, or it can be taken one step further and baked to crispy, melty perfection.

Either option is delightful, so do what you have the time and patience for.

Cook Macaroni Pasta

1. Measure out 1 cup macaroni (a.k.a. elbow pasta), (100 grams or 3.5 ounces).

dry elbow macaroni in a measuring cup.

2. Boil the pasta in salted water per package instructions. I used 4 cups water, plus ½ teaspoon salt.

pasta being boiled.

3. Cook the pasta until it is al dente, meaning just cooked with still a bit of a bite. You don’t want it to get too soft or mushy.

fork holding 2 pieces of cooked pasta.

4. Drain the pasta using a colander or strainer.

drained pasta for mac and cheese recipe.

Make Breadcrumb Topping (Optional, Use If Baking)

Making the breadcrumb topping is only necessary if you plan on baking the mac and cheese. Skip the following steps if you do not plan to bake the macaroni and cheese.

5. While the pasta is cooking, grease a baking pan with some softened butter.

butter in an enamel casserole dish.

6. Then in a microwave safe bowl, melt 1 teaspoon butter.

melted butter in a small bowl.

7. Now add ⅓ cup breadcrumbs to the melted butter.

Pro Tip: If you do not have store-bought breadcrumbs, you can easily make your own. Simply take 3 to 4 slices of bread that are 2 to 3 days old, tear them apart and grind them in a dry grinder or mixer.

breadcrumbs added to butter for topping the mac and cheese recipe.

8. With a spoon, mix the breadcrumbs with the melted butter very well. Set aside.

Preheat the oven to 390 degrees Fahrenheit (200 degrees Celsius). Feel free to add herbs or minced garlic here if you prefer.

breadcrumbs have the consistency of wet sand.

Make Cheese Sauce

9. Heat 3 tablespoons butter in a thick-bottomed saucepan over a low flame.

butter melting in a pan.

10. The butter should be well heated, with a frothy, bubbly surface.

butter is bubbling vigorously.

11. Then add 2 tablespoons of all-purpose flour.

flour added to the melted butter to make a roux.

12. Whisk the flour into the butter as soon as you add it. Act quickly here!

whisked flour and butter.

13. Keep on stirring so that lumps do not form.

continue whisking while cooking the roux.

14. The frequent stirring helps the flour to cook evenly.

roux is bubbling vigorously.

15. You will see the flour frothing and bubbling up while stirring.

the flour butter mixture should have a light golden sheen and smell like nuts.

16. Sauté the flour until you get a nice, nutty aroma from it and the mixture is a pale golden color. Don’t over-brown the roux here, or you’ll risk it tasting bitter.

continue stirring until flour is cooked to a pale golden color.

17. Keep the heat to the lowest setting. While continuously whisking, pour the milk in a gentle stream.

The milk has to be chilled/cold so that lumps do not form. If you use hot, warm, or room temperature milk, then lumps may form.

whisking in the milk for mac and cheese sauce.

18. Stir frequently while the milk warms and heats up.

whisking until smooth.

19. The sauce will begin to thicken, so continue to stir often.

whisking the cheese sauce for mac and cheese as it cooks and thickens.

20. When the sauce has thickened well, turn off the heat. A test is that the sauce should coat the back of a spoon.

Fun Fact: You just made béchamel, one of the French mother sauces! This can be eaten as is in other recipes (e.g. as a topping for crepes or a layer in lasagna), or you can add cheese to make a mornay for the mac and cheese!

spoonful of the completed bechamel (white sauce).

21. Remove the saucepan from the heat and wait for a minute. Then add 150 grams (5.3 ounces) of your favorite shredded cheese.

I used a mix of cheddar, gouda and mozzarella. You can also use your own favorite blend of melty cheeses.

Just note that the flavor and taste of the dish depends largely on the kind of cheese you use. Be sure to shred your own cheese and do not buy packaged shredded cheese.

cheese added to bechamel to make mac and cheese sauce.

22. Again mix and stir so that the cheese melts.

whisking in the cheese until it melts entirely with no clumps.

23. The cheese needs to melt well in the hot white sauce (bechamel sauce). This is what will turn your white sauce into a smooth, creamy cheese sauce known as mornay.

spoonful of creamy cheese sauce for mac and cheese recipe.

24. Add ⅛ to ¼ teaspoon crushed black pepper and a pinch or two of grated nutmeg or nutmeg powder.

adding seasoning to the mornay (cheese sauce).

25. Add salt to taste.

Remember: Cheese already has salt in it, so add accordingly. I recommend about 2 to 3 pinches or about ⅛ teaspoon. You can taste the sauce first, then season to your liking.

adding a pinch of salt.

26. Stir again.

whisking the sauce for mac and cheese.

Assembly Part I: Simply Mix

27. Now add the pasta to the cheese sauce.

cooked, drained elbow pasta added to the cheese sauce.

28. With a spoon, mix thoroughly. The sauce should coat all of the macaroni very well.

mixing the pasta until it is thoroughly coated in the mac and cheese sauce.

29. Feel free to stop here! The macaroni and cheese is done and ready to serve. However, if you’d like to bake it before serving, proceed to the next step.

At this stage, the macaroni and cheese is ready to eat. You can also keep going.

Assembly Part II: Bake Mac and Cheese

30. Pour the prepared mac and cheese into the greased pan.

adding macaroni and cheese to prepared casserole dish.

31. Top evenly with the breadcrumbs and melted butter mixture.

top evenly with breadcrumbs.

32. Now sprinkle 2 to 3 tablespoons of the remaining shredded cheese on top.

add an extra layer of shredded cheese.

33. Sprinkle some crushed black pepper on top of the cheese.

grinding on a layer of black pepper for macaroni and cheese recipe.

34. Bake in a preheated oven at 390 degrees Fahrenheit (200 degrees Celsius) for 15 to 20 minutes until the cheese melts and the mac and cheese is bubbly and hot. Be sure to check while baking as oven temperatures vary.

Pro Tip: If your topping is browning too quickly, use a piece of aluminum foil to tent over it. This will halt the browning process! Just be sure to leave it vented or the breadcrumbs will steam and become soggy.

baked mac and cheese is bubbly, golden, and inviting!

35. Remove from oven and let stand for 5 minutes. Then serve baked mac and cheese hot.

overhead hero shot of baked macaroni and cheese with breadcrumb topping on a wooden table.

Expert Tips

  • Cook the sauce on a low heat from start to finish. Béchamel has a tendency to scorch and burn, so acting gently is in your best interest.
  • Use a thick bottomed and heavy pan to help prevent scorching.
  • Using chilled or cold milk does not lead to the formation of lumps when you’re making the béchamel.
  • Be sure to stir the sauce frequently with a wired or balloon whisk.
  • If the sauce becomes too thick, add a drizzle of hot milk to thin it out before you add the cheese.
  • When adding shredded cheese, keep the pan on your workplace and not on the stove top or burner. Be sure to add a trivet or folded kitchen towel to protect your surfaces if necessary.
  • Shred your own cheese. Packaged shredded cheese is coated in anti-caking agents that prevents it from melting well.  If you’re in a rush, consider using your food processor and the grating attachment.
  • Feel free to eat the mac and cheese straight from the stovetop without baking. It will still be miles ahead of the boxed version in terms of flavor and consistency!

Optional Variations

  • Baked: Baking macaroni and cheese is optional, but the extra step is well worth the effort. Be sure to coat the top with a layer of herbed bread crumbs for the ultimate satisfying crunch.
  • Extra Seasonings: Feel free to add seasonings, herbs and spices of your choice. I keep it simple with crushed black pepper and a bit of ground nutmeg. A dash of mustard powder also perks up the flavor.
  • With Veggies: To add some fiber and extra nutrition to your creamy pasta dish, simply mix in some steamed veggies. Green peas, broccoli, cauliflower, or sautéed spinach are among my favorites.


What are the best cheeses for mac and cheese?

That’s all a matter of personal preference! I happen to love a mix of cheddar, gouda, and mozzarella.

However, there are a lot of options to choose from: pepper jack, monterey jack, colby, havarti, brie, parmesan, and even blue cheeses are all delightful in their own right. Any melty cheese will work! Mix and match to your heart’s content.

Can I make mac and cheese ahead of time?

Absolutely! You can always prepare it (and the breadcrumbs) up to the point of baking (if you so choose), keep in a sealed container/box and tuck it in the fridge for up to 3 days before baking. If you’re planning to bake it, keep the breadcrumbs wrapped separately.

To reheat, defrost, top with breadcrumbs (if baking) and either bake according to the recipe directions above, or use the stovetop or microwave to reheat it, adding a bit of milk as needed to loosen the sauce.

More Tasty Pasta Variants To Try!

Please be sure to rate the recipe in the recipe card or leave a comment below if you have made it. For more vegetarian inspirations, Sign Up for my emails or follow me on Instagram, Youtube, Facebook, Pinterest or Twitter.

close up shot of homemade mac and cheese in a deep white plate.

Mac and Cheese (Stovetop & Baked)

This homemade Mac and Cheese recipe is creamy and cheesy with a light crunchy topping of breadcrumbs and gooey melted cheese. The recipe includes both stovetop and baked versions.
4.92 from 35 votes
Prep Time 20 minutes
Cook Time 30 minutes
Total Time 50 minutes
Cuisine American, World
Course Main Course
Diet Vegetarian
Difficulty Level Moderate
Servings 3


For cooking macaroni

  • 1 cup elbow macaroni or shell pasta – 100 grams
  • 4 cups water or about 1 litre
  • ½ teaspoon salt

For cheese sauce

  • 3 tablespoons Butter – unsalted
  • 2 tablespoons all purpose flour
  • 2 cups milk – cold or chilled
  • ½ teaspoon crushed black pepper or as required
  • 1 to 2 pinch grated nutmeg or ground nutmeg powder
  • 1.25 cups cheese – shredded, mix of cheddar, mozzarella and gouda cheese or any cheese or 150 grams
  • teaspoon salt or as required

For breadcrumb mixture

  • 1 teaspoon Butter – melted, unsalted
  • cup breadcrumbs

For topping

  • ⅛ to ¼ teaspoon crushed black pepper or as required
  • 2 to 3 tablespoons cheese – shredded, mix of cheddar, mozzarella and gouda cheese


Cooking macaroni

  • Cook the elbow pasta as per the instructions on the package till they are al dente. I first heated the water and salt to a vigorous boil and then added the pasta.
  • Cook them till they are al dente or just cooked. They should not get too soft or mushy or break.
  • Drain them in a colander or strainer.
  • Now grease a baking pan with some softened butter. Skip this step if you do not plan to bake the mac n cheese.

Making breadcrumbs topping

  • In a microwave safe bowl, melt butter or you can melt the butter in a small pan. Then add the breadcrumbs.
  • With a spoon mix the breadrcumbs with the melted butter very well. Keep aside.

Making cheese sauce

  • Heat butter in a thick bottomed sauce pan on a low flame. Also preheat the oven to 200 degrees Celsius (390 degrees Fahrenheit).
  • The butter should heat up well. Then add the all purpose flour.
  • Using a wired whisk stir the flour quickly as soon as you add it.
  • Keep on stirring so that no lumps are formed.
  • The frequent stirring helps the flour to cook evenly.
  • You will see the flour frothing and bubbling up while stirring.
  • Saute the flour till you get a nice cooked aroma from the flour and a pale golden color. Don’t brown the flour.
  • Keep the flame to the lowest and then pour the milk in a gentle stream. Pour the milk with one hand and stir the sauce mixture with the other. The milk has to be chilled, so that lumps are not formed. If you use hot or warm milk or milk at room temperature, lumps can be formed.
  • Do stir frequently while the milk warms and heats up. The sauce would begin to thicken, so do stir often.
  • When the sauce has thickened well and coats the back of a spoon, switch off the flame.
  • Keep the saucepan down and wait for a minute. Then add the shredded cheese. I used an equal mix of cheddar, gouda and mozzarella cheese. You can also use just cheddar cheese or processed cheese or your favorite cheese.
  • Again mix and stir so that the cheese melts.
  • The cheese has to melt well in the hot bechamel sauce or white sauce. So now what you have is a cheese sauce.
  • Add the crushed black pepper and a pinch or two of grated nutmeg or nutmeg powder. You can also add a bit of mustard powder.
  • Add very little salt. About 2 to 3 pinches. Stir again.


  • Now add the pasta in the cheese sauce.
  • With a spoon stir and mix very well.
  • The mac and cheese is done. If you want you can serve it at this step or proceed further to bake it.


  • Pour the macaroni and cheese in the prepared baking pan.
  • Top evenly with the breadcrumb and the melted butter mixture.
  • Now sprinkle the shredded cheese on top.
  • Sprinkle some crushed black pepper.
  • Bake in a preheated oven at 200 degrees Celsius (390 degrees Fahrenheit) for 15 to 20 or till cheese melts. Do keep a check while baking as oven temperatures vary.
  • Wait for 5 minutes and then serve baked mac and cheese hot.



For the perfect cheese sauce:
  1. Firstly cook the entire sauce right from the beginning on a low flame.
  2. Make the cheese sauce in a thick bottomed pan, so that the flour or milk does not scorch or burn.
  3. Use chilled milk or cold milk for making the sauce so that lumps are not formed.
  4. Be sure to stir the sauce mixture often with a wired whisk or balloon whisk.
  5. If the sauce becomes too thick, then drizzle some hot milk into it to thin it down.
  6. When adding shredded cheese, keep the pan on your workplace and not on the stove top or burner.
  7. Shred your cheese and do not use packaged shredded cheese as they have additional starch on them which can make the sauce gluey or clumpy.
Type of Pasta: 
You could use pasta types like shell pasta, farfalle, rotini and even penne in the dish. 
Type of Cheese:
The cheese that can be added are cheddar (sharp or white), Monterey jack, gruyere, parmesan, gouda and mozzarella. You can even choose your favorite mix from the above listed cheese. 

Nutrition Info (Approximate Values)

Nutrition Facts
Mac and Cheese (Stovetop & Baked)
Amount Per Serving
Calories 621 Calories from Fat 288
% Daily Value*
Fat 32g49%
Saturated Fat 19g119%
Trans Fat 1g
Polyunsaturated Fat 2g
Monounsaturated Fat 8g
Cholesterol 98mg33%
Sodium 1009mg44%
Potassium 430mg12%
Carbohydrates 57g19%
Fiber 2g8%
Sugar 11g12%
Protein 26g52%
Vitamin A 1040IU21%
Vitamin B1 (Thiamine) 0.3mg20%
Vitamin B2 (Riboflavin) 0.5mg29%
Vitamin B3 (Niacin) 2mg10%
Vitamin B6 0.2mg10%
Vitamin B12 2µg33%
Vitamin C 0.01mg0%
Vitamin D 2µg13%
Vitamin E 1mg7%
Vitamin K 4µg4%
Calcium 534mg53%
Vitamin B9 (Folate) 35µg9%
Iron 2mg11%
Magnesium 67mg17%
Phosphorus 483mg48%
Zinc 3mg20%
* Percent Daily Values are based on a 2000 calorie diet.

This Mac and Cheese recipe from the archives first published in April 2015 has been republished and updated on May 2023.

Share This Recipe:


Meet Dassana

Welcome to Dassana's Veg Recipes. I share vegetarian recipes from India & around the World. Having been cooking for decades and with a professional background in cooking & baking, I help you to make your cooking journey easier with my tried and tested recipes showcased with step by step photos & plenty of tips & suggestions.

Get My Secrets to Great Indian Food
Sign up for my FREE Beginners Guide to Delicious Indian Cooking

More Vegetarian Recipes You'll Love

Comments are closed.


  1. This recipe is fantastic and came out very well in the first time itself. Absolutely great we all enjoyed it. Can I replace all-purpose flour with wheat?

    In fact I have tried all your North Indian dishes and all have come out very well.

    I am a hardened fan of your blog.5 stars

    1. Thanks a lot and so glad to read your comment. Yes, you can use whole wheat flour in place of all-purpose flour. It will work well. But if in case the sauce looks thick, add a splash of milk to slightly thin it a bit.

  2. Hi, thanks for this beautiful recipe. Could you please tell me if there are any alternative to breadcrumbs? As I plan to do it today and there are no bread at home.


    1. Thanks. You can skip breadcrumbs. They add some crispiness to the mac and cheese but can be skipped easily.

  3. Hi thank you so much for the recipe
    When I added shredded mozzarella cheese the milk curdled 🙁
    Can you please tell me what the mistake could have been ?
    I waited for one minute before adding
    The cheese was around 20 days old but after using it a little i had kept it in the freezer I defreezed it for sometime then grated it and added.5 stars

    1. welcome. if the cheese has gone rancid, then the milk can curdle. otherwise, with fresh cheese, milk does not curdle. i have made bechamel sauce many times with both cheddar cheese and mozzarella cheese and a mix of both. but never has the milk curdled. defrosting cheese is fine and it was added when the milk sauce temperature had reduced after a minute. so i think, it is the quality and rancidity of cheese that has caused this curdling issue. hope this helps.