Soups & Stews
This tomato gratin recipe transforms humble garden tomatoes into a luxurious, golden-brown masterpiece with a crispy breadcrumb topping and velvety cheese sauce. The French technique of layering tomatoes with béchamel creates a dish that feels indulgent yet remains approachable for home cooks.
I've perfected this method over years of testing, ensuring every bite delivers that perfect balance of tangy tomato, creamy sauce, and buttery crust.
The beauty of this recipe lies in its simplicity—just a handful of ingredients combine to create restaurant-quality results. You'll start with ripe tomatoes, layered carefully in a baking dish, then coat them in a rich béchamel sauce before topping with a golden breadcrumb crust.
The baking time is precise: 35-40 minutes at 375°F yields a dish with tender tomatoes, a perfectly set sauce, and a crispy top that's impossible to resist.
What makes this tomato gratin truly special is how versatile it is. Serve it as a main course with crusty bread, or pair it with grilled meats for a hearty dinner.
The flavors develop beautifully as it rests, making it ideal for meal prep. Each forkful delivers a symphony of textures—creamy sauce, tender tomatoes, and that satisfying crunch from the crust.
For those looking to adapt this classic, consider adding herbs like thyme or basil to the béchamel, or swapping traditional cheese for nutritional yeast in vegan versions. The key to success remains the same: precise layering and careful baking. Let's create this comforting dish that brings warmth to any table.
Ingredients for tomato gratin
Transform garden tomatoes into a restaurant-worthy gratin with these 13 essential ingredients.
| Ingredient | Amount | Notes |
|---|---|---|
| Fresh Tomatoes 🍅 | 2 ½ lbs | Ripe, firm, halved horizontally |
| Unsalted Butter 🧈 | ½ cup | Cold, cubed for béchamel |
| All-Purpose Flour 🌾 | ½ cup | Sifted for smooth sauce |
| Whole Milk 🥛 | 2 cups | Room temperature preferred |
| Gruyère Cheese 🧀 | 1 ½ cups | Freshly grated, nutty flavor |
| Parmesan Cheese 🧀 | ½ cup | Freshly grated, sharp variety |
| Fresh Thyme Leaves 🌿 | ¼ cup | Chopped, for béchamel |
| Garlic Cloves 🧄 | 3 cloves | Minced, for béchamel |
| Panko Breadcrumbs 🍞 | ½ cup | For crispy topping |
| Salt 🧂 | 1 ½ tsp | Kosher or sea salt |
| Ground Black Pepper 🌶️ | ½ tsp | Freshly ground preferred |
| Nutmeg 🌿 | ¼ tsp | Freshly grated for warmth |
| Extra-Virgin Olive Oil 🫒 | 1 tbsp | For greasing baking dish |
The tomatoes are the foundation—ripe but firm, with vibrant color. Heirloom varieties add depth, but any beefsteak or Roma will work. Avoid overripe tomatoes, as they release too much liquid. For the cheeses, Gruyère is non-negotiable—its nutty flavor melts perfectly. I source mine from Whole Foods or specialty cheese shops, but pre-shredded from the deli counter works in a pinch. The Parmesan should be freshly grated; pre-grated contains anti-caking agents that prevent proper melting. For the béchamel, unsalted butter ensures you control the salt level perfectly—Plugrá or Land O'Lakes are reliable brands.
No Gruyère? Comté or Emmental work well as substitutes, though the flavor will differ slightly. Short on thyme? Dried thyme at half the amount suffices, but fresh is ideal for that bright aroma. The béchamel requires patience—whisking constantly prevents lumps. If you're making this ahead, assemble the dish up to the breadcrumbs, then bake when ready. The breadcrumbs can be swapped for crushed cornflakes for a gluten-free option, though the texture will be slightly different. For a vegan version, replace the dairy cheeses with nutritional yeast and vegan cheese blends, and use plant-based milk in the béchamel.
Assemble the gratin up to 24 hours ahead and refrigerate, covered. Bring to room temperature before baking for even cooking. The baked gratin reheats beautifully—just cover with foil and warm at 350°F for 10-15 minutes. It keeps well in the fridge for 4-5 days, though the texture softens slightly. For meal prep, portion into individual servings and freeze for up to 3 months. Thaw overnight in the fridge before reheating. The breadcrumb topping loses crispiness when reheated, so it's best enjoyed fresh from the oven.
Why You'll Love This Recipe
- One-Pan Magic: I swear by this for lazy nights—just slice tomatoes, toss in a buttery roux, add milk and cheese, then bake. No chopping boards left to soak overnight.
- Gruyère Gold: That nutty, melty cheese transforms simple tomatoes into something ridiculously good. The crispy top? Even better than takeout.
- Weeknight to Dinner Party: Same recipe works for a quick weeknight dinner or impressing guests. Just double the batch and serve with crusty bread—no one will guess it’s this easy.
- Leftovers That Don’t Suck: The sauce thickens beautifully when reheated, so it’s my go-to for meal prep. (Yes, even the kids ask for seconds.) Plus, it’s cheaper than ordering in.
Step-by-step instructions for tomato gratin recipe
Here's how to assemble this rich, cheesy tomato bake with layers of flavor and texture.
Prepare the Tomato Base
Preheat your oven to 375°F. Lightly grease a 9x13-inch baking dish with the 1 tablespoon extra-virgin olive oil to prevent sticking. Halve the 2.5 pounds fresh tomatoes horizontally and arrange them cut-side down in the prepared dish. The juices will release and create a flavorful foundation.
Season the tomatoes generously with 1 teaspoon salt, ¼ teaspoon ground black pepper, and ⅛ teaspoon nutmeg. This early seasoning ensures every layer absorbs the flavors. Arrange them in a single layer, overlapping slightly if needed to cover the bottom completely. Bake for 20 minutes until the tomatoes begin to soften and release their juices.
Make the Gruyère Béchamel
While the tomatoes bake, melt the ½ cup unsalted butter in a medium saucepan over medium heat. Once foaming, whisk in the ½ cup all-purpose flour and cook for 1-2 minutes until the mixture forms a smooth paste. Gradually whisk in the 2 cups whole milk, ensuring no lumps form. Stir in the ¼ cup chopped fresh thyme leaves and 3 minced garlic cloves.
Bring the mixture to a gentle simmer, then reduce heat to low. Cook for 5-7 minutes until the sauce thickens enough to coat the back of a spoon. Remove from heat and stir in 1 cup gruyère cheese and ½ cup parmesan cheese until fully melted and smooth. Season with remaining ½ teaspoon salt and ¼ teaspoon black pepper. The sauce should be velvety and rich, ready to bind all the layers together.
Assemble and Top the Gratin
Carefully pour the béchamel sauce over the baked tomatoes, spreading it evenly to the edges. The sauce should cover the tomatoes completely but not overflow the dish. Sprinkle the remaining ½ cup gruyère cheese evenly over the top, pressing it gently into the sauce with a spoon. This creates the signature cheesy crust.
In a small bowl, mix the ½ cup panko breadcrumbs with ¼ teaspoon nutmeg and ¼ teaspoon black pepper. Sprinkle this mixture evenly over the cheese layer, pressing down lightly with your fingers. The panko will toast beautifully and add a delightful crunch to contrast the creamy filling. Return the dish to the oven.
Bake to Golden Perfection
Bake for 25-30 minutes until the top is deep golden brown and bubbly. The edges should be crisp while the center remains slightly soft—this ensures a creamy texture throughout. If the top browns too quickly, tent loosely with aluminum foil for the last 10 minutes to prevent over-browning.
Remove from the oven and let rest for 10 minutes before serving. This resting time allows the layers to set slightly, making it easier to slice. The gratin should have a perfectly crispy, cheesy crust on top with tender, juicy tomatoes beneath. Serve warm with crusty bread to soak up any extra sauce—every bite delivers rich, cheesy tomato flavor with a satisfying crunch.
Pro Tips For Making Tomato Gratin
- Preheat the Dish: Pop your baking dish in a 400°F (200°C) oven for 10 minutes before adding the tomato mixture—this prevents the bottom from turning to soup. I learned this the hard way when my first gratin came out watery instead of golden. Trust me, the extra two minutes now saves you from a sad, soggy mess later.
- Blot Those Tomatoes: Pat fresh tomatoes dry with paper towels before slicing—wet skins steam instead of caramelize. My grandmother swore by this, and she was right: the difference between a glossy, jammy gratin and one that stays pale is just a quick wipe-down.
- Don’t Rush the Roux: Cook the butter-flour slurry low and slow until it’s a pale, nutty gold—not brown—before adding milk. After burning three batches, I finally figured out that patience here means a creamy, velvety sauce, not a floury aftertaste.
- Layer Cheese Like a Pro: Sprinkle Gruyère in three stages—half before baking, half after the first 20 minutes, and the rest right at the end. This guarantees a crispy top without a cheesy brick. (Yes, even if you’re impatient like me.)
Serving suggestions for this recipe
Crusty Bread Pairing
Serve your tomato gratin alongside a warm, crusty baguette for the ultimate sauce-soaking experience. I recommend a baguette from a local bakery—look for one with a crisp exterior and airy interior.
The bread's texture contrasts beautifully with the creamy gratin, and each bite becomes a delicious combo. For extra flair, brush the bread with garlic-infused olive oil before serving. 🥖
Green Salad Balance
A bright green salad cuts through the richness of the gratin while adding freshness. Toss 4 cups mixed greens (like arugula and romaine) with 1 tbsp lemon juice, 2 tbsp olive oil, and a pinch of flaky sea salt.
Add sliced cherry tomatoes and shaved Parmesan to complement the gratin's flavors. This simple side keeps the meal light and balanced.
Protein Additions
Transform your gratin into a hearty main course by adding protein. Grilled chicken breast or shrimp skewers pair perfectly, as do crispy pork chops. For a vegetarian option, serve with white beans tossed in olive oil and herbs.
The protein enhances the dish's satisfying quality while keeping the meal well-rounded. 🍗
Wine Pairings
A crisp white wine elevates the gratin's flavors. I love a Chardonnay from Burgundy—its buttery notes complement the cheese, while the acidity balances the tomatoes. For something lighter, try a Sauvignon Blanc from New Zealand.
Red wine lovers can opt for a Pinot Noir, which won't overpower the dish. Chill your wine to 50-55°F for the best experience. 🍷
Garnish for Freshness
Add a final touch with fresh herbs or a drizzle of sauce. Sprinkle chopped parsley or basil over the gratin just before serving for a pop of color and freshness.
For extra richness, drizzle with a béchamel reduction made by simmering leftover sauce until thickened. This garnish elevates the dish's presentation and flavor profile. ✨
Meal Prep Serving
If serving leftovers, reheat the gratin covered with foil at 350°F for 10-15 minutes to restore its creamy texture. Pair with pickled vegetables or a simple tomato soup for a comforting, no-fuss meal. The contrast of warm gratin and cool pickles adds a refreshing twist to leftovers. 🍅
Nutrition facts
Frequently asked questions
Can I use canned tomatoes instead of fresh?
Drain and dry 2 (28 oz) cans crushed tomatoes thoroughly before layering. For best texture, simmer them first to reduce excess moisture, then season with 1 tsp salt, ¼ tsp pepper, and ⅛ tsp nutmeg just like fresh tomatoes. The flavor will be slightly different but still delicious.
How do I make this recipe vegan?
Replace the dairy cheeses with 1½ cups vegan cheese blend and ½ cup nutritional yeast. Use 2 cups unsweetened almond milk instead of whole milk for the béchamel, and ½ cup vegan butter for cooking. The texture will be slightly different but still rich and satisfying.
Why does my gratin get watery?
Watery gratin usually means excess moisture from unripe tomatoes or insufficient baking time. Always pre-bake tomatoes for 20 minutes to release juices, then drain any excess before adding béchamel. If using fresh tomatoes, choose ripe but firm ones. Bake at 375°F for the full 25-30 minutes to set the sauce properly.
Can I make this ahead of time?
Yes! Assemble the gratin (up to adding breadcrumbs) and refrigerate for up to 24 hours. When ready to bake, add breadcrumbs and bake at 375°F for 25-30 minutes. For best results, bring to room temperature before baking. Leftovers keep well in the fridge for 4-5 days, though the crust loses crispness when reheated.
What's the best way to reheat leftovers?
Cover with foil and reheat at 350°F for 10-15 minutes until warmed through. For extra crispiness, broil for 2-3 minutes at the end (watch closely!). The texture won't be identical to fresh, but it's still delicious. Pair with a simple salad or crusty bread to make it feel like a new meal.
