Skip to main content

Pasta and White Beans Gratin

Jump to recipe ↓

Why it works: Pasta and beans match in chemistry and in kitchens. They rank in the top 4% of all ingredient pairs, and 175 recipes mention both. Both carry nonanal, which smells fat, citrus. The science ↓

The recipe

8 servings
Prep20 min
Cook50 min

Ingredients

Contains: milk, wheat (auto-detected from the ingredients and method; we can miss things, so check labels)

Directions

Method written by CompKitchen from the ingredient list. Not the original author's method, not kitchen-tested.

  1. Heat the oven to 375°F (190°C). Cook the pasta shells in a pot of boiling salted water until just tender, about 10 minutes. Drain well.

  2. Heat 1 teaspoon olive oil in a large skillet over medium heat. Cook the chopped onion for about 5 minutes until soft.

  3. Add the white beans, thyme sprigs, bay leaf and a splash of water to the skillet. Simmer 10 minutes, then remove the thyme and bay leaf. Mash about half the beans lightly and season with salt and pepper.

  4. In a food processor, blend the basil, garlic, 1 tablespoon olive oil and half the Parmesan until coarsely chopped.

  5. In a bowl, stir the ricotta into the basil mixture, then fold in the drained pasta until coated.

  6. Toss the chopped tomatoes with the balsamic vinegar, salt and pepper in a separate bowl.

  7. Spread half the pasta mixture in a greased baking dish. Spoon the bean mixture over it, then add the remaining pasta. Arrange the tomatoes on top.

  8. Mix the bread crumbs, remaining Parmesan and 1 tablespoon olive oil. Scatter over the dish.

  9. Bake for 20 minutes until golden and bubbling. Let rest 5 minutes before serving.

By allrecipes. Recipe from Open Recipes.

Found this recipe through an AI assistant? CompKitchen also shows which ingredients go well together and why, from the aroma molecules they share and how often recipes combine them. Try the pairing tools.

Explore the science

The flavor team

The pairs that carry this dish. Each one is judged two ways: how much aroma chemistry they share, and how many recipes mention both.

  1. Pasta + beanstop 4% of all pairs
    Aroma overlapstrong
    Mentioned together175 recipes

    Shared aroma: nonanal (fat, citrus).

  2. Basil + thymetop 1% of all pairs
    Aroma overlapstrong
    Mentioned together1,768 recipes

    Shared aroma: terpineol (pine, woody).

  3. Garlic + oniontop 1% of all pairs
    Aroma overlapstrong
    Mentioned together29,030 recipes

    Shared aroma: furaneol (caramel, strawberry).

  4. Garlic + olivetop 3% of all pairs
    Aroma overlapmoderate
    Mentioned together23,449 recipes

    Shared aroma: linalool (floral, citrus).

  5. Basil + olivetop 3% of all pairs
    Aroma overlapstrong
    Mentioned together4,868 recipes

    Shared aroma: 3-hexenal (apple, fruity).

Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs

Flavor stand-ins for the onion

How well each one fits the dish's main ingredients (pasta, basil, garlic, parmesan cheese, olive, ricotta cheese, thyme):

  1. Tomatobetter flavor fit
  2. Spinachbetter flavor fit
  3. Eggplantbetter flavor fit
  4. Onionthe original

Fit is the average pairing score against pasta, basil, garlic, parmesan cheese, olive, ricotta cheese, thyme. Candidates are from the same food group and used in at least 100 recipes. This compares flavor only: it does not check the job the ingredient does in the dish (bulk, moisture, acidity, structure).