
This baked crab mac and cheese is comfort food with a bit of extra flair. Tender pasta shells go into a creamy white cheese sauce with sweet shredded crab, golden corn and fresh green onions. Then the whole dish gets a thick blanket of mozzarella and Parmesan and bakes until the top is bubbly and freckled with brown spots.
The first scoop gives you long strings of melted cheese. Underneath, the shells hold little pockets of sauce, and you get sweet bits of crab and pops of juicy corn in each bite. The green onions add a mild, fresh bite that keeps the dish from feeling too heavy. While it bakes, your kitchen smells of toasted cheese and butter.
It’s also very friendly to home cooks. You make the sauce in the same pot as the pasta, stir everything else together right in the baking dish, and let the oven handle the rest. You don’t need special skills or fancy seafood. Imitation crab is affordable, easy to find and already cooked.
It feeds a crowd, so it works well for potlucks, holiday buffets and Sunday dinners. It also makes good leftovers for weekday lunches. If you want to get ahead, you can put the whole casserole together the night before.
Why This Recipe Works
The pasta gets two layers of creaminess. First, a simple butter-and-flour sauce coats the shells in the pot, so every piece is seasoned and well dressed before it goes into the dish. Second, cubes of cream cheese and a splash of heavy cream are stirred in with the crab. They melt in the oven, so the inside stays saucy and doesn’t dry out. Pasta keeps absorbing liquid as it bakes, and this extra cream makes up for it.
Cooking the shells 2 minutes short of the package time also makes a big difference. They finish cooking in the oven and come out tender instead of mushy. Shells are a good shape here because their cups trap sauce, corn and small shreds of crab.
The topping uses two cheeses for two jobs. Mozzarella melts smoothly and gives you that stretchy pull. Finely grated Parmesan browns and crisps into golden, nutty spots. Together they give you a top that’s both gooey and toasted.
Tips for Success
- Undercook the pasta. Shells that are fully cooked before baking will turn soft and bloated in the oven.
- Warm the milk. Microwaving it for 1 minute helps it blend into the butter and flour without lumps.
- Soften the cream cheese. Leaving it out for 20 minutes helps it melt evenly into the pasta.
- Taste before baking. Imitation crab and cheese vary in saltiness, so taste the mix before topping it and add up to ¼ tsp more salt if needed.
- Make it ahead. Assemble through step 5, cover and refrigerate for up to 24 hours. Add 10–15 minutes to the bake time.
- Use a light-colored dish. Dark metal pans can burn the bottom. If that’s all you have, lower the oven to 350°F (175°C).
- Look for bubbling edges. Bubbles at the sides of the dish tell you the center is hot all the way through.
Variations
Real crab: Use 12 oz (340 g) lump crab meat instead of imitation crab. Fold it in very gently at the end so the lumps stay whole and tender.
Shrimp and crab: Swap half the crab for 6 oz (170 g) chopped cooked shrimp. The shrimp adds a firmer bite and a sweeter flavor.
Crunchy topping: Toss ½ cup (30 g) panko with 1 tbsp melted butter and sprinkle it over the cheese before baking for a crisp, golden crust.
Spicy kick: Add ½ tsp smoked paprika or a pinch (about ⅛ tsp) of cayenne to the sauce. A little heat cuts through the richness.
FAQ
Can I use real crab instead of imitation?
Yes. Lump or claw crab meat both work well. Use the same 12 oz (340 g) and fold it in gently so the pieces stay intact. Pick through it for bits of shell before adding it.
Why did my mac and cheese turn out dry?
Usually the pasta was overcooked, or the sauce was too thick before baking. The pasta keeps absorbing liquid in the oven. Keep the mixture loose and saucy when it goes in, and don’t skip the heavy cream.
Can I use frozen corn without thawing it?
It’s better to thaw it first. Frozen kernels cool down the mix, which slows the baking. They also release water that thins the sauce. Rinse them under warm water and pat them dry.
Can I halve this recipe?
Yes. Use half of every ingredient and bake it in an 8×8-inch dish for about 20–25 minutes. Look for the same golden top and bubbling edges.
What cheese works besides mozzarella?
White cheddar, Monterey Jack or Gruyère all melt well. They give a sharper or nuttier flavor than mozzarella, but you’ll get slightly less of the stretchy pull.
Storage and Reheating
Let the leftovers cool for no more than 2 hours. Then move them to an airtight container, or cover the baking dish tightly. They’ll keep in the fridge for up to 3 days. Seafood leftovers don’t keep well beyond that.
To reheat, add a splash of milk (about 1 tablespoon per serving) to bring back the creaminess. Microwave covered for 1½–2 minutes, stirring halfway through. You can also reheat it in a 350°F (175°C) oven, covered with foil, for 20 minutes.
You can freeze it, though the sauce gets a bit grainier after thawing. Freeze portions in airtight containers for up to 2 months. Thaw them in the fridge overnight, then reheat with extra milk.
Serving Suggestions
A crisp green salad with lemon vinaigrette is a great match because the bright, sharp dressing balances the rich cheese. Roasted broccoli or green beans add color and a little char.
Garlic bread is good for wiping up extra sauce. For a holiday spread, serve it with sliced tomatoes in a light vinaigrette for freshness and a little acidity.

Final Notes
This baked crab mac and cheese makes an easy dinner feel special. You get creamy shells, sweet crab, juicy corn and a golden, stretchy cheese top, all from one pot and one baking dish. Make it once as written, then try the variations: real crab, a crunchy panko topping or a little heat. Whatever version you make, wait for those bubbling edges and the browned top, and let it rest for 5 minutes before you dig in.
Print
Baked Crab Mac and Cheese Recipe
- Total Time: 1 hour (including 5 minutes of resting)
- Yield: 8 1x
Description
Creamy pasta shells, sweet crab and corn baked under a bubbly mozzarella and Parmesan crust. This cheesy casserole is easy to make and great for feeding a crowd.
Ingredients
- 1 lb (454 g) medium pasta shells
- 1 tbsp (18 g) kosher salt, for the pasta water
- 3 tbsp (42 g) unsalted butter
- 3 tbsp (24 g) all-purpose flour
- 2½ cups (600 ml) whole milk
- 1 cup (100 g) shredded mozzarella
- ½ cup (45 g) finely grated Parmesan
- 1 tsp (6 g) fine salt
- ¾ tsp (2 g) freshly ground black pepper
- 12 oz (340 g) imitation crab, shredded by hand
- 1½ cups (225 g) corn kernels, frozen and thawed or canned and drained
- 4 oz (113 g) cream cheese, cut into 1-inch cubes
- ½ cup (30 g) sliced green onions
- ½ cup (120 ml) heavy cream
- 2 cups (200 g) shredded mozzarella
- ½ cup (45 g) finely grated Parmesan
- 2 tbsp (8 g) sliced green onions, for garnish
Instructions
- Cook the pasta and make the sauce. Heat the oven to 375°F (190°C). Boil the shells in salted water for 2 minutes less than the package time, then drain. In the same pot, melt the butter over medium heat. Whisk in the flour for 1 minute, until it smells nutty. Slowly whisk in the milk and simmer for 4–5 minutes, until it coats a spoon. Take it off the heat, stir in 1 cup mozzarella, the Parmesan, salt and pepper, then add the shells. Don’t pour in all the milk at once, or the sauce can turn lumpy.
- Transfer the shells to the baking dish. Tip the pot over the 9×13-inch dish and use a wooden spoon to scrape the steaming, creamy shells inside. Spread them roughly into an even layer. They should look glossy and loose, with sauce running between the shells. If they already look thick and dry, stir in 2–3 tablespoons of milk first, because the pasta will soak up more liquid in the oven. Move quickly so the sauce stays warm and is easy to mix.
- Add the crab, corn, cream cheese and green onions. Scatter the shredded crab over one section of the pasta, the corn over another, and the cream cheese cubes and ½ cup green onions over the rest. Pour the heavy cream over the top, aiming for the cream cheese. The cream should pool slightly and look silky. Pull the crab apart into thin shreds instead of leaving chunks, so it spreads through every bite. Big pieces tend to clump and can turn rubbery.
- Stir everything together. Hold the dish steady with one hand and fold everything together with the wooden spoon until you can see crab, corn and green onion all through the pasta. The heat from the shells will soften the cream cheese into small creamy streaks, and you don’t need to fully blend it. Smooth the top flat. Stir gently from the bottom up so you don’t crush the shells. Too much stirring breaks them and makes the casserole pasty.
- Top with cheese. Sprinkle the 2 cups of mozzarella evenly over the top, all the way to the edges, then scatter the ½ cup of Parmesan over it. The pasta should be almost completely hidden under a thick layer of shreds. Don’t pile the cheese up in the middle. Even coverage gives you browning across the whole top instead of one greasy center surrounded by bare, dried-out shells at the edges.
- Bake until golden. Bake uncovered on the middle rack for 25–30 minutes, until the edges bubble and the top is golden with darker brown spots. It will smell toasty and buttery. For extra browning, broil for 1–2 minutes at the end and watch it closely, since Parmesan can burn in seconds. Sprinkle the remaining 2 tablespoons of green onions over the top. If you take it out too early, the cheese will be melted but pale and won’t have the flavor of a browned top.
- Rest and serve. Let the casserole rest for 5 minutes on a trivet or folded towel. This gives the sauce time to settle so it clings to the pasta instead of running across the plate. Then scoop deep portions with a large spoon. You should get long strings of cheese and a creamy inside packed with crab and corn. Don’t cut in right away, because piping-hot sauce runs thin and the scoops fall apart.
Notes
- Undercook the pasta. Shells that are fully cooked before baking will turn soft and bloated in the oven.
- Warm the milk. Microwaving it for 1 minute helps it blend into the butter and flour without lumps.
- Soften the cream cheese. Leaving it out for 20 minutes helps it melt evenly into the pasta.
- Taste before baking. Imitation crab and cheese vary in saltiness, so taste the mix before topping it and add up to ¼ tsp more salt if needed.
- Make it ahead. Assemble through step 5, cover and refrigerate for up to 24 hours. Add 10–15 minutes to the bake time.
- Use a light-colored dish. Dark metal pans can burn the bottom. If that’s all you have, lower the oven to 350°F (175°C).
- Look for bubbling edges. Bubbles at the sides of the dish tell you the center is hot all the way through.
- Prep Time: 20 minutes
- Cook Time: 40 minutes
- Category: Dinner
