If you are craving a dish that is bursting with vibrant flavors and hearty textures, the White Bean and Pesto Bake is your next kitchen triumph. This delightful combination of creamy white beans, fragrant basil pesto, and gooey melted cheese creates a comforting yet elegant meal that feels like a warm hug on a plate. With juicy cherry tomatoes adding a pop of sweetness and the savory depth of garlic and onion, each bite offers a perfect balance that will have you going back for more. Whether you’re serving it as a satisfying main or a crowd-pleasing side, the White Bean and Pesto Bake is guaranteed to become a new favorite in your recipe rotation.

Ingredients You’ll Need
The magic of the White Bean and Pesto Bake lies in its simple, quality ingredients working together. Each component plays an essential role—whether it’s the creamy texture of the white beans, the herbaceous kick from the pesto, or the melty cheeses that bring everything together into one irresistible dish.
- 2 cups cooked white beans: provides a creamy, protein-packed base that soaks up all the flavors beautifully.
- 1/2 cup basil pesto: adds a fresh, aromatic burst of herbs and garlic that ties every ingredient together.
- 1 cup cherry tomatoes, halved: brings juicy sweetness and a lovely bright color contrast.
- 1/2 cup shredded mozzarella cheese: for melty, gooey richness that envelops the dish.
- 1/4 cup grated Parmesan cheese: delivers a sharp, nutty finish that elevates the flavor profile.
- 2 cloves garlic, minced: infuses the dish with a deep, savory punch.
- 1 small red onion, thinly sliced: offers subtle sweetness and adds texture beneath the beans.
- 2 tablespoons olive oil: ensures a luscious mouthfeel and helps with caramelization.
- Salt and black pepper to taste: essential for seasoning and bringing all the ingredients into harmony.
- Fresh basil leaves for garnish (optional): a bright, fragrant finish to make the dish look as good as it tastes.
How to Make White Bean and Pesto Bake
Step 1: Preheat and Prepare
Start by setting your oven to 375°F (190°C), allowing it to reach the perfect baking temperature. This ensures your bake will cook evenly and the cheese will melt beautifully into a bubbling golden layer.
Step 2: Mix the White Beans and Pesto
In a large mixing bowl, combine the cooked white beans with the fragrant basil pesto, minced garlic, salt, and black pepper. This mixture is the star of the White Bean and Pesto Bake, where the beans soak up the intense herbal flavors for a creamy, robust filling.
Step 3: Assemble the Layers
Drizzle olive oil into a small baking dish and spread a layer of thinly sliced red onion evenly across the bottom. Then, spoon the white bean and pesto mixture over the onions, smoothing it out. Next, scatter the halved cherry tomatoes on top, adding a burst of color and freshness before layering the shredded mozzarella and grated Parmesan cheeses evenly across the surface.
Step 4: Bake to Perfection
Place your assembled dish in the oven and bake for about 20 to 25 minutes. You want to see the cheese melt and bubble enticingly while the tomatoes soften to release their natural sweetness. This step transforms all the ingredients into a cohesive, irresistible casserole.
Step 5: Rest and Garnish
Once baked, remove the dish from the oven and let it rest for a few minutes. This brief pause helps everything settle, making it easier to serve. Garnish with fresh basil leaves just before serving for that extra fresh, vibrant touch that perfectly complements the White Bean and Pesto Bake.
How to Serve White Bean and Pesto Bake

Garnishes
A sprinkle of fresh basil leaves not only adds a pop of green but also enhances the herbal notes in the pesto. For extra texture, consider toasted pine nuts or a drizzle of good-quality olive oil to finish, making every bite exciting.
Side Dishes
This bake pairs wonderfully with a crisp side salad featuring peppery arugula or a bowl of lightly roasted vegetables. Crusty bread also makes a fantastic accompaniment, perfect for scooping up every last bit of that flavorful sauce.
Creative Ways to Present
For a fun twist, serve the White Bean and Pesto Bake in individual ramekins for a charming presentation, especially when entertaining. You can also layer the bake over toasted slices of baguette as an open-faced tartine — great for casual lunches or brunch gatherings.
Make Ahead and Storage
Storing Leftovers
After enjoying your White Bean and Pesto Bake, simply transfer any leftovers to an airtight container and refrigerate. It will keep well for up to three days, making it a perfect option for a quick reheat on busy nights.
Freezing
If you want to save the bake for longer, place it in a freezer-safe container and freeze for up to two months. Thaw overnight in the fridge before reheating to maintain the best texture and flavor.
Reheating
To reheat, warm the bake gently in an oven preheated to 350°F (175°C) for about 15 minutes or until heated through. This method ensures the cheese melts back into that irresistible gooey goodness without drying out the dish.
FAQs
Can I use canned white beans for the White Bean and Pesto Bake?
Absolutely! Canned white beans are a convenient option—just make sure to rinse and drain them well to remove excess sodium and any canning liquids for the best flavor and texture.
Is it possible to make the White Bean and Pesto Bake dairy-free?
Yes, you can swap the mozzarella and Parmesan with your favorite vegan cheeses or leave them out entirely, relying on the pesto and garlic to provide plenty of flavor while keeping it plant-based.
Can I prepare this dish in advance?
Definitely. You can assemble the bake a day ahead, cover it tightly, and keep it in the refrigerator. When ready to eat, simply bake it fresh for that perfect melty finish.
What can I add to give the bake more texture?
Try stirring in some toasted pine nuts or chopped walnuts before baking. They add a delightful crunch that contrasts nicely with the creamy beans and melted cheese.
Can I use other vegetables instead of cherry tomatoes?
Yes, feel free to customize! Roasted red peppers, zucchini slices, or even sun-dried tomatoes work well and bring their unique flavors to the White Bean and Pesto Bake.
Final Thoughts
The comforting warmth and fresh flavors of the White Bean and Pesto Bake make it a go-to recipe you’ll want on repeat. Its ease of preparation and adaptable nature mean it fits seamlessly into weekday dinners or weekend gatherings. Give it a try and let this vibrant, savory dish bring joy and deliciousness to your table!
Print
White Bean and Pesto Bake
- Prep Time: 10 minutes
- Cook Time: 25 minutes
- Total Time: 35 minutes
- Yield: 4 servings
- Category: Main Course
- Method: Baking
- Cuisine: Italian-Inspired
- Diet: Vegetarian
Description
This White Bean and Pesto Bake is a delicious and hearty Italian-inspired vegetarian dish perfect for an easy dinner. It combines creamy white beans with fragrant basil pesto, juicy cherry tomatoes, and a luscious cheese topping, baked to bubbly perfection. Ideal as a main or a side, it’s nutritious, flavorful, and simple to prepare in under 40 minutes.
Ingredients
Bean and Pesto Mixture
- 2 cups cooked white beans (canned or cooked from dry, rinsed and drained)
- 1/2 cup basil pesto
- 2 cloves garlic, minced
- Salt and black pepper to taste
Vegetables and Cheese
- 1 cup cherry tomatoes, halved
- 1/2 cup shredded mozzarella cheese
- 1/4 cup grated Parmesan cheese
- 1 small red onion, thinly sliced
Additional
- 2 tablespoons olive oil
- Fresh basil leaves for garnish (optional)
Instructions
- Preheat the Oven: Preheat your oven to 375°F (190°C) to ensure a hot and even cooking environment for the bake.
- Prepare the Bean Mixture: In a mixing bowl, combine the cooked white beans with basil pesto, minced garlic, salt, and black pepper. Stir gently until the beans are well coated with the pesto mixture.
- Layer the Baking Dish: Drizzle olive oil evenly over the bottom of a small baking dish. Spread the thinly sliced red onions into a single layer on top of the oil to create a flavorful base layer.
- Add Bean Mixture: Spoon the white bean and pesto mixture evenly over the layer of sliced onions, spreading it out to cover the dish fully.
- Top with Tomatoes and Cheese: Arrange the halved cherry tomatoes evenly over the beans, then sprinkle the shredded mozzarella and grated Parmesan cheeses over everything to create a rich and melty topping.
- Bake: Place the dish in the preheated oven and bake for 20 to 25 minutes, or until the cheese is melted, bubbly, and starting to golden, and the tomatoes have softened.
- Rest and Garnish: Remove from the oven and let the bake rest for a few minutes to set. Garnish with fresh basil leaves if desired for a fragrant finish.
- Serve: Serve warm, either as a satisfying main dish or a hearty side to complement your meal.
Notes
- For extra texture and flavor, consider mixing in toasted pine nuts or walnuts before baking.
- You can substitute kale or spinach for the basil pesto to vary the flavor profile and add greens.
- Using vegan cheese alternatives can make this dish suitable for dairy-free diets.
- Leftovers refrigerate well and can be gently reheated for a quick and nourishing meal.

