Dinners

How to Bake Macaroni Salad (Hot or Cold)

Updated · By Stir & Share

Total timeprep + cook
45 min
Prep
15 min
hands-on
Cook
30 min
oven or stovetop
Serves
6
as written

Jump to recipe Save

Baking macaroni salad turns the classic cold side into a warm, comforting casserole with a golden, crispy top. It takes about 45 minutes from start to finish and needs just a few pantry staples. This version is creamy, tangy, and perfect for a weeknight dinner or a potluck when you want something a little different.

Why Does Macaroni Salad Usually Come Out Dry or Bland?

The usual way fails because the pasta soaks up the dressing as it sits, leaving the salad dry and the flavor flat. Baking makes this worse if you don’t adjust the sauce. The fix is to add extra moisture and seasoning before baking, and to cover the dish for most of the cooking time so the pasta stays tender.

Before You Start: What You Need

  • 8 oz (225 g) elbow macaroni (about 2 cups dry)
  • 1 cup (240 ml) mayonnaise (full-fat works best)
  • 1/2 cup (120 ml) sour cream or plain Greek yogurt
  • 1/4 cup (60 ml) milk, plus 2 tbsp (30 ml) more if needed
  • 2 tbsp (30 ml) apple cider vinegar or white vinegar
  • 1 tbsp (15 g) Dijon mustard
  • 1/2 tsp salt, plus more for the pasta water
  • 1/4 tsp black pepper
  • 1/4 tsp paprika (optional, for color)
  • 1/2 cup (75 g) diced celery (about 2 stalks)
  • 1/4 cup (40 g) diced red onion
  • 1/2 cup (75 g) frozen peas (do not thaw)
  • 1/2 cup (60 g) shredded sharp cheddar cheese (optional)
  • 1/2 cup (50 g) panko breadcrumbs (for topping)
  • 1 tbsp (15 g) butter, melted

How Long Do You Bake Macaroni Salad?

Bake at 375°F (190°C) for 25–30 minutes, until the edges are bubbly and the top is golden. If you want a softer, more casserole-like texture, cover with foil for the first 20 minutes, then uncover for the last 10. If you prefer a crispier top, skip the foil and bake uncovered for the full time, but check at 25 minutes to prevent drying.

Step-by-Step: How to Bake Macaroni Salad

  1. Preheat the oven to 375°F (190°C). Grease a 2-quart (2 L) baking dish (about 8×8 inches or 20×20 cm).
  2. Bring a large pot of salted water to a boil. Cook the macaroni according to package directions until al dente, usually 7–8 minutes. Drain and rinse briefly with cool water to stop cooking; set aside.
  3. In a large bowl, whisk together the mayonnaise, sour cream, milk, vinegar, mustard, salt, pepper, and paprika until smooth. The mixture should be slightly thinner than regular mayonnaise; if it looks too thick, add the extra 2 tbsp (30 ml) milk.
  4. Add the cooked macaroni, celery, red onion, peas, and cheddar (if using) to the dressing. Stir gently until everything is coated. The dressing will seem generous—that’s correct, as the pasta will absorb some during baking.
  5. Transfer the mixture to the prepared baking dish and spread it evenly.
  6. In a small bowl, mix the panko with the melted butter until crumbly. Sprinkle over the top.
  7. Bake uncovered for 25–30 minutes, until the top is golden and the edges are bubbly. If the top browns too quickly, cover loosely with foil for the last 10 minutes.
  8. Let rest for 5 minutes before serving. The salad will thicken as it cools.

Can You Eat It Cold After Baking?

Yes, you can serve it cold, but the texture will be softer than traditional cold macaroni salad. If you prefer a cold version, bake it as directed, then refrigerate for at least 2 hours before serving. The flavors meld and the top softens. For a firmer cold salad, reduce the milk to 2 tbsp (30 ml) and skip the breadcrumb topping.

What Goes Wrong and How to Fix It

Symptom Cause Fix
Dry, crumbly after baking Not enough dressing or overcooked Add 2–3 tbsp (30–45 ml) milk before baking; check at 25 minutes
Too watery Frozen peas released too much liquid Thaw and pat dry peas before adding, or reduce milk by 1 tbsp (15 ml)
Bland flavor Not enough salt or acid Add 1/2 tsp more salt and 1 tbsp (15 ml) more vinegar before baking
Top burns before inside is hot Oven too hot or dish too shallow Cover with foil for first 20 minutes; use a deeper dish

How Long Does Baked Macaroni Salad Keep?

Refrigerate leftovers within 2 hours of baking. They will keep for 3–4 days in an airtight container. To reheat, microwave individual portions for 1–2 minutes, or warm in a 350°F (175°C) oven for 10–15 minutes, until heated through to 165°F (74°C). You can also freeze it for up to 2 months, but the texture will soften. Thaw overnight in the fridge before reheating.

Can You Make It Ahead of Time?

Yes, assemble the dish (without the breadcrumb topping) up to 24 hours ahead. Cover and refrigerate. When ready to bake, add the topping and bake as directed, adding 5–10 minutes to the time because the dish starts cold. If baking from frozen, thaw overnight in the fridge first—baking from frozen will make the edges dry before the center heats.

What Can You Add or Swap?

Use whole wheat or gluten-free pasta—adjust cooking time per package. Swap sour cream for plain Greek yogurt for a tangier flavor. Add 1/2 cup (75 g) diced bell pepper or 1/4 cup (25 g) grated carrot for extra crunch. For a smoky flavor, add 1/2 tsp smoked paprika. If you skip the cheese, add 2 tbsp (30 g) grated Parmesan to the topping for extra savoriness.

Ingredients

  • 8 oz (225 g) elbow macaroni
  • 1 cup (240 ml) mayonnaise
  • 1/2 cup (120 ml) sour cream or plain Greek yogurt
  • 1/4 cup (60 ml) milk, plus 2 tbsp (30 ml) if needed
  • 2 tbsp (30 ml) apple cider vinegar or white vinegar
  • 1 tbsp (15 g) Dijon mustard
  • 1/2 tsp salt, plus more for water
  • 1/4 tsp black pepper
  • 1/4 tsp paprika (optional)
  • 1/2 cup (75 g) diced celery
  • 1/4 cup (40 g) diced red onion
  • 1/2 cup (75 g) frozen peas
  • 1/2 cup (60 g) shredded sharp cheddar cheese (optional)
  • 1/2 cup (50 g) panko breadcrumbs
  • 1 tbsp (15 g) butter, melted

Instructions

  1. Preheat oven to 375°F (190°C). Grease a 2-quart (2 L) baking dish.
  2. Cook macaroni in salted water until al dente (7–8 minutes). Drain and set aside.
  3. Whisk mayonnaise, sour cream, milk, vinegar, mustard, salt, pepper, and paprika in a large bowl.
  4. Stir in macaroni, celery, onion, peas, and cheddar (if using).
  5. Transfer to dish and spread evenly.
  6. Mix panko with melted butter; sprinkle over top.
  7. Bake 25–30 minutes, until golden and bubbly.
  8. Rest 5 minutes before serving.

Can I Use a Different Pasta Shape?

Yes, any short pasta works—shells, rotini, or penne. Cook to al dente and use the same amount. The baking time stays the same.

Do I Need to Add Eggs?

No, eggs are not required. If you add chopped hard-boiled eggs, fold them in just before baking. The eggs must reach 160°F (71°C) as part of the casserole; check with a thermometer. Refrigerate leftovers promptly.

Is It Safe to Leave Out at a Potluck?

No. Perishable dishes with mayonnaise, dairy, or eggs should not sit out for more than 2 hours (1 hour if the room is above 90°F/32°C). Keep the dish on ice or reheat to 165°F (74°C) before serving again.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).