This hearty white bean and pesto bake has become my go-to weeknight dinner when I want something satisfying without much fuss. The creamy beans pair beautifully with vibrant pesto, while melted cheese creates a golden, bubbly top that makes everyone at the table happy.
Why This White Bean and Pesto Bake Works
The magic happens when protein-rich cannellini beans meet aromatic basil pesto in a single baking dish. This combination creates layers of flavor while requiring minimal prep work. The oven does most of the heavy lifting, melding everything into a comforting meal that works any night of the week.
Ingredients
- 3 (15-ounce) cans cannellini beans, drained and rinsed
- 1/2 cup basil pesto (store-bought or homemade)
- 1 medium yellow onion, diced
- 4 cloves garlic, minced
- 1 (14.5-ounce) can diced tomatoes, drained
- 1 cup low-sodium vegetable broth
- 1 cup fresh mozzarella cheese, torn into chunks
- 1/2 cup grated Parmesan cheese
- 2 tablespoons olive oil
- 1 teaspoon dried oregano
- 1/2 teaspoon red pepper flakes
- 1/2 teaspoon salt
- 1/4 teaspoon black pepper
- 1/4 cup fresh basil leaves, chopped
- 2 tablespoons pine nuts (optional)
These simple ingredients come together to create something much greater than the sum of their parts, transforming pantry staples into a restaurant-worthy meal.
How to Make It
- Preheat your oven to 375°F and lightly grease a 9×13 inch baking dish with olive oil or cooking spray.
- Heat olive oil in a large skillet over medium heat. Add diced onion and cook for 5-6 minutes until softened and translucent, stirring occasionally.
- Add minced garlic to the skillet and cook for another 30 seconds until fragrant, being careful not to let it burn.
- Stir in the drained cannellini beans, coating them with the onion and garlic mixture. Cook for 2-3 minutes to warm the beans through.
- Add the drained diced tomatoes, vegetable broth, oregano, red pepper flakes, salt, and black pepper to the skillet. Stir everything together and let it simmer for 3-4 minutes.
- Remove the skillet from heat and gently fold in the pesto, making sure it’s evenly distributed throughout the bean mixture.
- Transfer the entire mixture to your prepared baking dish, spreading it out evenly with a spoon.
- Distribute the torn mozzarella chunks over the top of the bean mixture, followed by an even sprinkling of grated Parmesan cheese.
- If using pine nuts, scatter them over the cheese for added texture and nutty flavor.
- Cover the baking dish with aluminum foil and bake for 25 minutes.
- Remove the foil and continue baking for an additional 15-20 minutes, until the cheese is golden brown and bubbly.
- Let the bake rest for 5 minutes before serving, then garnish with fresh chopped basil.
The result is a bubbling, aromatic casserole that brings comfort food vibes with a Mediterranean twist that never fails to satisfy.
Nutrition at a Glance
- High in plant-based protein from cannellini beans
- Rich in fiber to support digestive health
- Contains heart-healthy olive oil and nuts
- Provides calcium from cheese
- Good source of folate and iron
- Antioxidants from fresh basil and tomatoes
- Naturally vegetarian-friendly
- Lower in saturated fat than meat-based casseroles
How to Serve It
- Serve over cooked quinoa or brown rice for extra heartiness
- Pair with a simple green salad dressed with lemon vinaigrette
- Add crusty sourdough bread for dipping into the saucy bottom
- Top with a dollop of Greek yogurt for extra creaminess
- Serve alongside roasted vegetables like zucchini or bell peppers
- Garnish with additional fresh herbs like parsley or oregano
- Accompany with a glass of Pinot Grigio or Chianti
- Drizzle with extra olive oil and a squeeze of fresh lemon juice
This versatile dish works equally well as a main course for dinner or a hearty side dish for larger gatherings.
Common Mistakes
- Not draining the beans properly, which can make the dish watery
- Using too much liquid, resulting in a soupy texture instead of a bake
- Skipping the rest time after baking, which prevents proper setting
- Overcooking the garlic in the initial sauté, creating bitter flavors
- Adding cheese too early, causing it to become tough and rubbery
- Not seasoning adequately, especially forgetting to taste before baking
- Using low-quality pesto that lacks flavor depth
- Baking at too high temperature, which can burn the top before the inside heats through
Avoiding these pitfalls ensures your white bean and pesto bake turns out creamy, flavorful, and properly textured every single time.
Easy recipe you’ll love: Cannellini Bean and Cabbage Soup with Lemon Garlic Breadcrumbs
Storage and Reheating
- Store leftovers in the refrigerator for up to 4 days in an airtight container
- Freeze portions for up to 3 months in freezer-safe containers
- Reheat individual portions in the microwave for 1-2 minutes, stirring halfway through
- Warm larger portions in a 325°F oven covered with foil for 15-20 minutes
- Add a splash of vegetable broth when reheating if the mixture seems dry
- Thaw frozen portions overnight in the refrigerator before reheating
- Refresh reheated portions with a sprinkle of fresh herbs
- Consider adding a drizzle of olive oil to restore moisture after reheating
Proper storage keeps this dish tasting fresh and prevents the beans from becoming mushy during the reheating process.

Leftover Ideas
- Stuff the mixture into bell peppers or portobello mushroom caps
- Use as a protein-rich filling for quesadillas or wraps
- Serve over pasta with additional marinara sauce
- Transform into a hearty soup by adding more vegetable broth
- Create grain bowls with quinoa, roasted vegetables, and the bean mixture
- Make breakfast hash by adding sautéed spinach and a fried egg on top
- Use as a dip for crackers or toasted baguette slices
- Incorporate into omelets or frittatas for a protein boost
These creative applications ensure no delicious bite goes to waste while keeping your meals interesting throughout the week.
White Bean and Pesto Bake
- Total Time: 60 minutes
- Yield: 6 servings 1x
- Diet: Vegetarian
Description
A hearty, comforting casserole featuring creamy cannellini beans, vibrant basil pesto, and melted cheese baked until golden and bubbly.
Ingredients
- 3 (15-ounce) cans cannellini beans, drained and rinsed
- 1/2 cup basil pesto (store-bought or homemade)
- 1 medium yellow onion, diced
- 4 cloves garlic, minced
- 1 (14.5-ounce) can diced tomatoes, drained
- 1 cup low-sodium vegetable broth
- 1 cup fresh mozzarella cheese, torn into chunks
- 1/2 cup grated Parmesan cheese
- 2 tablespoons olive oil
- 1 teaspoon dried oregano
- 1/2 teaspoon red pepper flakes
- 1/2 teaspoon salt
- 1/4 teaspoon black pepper
- 1/4 cup fresh basil leaves, chopped
- 2 tablespoons pine nuts (optional)
Instructions
- 1. Preheat oven to 375°F and grease a 9×13 inch baking dish.
- 2. Heat olive oil in a large skillet over medium heat. Add onion and cook 5-6 minutes until softened.
- 3. Add garlic and cook 30 seconds until fragrant.
- 4. Stir in beans, coating with onion mixture. Cook 2-3 minutes to warm through.
- 5. Add tomatoes, broth, oregano, red pepper flakes, salt, and pepper. Simmer 3-4 minutes.
- 6. Remove from heat and fold in pesto until evenly distributed.
- 7. Transfer mixture to prepared baking dish and spread evenly.
- 8. Top with mozzarella chunks, then sprinkle with Parmesan and pine nuts if using.
- 9. Cover with foil and bake 25 minutes.
- 10. Remove foil and bake 15-20 minutes more until cheese is golden and bubbly.
- 11. Let rest 5 minutes, then garnish with fresh basil before serving.
Notes
Store leftovers in refrigerator up to 4 days. Reheat in microwave or 325°F oven. Add splash of broth if mixture seems dry when reheating.
- Prep Time: 15 minutes
- Cook Time: 45 minutes
- Category: Main Dish
- Method: Baking
- Cuisine: American
Nutrition
- Serving Size: 1 serving
- Calories: 385
- Sugar: 6g
- Sodium: 680mg
- Fat: 16g
- Carbohydrates: 42g
- Fiber: 12g
- Protein: 18g