Baked pasta shells with ham and cheese are one of those rare dishes that check every box: ready in under 30 minutes, budget-friendly, and genuinely loved by kids and adults alike. With 500 g of pasta, 200 g of ham, 20 cl of crème fraîche, and a generous layer of melted cheese, this gratin delivers comfort in every bite.
Few recipes earn a permanent spot in the family dinner rotation quite like a pasta gratin. This one is no exception. The combination of tender pasta, creamy sauce, salty ham, and golden cheese crust hits that sweet spot between effortless and satisfying — the kind of meal that disappears from the dish before you've even sat down properly.
And the beauty of it? You probably already have everything you need in your kitchen.
The ingredients you need for baked pasta shells with ham and cheese
The shopping list for this baked pasta gratin is short, affordable, and flexible. For 4 people, gather:
- 500 g of pasta shells (or any short pasta shape you have on hand)
- 200 g of cooked ham, diced
- 20 cl of crème fraîche
- 200 g of grated cheese (emmental works perfectly, but comté adds a richer, more complex flavor)
- Salt and pepper to taste
- Fresh chives, optional, for serving
The choice of cheese matters more than it might seem. Emmental melts beautifully and creates that classic golden crust, but swapping it for comté takes the whole dish up a notch in terms of depth and savoriness. On the ham side, pre-sliced supermarket ham is fine, but ham cut fresh at the deli counter gives noticeably better texture and taste.
If you’re wondering whether thick or liquid crème fraîche works better here, the choice of cream can genuinely change the result — thick crème fraîche holds up better during oven baking and keeps the gratin from becoming watery.
Step-by-step method for a perfect pasta gratin
Cook the pasta just right
Start by boiling your pasta shells in well-salted water. The single most important rule here: pull them out al dente, meaning they should still have a slight bite when you drain them. The pasta will continue cooking in the oven for 25 minutes at 180 °C, and if it goes in already soft, the final result will be mushy and heavy.
If you want to get your pasta technique right from the start, it's worth knowing how much water and pasta to use for proper Italian-style cooking — the ratio makes a real difference to texture.
Once drained, transfer the pasta directly into your gratin dish.
Assemble and bake
With the pasta in the dish, the assembly is quick:
- Season with salt and pepper.
- Pour in the 20 cl of crème fraîche and mix well.
- Add the diced ham and 100 g of grated cheese.
- Stir everything together until evenly combined.
- Scatter the remaining 100 g of cheese over the top.
- Bake at 180 °C for 25 minutes, until the surface is golden and bubbling.
Serve immediately, straight from the dish. If you have fresh chives on hand, a pinch scattered over the top just before serving adds a pop of color and a pleasant freshness that cuts through the richness of the cheese.
in the oven at 180 °C for a perfectly golden cheese crust
Smart variations to customize this ham and cheese pasta bake
Swap the ham for crispy lardons
The most popular variation on this classic recipe is replacing the cooked ham with grilled lardons. Pan-fry them until golden and slightly crispy before mixing them into the pasta with the cream and cheese. The result is smokier and more textured — a version that tends to go down particularly well with older kids and adults who want something a little more indulgent.
Change the pasta shape
Pasta shells are the traditional choice for this kind of gratin, and their hollow shape traps the creamy sauce beautifully. But any short pasta works: penne, rigatoni, fusilli, or even macaroni all hold up well in the oven. The key remains the same regardless of shape — stop the cooking early, while the pasta still has structure.
This dish pairs well with a simple green salad, and if you're looking for another quick weeknight comfort meal, a creamy mushroom rice risotto-style follows the same logic of minimal effort and maximum satisfaction.
- Ready in under 30 minutes total
- Budget-friendly ingredients for 4 people
- Easily customizable with what you have
- Loved by children and adults alike
- Overcooking the pasta before baking ruins the texture
- Not suitable for reheating if pasta was already overcooked
Why this baked pasta recipe works for family dinners
The appeal of a ham and cheese pasta bake goes beyond convenience. It's the kind of dish that adapts to what's in the fridge, scales up easily if guests show up unexpectedly, and requires almost no active cooking time once the pasta is drained. The oven does the work.
For families looking to round out the week with comforting, homemade meals without spending hours in the kitchen, this gratin fits naturally alongside other reliable recipes like a potato and leek velouté or a simple homemade chicken cordon bleu. Dishes that feel like real cooking, without the complexity.
The 200 g of grated cheese split between the inside and the top is a small but deliberate detail. Mixing half into the pasta ensures every forkful is creamy and cheesy throughout, while the layer on top creates that signature golden, slightly crispy crust that makes a gratin a gratin. Use comté instead of emmental, add a handful of chives, go with lardons on a Friday night — the base recipe holds, and the variations keep it interesting week after week.
