Quick Recipe Overview: Three cups each of white beans and just-tender broccoli florets are folded into 1 cup of white sauce with thyme, topped with 3/4 cup sharp cheddar and olive-oil breadcrumbs, and baked at 375°F for 25–35 minutes until bubbling, golden and 165°F in the center. A cozy vegetarian main for 4.
Best method: undercook the broccoli slightly, drain everything well, and check the center temperature rather than trusting the golden top.
| Prep | Bake | Rest | Total | Serves | Oven |
|---|---|---|---|---|---|
| 15 min | 25–35 min | 5 min | about 55 min | 4 | 375°F |
Broccoli-Cheddar Comfort, Made Hearty with Beans
White bean broccoli gratin with cheddar takes the classic broccoli-and-cheese pairing and turns it into a filling main dish. Three cups of creamy white beans and three cups of bright broccoli florets bake in a light white sauce under melted cheddar and crunchy breadcrumbs. It serves 4 and takes about 55 minutes, mostly hands-off.
It is a great way to get a family to eat a big pile of broccoli, and the beans make it satisfying enough to skip meat. The common pitfall with broccoli casseroles is mushy, army-green florets in a watery sauce; this method avoids both.
Equipment
- 2-quart baking dish (an 8 x 8-inch or 11 x 7-inch dish).
- Pot with a steamer basket or a large pot of boiling water for the broccoli.
- Small saucepan and whisk if making white sauce from scratch.
- Colander, mixing bowl and flexible spatula.
- Instant-read thermometer to check the center reaches 165°F.
Ingredients and Substitutions
| Ingredient | Amount | Notes and swaps |
|---|---|---|
| Canned white beans (cannellini or great northern), rinsed and drained | 3 cups (two 15-oz cans) | Cannellini are larger and creamier; great northern are smaller and hold shape well. Navy beans are softer. |
| Broccoli florets, cooked just tender and drained | 3 cups | About 1 medium head. Frozen florets work: thaw and drain very well (they are already blanched). |
| White sauce (béchamel) | 1 cup | Homemade (see below) or a prepared Alfredo-style or white sauce of similar thickness. |
| Sharp cheddar, shredded | 3/4 cup | Shred it yourself for the best melt; Gruyère, Monterey Jack or a smoked cheddar also work. |
| Plain dry breadcrumbs | 1/2 cup | Panko gives a crunchier top. Gluten-free crumbs work too. |
| Olive oil | 2 tablespoons, divided | 1 for the dish, 1 for the crumbs. Melted butter is a richer option for the crumbs. |
| Dried thyme | 1 teaspoon | Or 1/2 teaspoon dry mustard plus a pinch of nutmeg, classic with cheese sauces. |
| Fine salt / black pepper | 1/4 teaspoon each | Taste the sauce first; cheese and prepared sauces add salt. |
Allergens: Contains milk (cheddar, white sauce) and wheat/gluten (breadcrumbs, flour in white sauce). For gluten-free, thicken the sauce with cornstarch and use gluten-free crumbs. Egg-free and nut-free as written; check labels on prepared sauces.
Quick Homemade White Sauce (1 cup)
Melt 2 tablespoons butter in a small saucepan over medium heat. Whisk in 2 tablespoons all-purpose flour and cook, whisking, about 1 minute without browning. Slowly whisk in 1 cup milk and cook, whisking often, until bubbling and thick enough to coat a spoon, about 4–5 minutes. Season with a pinch of salt. This is the classic medium-thick ratio: 2 tablespoons each butter and flour per cup of milk.

Why It Works
Broccoli cooks twice, so start it underdone. The florets get a short pre-cook and then another 25–35 minutes in the oven. Steaming them only until bright green and barely tender means they finish tender but still hold their shape and color.
Water is the enemy of a gratin. Broccoli holds water in its florets, and rinsed beans carry some too. Draining both well keeps the sauce creamy instead of thin and watery.
Beans thicken the sauce. White beans are soft and starchy. As the gratin bakes, a few break down slightly and thicken the sauce naturally, so you need only a modest cup of white sauce.
Oil-coated crumbs brown evenly. Tossing breadcrumbs with oil before scattering them over the cheese gives a crisp, golden lid that contrasts with the soft filling.
Step-by-Step Method
- Heat the oven (about 10 minutes). Heat to 375°F. Brush the baking dish with 1 tablespoon olive oil.
- Pre-cook the broccoli (3–4 minutes). Steam or boil bite-size florets just until bright green and a knife meets slight resistance. Drain in a colander and let steam escape for a few minutes. Cue: vivid green and still firm at the stem.
- Make or warm the sauce (5 minutes). Prepare the white sauce above, or warm a prepared sauce.
- Combine (3 minutes). In a bowl, gently fold beans, broccoli, white sauce, thyme, salt and pepper. Cue: spoonable and creamy, with no puddle of liquid at the bottom.
- Top (2 minutes). Spread in the dish, scatter cheddar evenly, then toss breadcrumbs with the remaining oil and sprinkle over the cheese.
- Bake (25–35 minutes). Cue: edges bubbling, crumbs golden, and the center reads 165°F. If the top browns first, cover loosely with foil and keep baking.
- Rest (5 minutes). The sauce settles and thickens so servings hold together.
Make-ahead tip: Assemble the filling and cheese up to 1 day ahead, cover and refrigerate. Add the crumb topping just before baking, and allow extra time (often 10–15 minutes) because the dish starts cold. Always check for 165°F.
Food safety: casseroles and leftovers. Bake until the center reaches 165°F, especially when the dish was assembled ahead or uses refrigerated cooked ingredients (FoodSafety.gov). Refrigerate leftovers within 2 hours (1 hour above 90°F), use within 3–4 days and reheat to 165°F (USDA FSIS leftovers).
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| Watery filling | Broccoli or beans not drained | Drain broccoli well and let it steam dry; pat beans dry. |
| Mushy, dull broccoli | Pre-cooked too long | Pull florets at bright green and crisp-tender. |
| Top browned but center cool | Dish started cold or very deep | Cover with foil and continue to 165°F. |
| Grainy or oily cheese | Pre-shredded cheese with anti-caking agents, or overbaked | Shred a block of cheddar yourself; don’t overbake. |
| Lumpy white sauce | Milk added too fast | Whisk constantly while pouring; strain if needed. |
| Pale, soft topping | Crumbs not oiled | Toss crumbs with oil or butter first; broil 1–2 minutes at the end, watching closely. |
What to Serve With It
A sharp green salad or quick pickles cut through the cheese; for crunch and color, try broccoli stem slaw with rice vinegar, a smart use for the stems left from this recipe. Love broccoli and cheddar? See broccoli cheddar pasta bake with Dijon and broccoli potato soup with sharp cheddar.
Variations: add a teaspoon of Dijon to the sauce; swap half the broccoli for cauliflower; stir in sautéed onions; or top with crushed crackers instead of breadcrumbs.

Make-Ahead, Storage and Reheating
- Refrigerate: cover or transfer to shallow containers and use within 3–4 days.
- Reheat: warm portions in a 350°F oven, covered, then uncover for the last few minutes to re-crisp, until 165°F in the center. The microwave works but softens the top.
- Freeze: possible for up to about 2–3 months for best quality, though broccoli softens and the sauce can separate slightly. Thaw in the fridge before reheating.
Frequently Asked Questions
Can I use frozen broccoli?
Yes. Thaw it and drain very well, pressing gently. Skip the pre-cook, since frozen broccoli is already blanched.
Do I have to make white sauce?
No. A prepared white or Alfredo-style sauce of similar thickness works.
Which white beans are best?
Cannellini for creaminess, great northern if you want beans that hold their shape.
Can I make it gluten-free?
Yes. Thicken the sauce with 1 tablespoon cornstarch mixed into cold milk, and use gluten-free breadcrumbs.
Is this a side or a main?
With 3 cups of beans, it is hearty enough to serve 4 as a main. As a side it serves 6–8.
Why check the temperature if everything is precooked?
Precooked and refrigerated ingredients still need to be reheated thoroughly. 165°F in the center confirms it is hot all the way through.
How do I get a crispier top?
Use panko tossed in oil or butter, and broil 1–2 minutes at the end, watching closely.
Can I add meat?
Diced cooked chicken or ham can be folded in; make sure the center still reaches 165°F.
Recommended Tools
- 2-quart ceramic baking dish
- Steamer basket, for crisp-tender broccoli
- Box grater, for freshly shredded cheddar
As an Amazon Associate I earn from qualifying purchases.
Final Thoughts
Undercook the broccoli, drain everything, oil the crumbs and check for 165°F. Do that and you get a bubbling, golden gratin with green, tender florets and creamy beans in every bite.
White Bean Broccoli Gratin with Cheddar
Prep: 15 min · Bake: 25–35 min · Rest: 5 min · Total: about 55 min · Serves: 4 · Oven: 375°F
Ingredients
- 3 cups canned white beans, rinsed and drained
- 3 cups cooked broccoli florets, drained
- 1 cup prepared white sauce
- 3/4 cup shredded cheddar
- 1/2 cup plain dry breadcrumbs
- 2 tablespoons olive oil, divided
- 1 teaspoon dried thyme
- 1/4 teaspoon fine salt
- 1/4 teaspoon black pepper
Instructions
- Heat oven to 375°F; brush a 2-quart baking dish with 1 tablespoon oil.
- Gently fold beans, just-tender broccoli, white sauce, thyme, salt and pepper; spread in the dish.
- Top with cheddar. Toss breadcrumbs with remaining oil and sprinkle over.
- Bake 25–35 minutes, until bubbling, golden and 165°F in the center (cover with foil if browning too fast).
- Rest 5 minutes before serving.
Notes
Quick white sauce: 2 tbsp butter + 2 tbsp flour cooked 1 minute, then 1 cup milk whisked in and simmered until thick. Refrigerate leftovers within 2 hours; use within 3–4 days and reheat to 165°F.




