Main Courses
This bean gratin recipe transforms humble white beans into a rich, cheesy masterpiece with crispy golden edges and layers of melted cheese. 💛 The secret lies in layering tender beans with a velvety cream-cheese mixture, then topping it with breadcrumbs for that perfect crunch.
I developed this version after testing countless methods to achieve restaurant-quality results at home.
The beauty of this dish is its versatility—it works equally well with white beans, lentils, or even mushrooms for a meaty texture. The creamy sauce, infused with garlic and thyme, soaks into the beans while baking, creating a tender yet hearty base.
The breadcrumb topping turns crispy under the broiler, adding texture that balances the creamy filling.
By the time it emerges from the oven, you’ll have a dish that’s creamy, cheesy, and impossibly comforting—perfect for a cozy weeknight dinner or an impressive vegetarian main course.
The aroma alone will have everyone gathered around the table, and each bite delivers that satisfying mix of crispy, creamy, and savory flavors.
Serve it with a simple green salad or crusty bread to soak up every last bit of that rich, cheesy sauce. This recipe is foolproof, vegetarian-friendly, and packed with flavor—exactly what you need for a satisfying meal without the fuss.
Ingredients for bean gratin
Six hearty ingredients transform simple beans into golden, cheesy comfort.
| Ingredient | Amount | Notes |
|---|---|---|
| Great Northern White Beans 🥫 | 2 ½ cups | Cooked until tender, drained |
| Heavy Cream 🥛 | 1 ½ cups | Full-fat for richness |
| Cream Cheese 🧀 | 8 oz | Room temperature for smooth blend |
| Sharp Cheddar Cheese 🧀 | 1 ½ cups | Shredded, aged for flavor |
| Parmesan Cheese 🧀 | ½ cup | Freshly grated, fine texture |
| Garlic Cloves 🧄 | 4 cloves | Minced, aromatic |
| Fresh Thyme Leaves 🌿 | 2 tbsp | Chopped, or dried at 1 tsp |
| All-Purpose Flour 🌾 | 2 tbsp | For thickening sauce |
| Panko Breadcrumbs 🍞 | 1 cup | For crispy topping |
| Extra-Virgin Olive Oil 🫒 | 2 tbsp | For drizzling on breadcrumbs |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Black Pepper 🌶️ | ½ tsp | Freshly ground |
| Nutritional Yeast 🌿 | 2 tbsp | For cheesy depth |
| Vegetable Broth 💧 | 1 cup | Low-sodium preferred |
The beans are the star—Great Northerns hold up best to baking. Canned is fine, but I always soak and cook my own for better texture. Look for firm, plump beans with no soft spots. For the cheese, aged cheddar and freshly grated Parmesan are non-negotiable—they melt differently than pre-shredded. The cream cheese? Full-fat makes all the difference—don't cut corners here. I grab mine from Whole Foods when possible, but the regular grocery store brand works too. Pro tip: let that cream cheese sit out for 10 minutes before blending.
No heavy cream? Full-fat coconut milk works in a pinch, though it'll taste different. Short on thyme? Dried oregano at half the amount gets you close, but fresh is ideal. The breadcrumbs can be homemade (toast stale bread, pulse in food processor) or store-bought—Panko stays crispy best. For extra richness, stir in 2 tbsp nutritional yeast with the Parmesan. The garlic can be roasted for a sweeter flavor—just toss whole cloves with olive oil and roast at 400°F for 10 minutes before mincing. And if you're feeling fancy, add 1/4 tsp smoked paprika to the breadcrumb mix for depth.
This reheats beautifully—just cover with foil and warm at 350°F for 15 minutes. Keeps 4-5 days in the fridge, though honestly it's best the first day. For make-ahead magic, assemble the whole thing (including breadcrumbs) and refrigerate overnight before baking—the flavors meld even better. Freezes for 3 months if you wrap it tightly in foil. I always double the recipe because leftovers make the best next-day lunches. The breadcrumb topping gets soggy if you skip the foil—trust me on that one.
Why You'll Love This Recipe
- One-Pot Magic: I swear by this recipe when I’m too tired to wash dishes. Toss the beans, cream, and cheeses into one baking dish—no chopping, no fuss—and let the oven do the work. That golden crust? It’s basically self-cleaning.
- Creamy Cheesy Bliss: Between us, the combo of sharp cheddar, creamy Parmesan, and a swirl of cream cheese is ridiculously good. The beans soak up all that richness, but the top gets this crispy, almost-baked-potato texture that’s impossible to resist.
- Leftovers? No Problem: This dish actually tastes better the next day—honestly. I make it on Sundays and reheat portions all week, whether it’s a quick lunch or a late-night snack. The cheeses melt back together like it’s fresh, and the beans hold their shape.
- Budget-Friendly Luxury: Great Northern beans are cheap, but they feel fancy here. The heavy cream and cheeses make it taste like a restaurant dish without the price tag. Plus, it stretches easily—double the recipe for a crowd and still save money.
Step-by-step instructions for bean gratin with crispy cheese topping
Here's how to build layers of creamy bean goodness with that perfect golden crust.
🍳 Step 1: Create the Creamy Bean Base
In a large mixing bowl, combine the 2.5 cups Great Northern White Beans with 1 cup Vegetable Broth. Mash about half of them with a potato masher until you get a chunky texture with some whole beans remaining. This gives you that perfect mix of creaminess and texture.
In a separate bowl, whisk together 1.5 cups Heavy Cream, 8 oz Cream Cheese (cut into chunks), 1.5 cups Sharp Cheddar Cheese, 0.5 cup Parmesan Cheese, 4 cloves minced Garlic Cloves, 2 tbsp Fresh Thyme Leaves, 2 tbsp Nutritional Yeast, 1.5 tsp Salt, and 0.5 tsp Black Pepper. This becomes your rich, flavorful cheese sauce. Slowly pour this mixture into the mashed beans and stir until completely combined. The result should be thick, creamy, and ready for layering.
🥘 Step 2: Assemble the Gratin Layers
Preheat your oven to 375°F. Lightly grease a 9x13-inch baking dish with some of the 2 tbsp Extra-Virgin Olive Oil to prevent sticking. Spread half of the bean mixture evenly in the bottom of the dish, pressing down gently to create an even layer.
For the second layer, sprinkle ½ cup Panko Breadcrumbs mixed with 1 tbsp Extra-Virgin Olive Oil over the bean layer. This creates a crispy barrier between the layers. Then add the remaining bean mixture on top, spreading it evenly. The breadcrumbs will toast beautifully while the beans stay creamy.
🔥 Step 3: Build the Crispy Cheese Topping
In a small bowl, mix the remaining ½ cup Panko Breadcrumbs with 1 tbsp Extra-Virgin Olive Oil and 2 tbsp All-Purpose Flour. This creates a dry, crumbly topping that will get beautifully golden and crispy. Sprinkle this mixture evenly over the top of the bean layer, pressing down lightly so it sticks.
Finally, sprinkle the remaining ½ cup Sharp Cheddar Cheese and 2 tbsp Nutritional Yeast over the breadcrumb topping. This final layer ensures that rich, cheesy flavor in every bite and adds that extra depth of umami. The cheese will melt perfectly while the breadcrumbs crisp up.
🔥 Step 4: Bake to Golden Perfection
Place the baking dish on the middle rack of your oven and bake for 30 minutes. After 30 minutes, the edges should be turning golden brown and the cheese on top should be bubbling. If it's browning too quickly, tent the dish with aluminum foil for the remaining time.
Continue baking for another 15-20 minutes until the top is deep golden brown and the edges are crispy. The internal temperature should reach 165°F when checked with a meat thermometer. Let it rest for 10 minutes before serving—this allows the layers to set and makes it easier to slice.
🍽️ Step 5: Serve with Crispy Edges
Use a sharp knife to cut the gratin into 6 equal squares (or rectangles if using a rectangular dish). The contrast of the crispy edges with the creamy, cheesy center is what makes this dish so special. Serve immediately with a side of crusty bread to soak up any extra sauce.
Each bite should deliver a perfect combination of textures—creamy beans, crispy breadcrumbs, and melted cheese. If you want to take it to the next level, drizzle a little extra Heavy Cream on top just before serving for an elegant finish.
Pro Tips For Making Bean Gratin
- Pre-cook the Beans: Drain and simmer dried Great Northern beans in fresh water for 30–45 minutes until almost tender—just slightly underdone. This prevents them from turning mushy when baked later, and the texture stays firm. (Yes, even if you’re impatient like me.)
- Whisk the Cream Cold: Mix the heavy cream and cream cheese cold from the fridge—no waiting for room temp. Warm cream curdles, and you’ll end up with a sad, lumpy topping instead of that smooth, velvety layer. Stir in the cheddar and Parmesan last, just before baking.
- Skip the Overmixing: Fold the cream mixture into the beans gently—just until combined. Overmixing breaks down the beans and makes the gratin dense. A few streaks of white are fine; it’ll blend in the oven. (Your future self will thank you.)
- Broil for the Crust: Switch to broil for the last 2–3 minutes, watching like a hawk. The cheese will brown and crisp up beautifully—just don’t walk away. If it starts to burn, pull it out fast. This is the only way to get that golden, restaurant-worthy top.
Make-ahead tips for leftovers
Prep Ahead Strategy
Assemble the entire gratin—including the breadcrumb topping—in a 9x13-inch baking dish and refrigerate it overnight. This allows the flavors to meld beautifully, giving you a more cohesive dish when you bake it.
I always do this when I’m short on time the next day—just pop it in the oven straight from the fridge. 💛
Baking Timeline
For a stress-free weeknight, bake the gratin 30 minutes before serving. The dish stays warm and delicious on the stovetop or in a 200°F oven for up to 30 minutes.
I like to set a timer so I can focus on the sides or drinks while it finishes baking.
Freezer-Friendly Method
Wrap the fully assembled (but unbaked) gratin tightly in heavy-duty foil and freeze it for up to 3 months. When ready to bake, thaw it in the fridge overnight, then bake as directed.
The texture holds up surprisingly well—just add 1-2 extra minutes under the broiler at the end for a crispy top.
Reheating Leftovers
Store leftovers in an airtight container for up to 5 days. Reheat covered with foil at 350°F for 15 minutes, then broil for 2-3 minutes to restore that crispy texture. A splash of heavy cream or vegetable broth helps revive the sauce if it looks dry. ✨
Make-Ahead Garnish
Prep any fresh garnishes—like chopped parsley or red pepper flakes—1 day ahead and store them in the fridge. This way, you can quickly add them right before serving without any last-minute stress. I keep a small bowl of garnishes ready on my counter for easy access.
Double Batch Tip
Double the recipe and freeze half for later—it’s perfect for lazy days. Use a quart-sized freezer bag for easy storage, and label it with the date. When you’re craving comfort food, just pull it out and bake. The leftovers reheat beautifully for 2-3 days of easy lunches. 💪
Nutrition facts
Frequently asked questions
Can I make this bean gratin with canned beans instead of dried?
Use 2 (15 oz) cans of white beans, drained and rinsed thoroughly. For best texture, mash about half of them before mixing with the cheese sauce. Just be sure to drain them well to avoid a watery gratin.
What's the best way to get extra crispy edges?
Broil the gratin for 2-3 minutes at the very end—watch closely to avoid burning. For even crispier edges, chill the assembled dish for 30 minutes before baking. This helps the breadcrumbs get extra golden and crunchy.
Can I substitute the heavy cream for something lighter?
Yes, try Greek yogurt (full-fat) or evaporated skim milk for a lighter version. For the best texture, reduce the liquid slightly by simmering it for 5 minutes before mixing with the beans. The flavor will be milder but still delicious.
Why did my gratin turn out too creamy instead of crispy?
This usually happens if the breadcrumb topping didn't get enough oven time or if too much liquid was used. Next time, bake uncovered for the last 5 minutes to crisp up the top. Also ensure you're using Panko breadcrumbs (not regular) for maximum crunch.
How can I make this vegetarian gratin more flavorful?
Add 1 tsp smoked paprika or 1/2 tsp chili flakes to the breadcrumb topping, or sauté 1 diced onion and 2 minced garlic cloves in olive oil before mixing with the beans. Roasted mushrooms or caramelized onions would also add amazing depth.
