Love this? Pin it for later!
There’s something deeply satisfying about turning the odds and ends in your refrigerator and pantry into a bubbling, golden-topped casserole that has everyone reaching for seconds. This cheesy broccoli and ham casserole was born on a blustery Sunday when the fridge held nothing more inspiring than a half-bag of frozen broccoli, some diced ham from last night’s sheet-pan supper, and the dregs of three different pasta shapes. Instead of making an emergency grocery run, I leaned into the “use it up” challenge—and this pantry clean-out hero was the delicious result.
Since then, it’s become my go-to rescue recipe when the pantry feels bare but dinner still needs to impress. The creamy cheese sauce clings to every noodle, the broccoli stays vivid green and tender, and the ham adds that smoky depth that makes the whole dish taste like you planned it weeks in advance. Whether you’re staring down a post-holiday ham mountain, trying to rotate freezer stock, or simply craving pure comfort food on a budget, this casserole delivers big flavor with minimal effort—and only one baking dish to wash.
Why This Recipe Works
- One baking dish: Everything bakes in a single 9×13 pan, so cleanup is a breeze.
- Flexible base: Swap in any short pasta, cooked rice, or even quinoa—perfect for using up open boxes.
- Cheese-pull magic: A blend of sharp cheddar and melty mozzarella gives the ultimate gooey texture.
- Veggie boost: Broccoli florets steam right in the casserole, saving a pot and preserving nutrients.
- Ham versatility: Leftover holiday ham, deli ends, or even diced Canadian bacon all work beautifully.
- Make-ahead friendly: Assemble in the morning, refrigerate, and bake at dinner time.
Ingredients You'll Need
Before we dive into the method, let’s talk ingredients. The beauty of this casserole is its willingness to accept whatever you have on hand, but each component plays a specific role in delivering flavor and texture. Below, I’ve listed my preferred staples plus smart substitutions so you can shop your own kitchen first.
Short pasta—about 3 cups dry: I like rotini or shells because the ridges grab the sauce, any shape works. If you have half-boxes of different pasta, mix them; just cook to the shortest time on the packages. Gluten-free? Brown-rice or chickpea pasta hold up well.
Broccoli florets—4 cups: Frozen broccoli is already blanched, so add it straight from the bag. Fresh broccoli should be cut into bite-size pieces; the tops of the stalks give the best texture. Save the stems for soup stock. No broccoli? Cauliflower, green beans, or peas are excellent understudies.
Cooked ham—2 cups diced: Aim for ½-inch cubes so every bite has a little smoky pop. If your ham is salty, taste before seasoning the sauce. Don’t eat pork? Substitute cooked chicken, turkey, or even canned tuna—just reduce the salt.
Sharp cheddar—2 cups shredded: Buy a block and shred it yourself; pre-shredded cellulose can make the sauce grainy. Mild cheddar works, but sharp gives that tangy backbone. For extra melt, blend 1½ cups cheddar with ½ cup mozzarella.
Butter, flour, milk—the classic béchamel trio: Whole milk makes the richest sauce, but 2 % is fine. Dairy-free? Use olive oil, gluten-free flour, and unsweetened oat milk; add 2 Tbsp nutritional yeast for depth.
Seasonings—Dijon mustard, garlic powder, smoked paprika, black pepper: These elevate a simple white sauce into something that tastes like you slow-simmered it all day. A pinch of nutmeg is optional but lovely.
Crunchy topping—buttered panko or crushed crackers: I keep a zip-bag of crushed Ritz in the freezer for moments like this. Cornflakes or potato chips work in a pinch.
How to Make Cheesy Broccoli and Ham Casserole for a Pantry Clean Out
Preheat and prep your baking dish
Position a rack in the center of the oven and preheat to 400 °F (204 °C). Lightly coat a 9×13-inch ceramic or glass baking dish with non-stick spray or a slick of softened butter. This prevents sticking and helps the edges caramelize.
Cook the pasta to al dente
Bring a large pot of salted water to a boil (it should taste like the sea). Add your pasta and cook 1 minute less than package directions; it will finish in the oven. Reserve ½ cup starchy pasta water before draining—this helps loosen the sauce if it thickens too much.
Steam the broccoli in the same pot
Return the empty pot to medium heat, add ¼ cup water and the broccoli, cover, and steam for 3 minutes (fresh) or 2 minutes (frozen) until bright green and just tender. Drain and set aside. This step prevents raw broccoli from baking up dry.
Start the quick roux
Melt 4 Tbsp butter in the same pot over medium heat. Whisk in ¼ cup flour and cook for 1 minute to remove raw taste. Slowly whisk in 2½ cups milk, stirring constantly until thickened enough to coat the back of a spoon—about 3 minutes. Reduce heat to low.
Season and cheese the sauce
Stir in 1 tsp Dijon mustard, ½ tsp garlic powder, ¼ tsp smoked paprika, ½ tsp kosher salt, and a generous grind of black pepper. Add 1½ cups of the shredded cheddar and whisk until silky. Taste; if your ham is salty, you may want only ¼ tsp salt.
Combine everything off heat
Fold in the cooked pasta, steamed broccoli, and diced ham until every noodle is coated. If the mixture seems thick, splash in a little reserved pasta water; it should be creamy but not soupy. Pour into the prepared baking dish and spread evenly.
Top with remaining cheese and crunch
Sprinkle the remaining ½ cup cheddar over the surface. In a small bowl, toss ¾ cup panko with 1 Tbsp melted butter and a pinch of paprika; scatter evenly. This creates the crave-worthy crispy lid that contrasts the creamy interior.
Bake until bubbling and golden
Bake for 20–22 minutes, or until the edges are bubbling and the panko is deep golden brown. If your broiler is safe, switch to high for 1 minute to intensify the color. Let rest 5 minutes before serving; this sets the sauce and prevents lava-hot bites.
Expert Tips
Shred cheese off the block
Pre-shredded cheese contains anti-caking agents that can give your sauce a slightly gritty texture. Invest two minutes with a box grater for restaurant-level silkiness.
Save a step with frozen diced onion
If you have a bag lurking in the freezer, sauté ½ cup with the butter before adding flour. It adds sweetness and depth without extra prep.
Double the topping
My family fights over the crispy lid. Make 1½ times the panko mixture and sprinkle half on at the 15-minute mark for extra crunch without burning.
Portion before freezing
Line the dish with parchment, assemble, then freeze un-baked. Once solid, lift out the block, cut into squares, and wrap. Bake from frozen at 375 °F for 35 minutes.
Lighten it up
Trade half the pasta for cauliflower rice, use 2 % milk, and swap ½ cup cheese for ⅓ cup nutritional yeast. You’ll save ~120 calories per serving.
Spice it up
Stir 1 tsp hot sauce or ⅛ tsp cayenne into the sauce. For smoky heat, use chipotle powder instead of paprika.
Variations to Try
Chicken-Broccoli-Rice
Replace pasta with 3 cups cooked rice and use diced rotisserie chicken. Add ½ tsp curry powder to the sauce for a subtle warmth.
Tex-Mex Twist
Sub pepper-jack for cheddar, add 1 cup corn kernels and 1 tsp cumin. Top with crushed tortilla chips instead of panko.
Mushroom-Swiss
Sauté 8 oz sliced mushrooms with the butter, swap Swiss for cheddar, and use thyme in place of paprika.
Veggie-Loaded
Add 1 cup shredded carrots or zucchini (squeeze out moisture) and use smoked paprika for depth without meat.
Storage Tips
Refrigerate: Cool completely, cover tightly, and refrigerate up to 4 days. Reheat individual portions in the microwave for 90 seconds with a damp paper towel on top to re-steam the pasta. For oven reheating, cover with foil and warm at 350 °F for 20 minutes, removing the foil for the last 5 to re-crisp the top.
Freeze: Wrap un-baked casserole (or tightly wrapped squares) in a double layer of plastic wrap and a layer of foil. Freeze up to 3 months. Bake from frozen at 375 °F for 40–45 minutes, adding foil if the top browns too quickly. For best texture, thaw overnight in the fridge first.
Make-ahead: Assemble through step 7, cover with foil, and refrigerate up to 24 hours. Add 5–10 minutes to the bake time if starting cold. The panko topping can be stored separately in a zip-bag so it stays crisp.
Frequently Asked Questions
Cheesy Broccoli and Ham Casserole for a Pantry Clean Out
Ingredients
Instructions
- Preheat oven: Preheat to 400 °F (204 °C). Grease a 9×13-inch baking dish.
- Cook pasta: Boil pasta in salted water 1 minute less than package directions. Reserve ½ cup pasta water, drain.
- Steam broccoli: In the same pot, steam broccoli with ¼ cup water for 2–3 minutes until bright green; drain.
- Make sauce: Melt 4 Tbsp butter over medium heat. Whisk in flour 1 minute. Gradually whisk in milk; cook until thick, 3 minutes.
- Season & cheese: Stir in Dijon, garlic powder, paprika, salt, pepper, and 1½ cups cheddar until melted.
- Combine: Fold in pasta, broccoli, and ham. Add a splash of pasta water if needed. Pour into dish.
- Top: Sprinkle remaining cheddar. Mix panko with 1 Tbsp melted butter and paprika; scatter on top.
- Bake: Bake 20–22 minutes until bubbly and golden. Rest 5 minutes before serving.
Recipe Notes
For extra crunch, add half the panko after 15 minutes. Store leftovers covered in the fridge up to 4 days or freeze up to 3 months.
