
There’s a grilled ham and cheese, and then there’s this one: thick slices of crusty bread stacked with thin-sliced ham and melted cheese, topped with even more cheese, and baked until the top is blistered and golden. It’s the sandwich you make when you want a cozy dinner without much fuss.
The first bite gives you a crisp, almost lacy cheese crust that crackles under your teeth. Under it, the bread is toasty outside and soft inside, and the ham is warm, salty and tender. Melted Swiss stretches from every layer and drips down the sides into crispy little puddles at the bottom of the dish. Cracked black pepper adds a gentle bite, and fresh thyme brings a light, earthy smell as soon as you pull the dish out of the oven.
For home cooks, this recipe is easy. You don’t flip anything or stand over a skillet, and you don’t have to juggle batches. You build four sandwiches, put them in one dish, and let the oven do the work while you set the table or toss a salad. The ingredient list is short, and everything comes from a regular grocery store.
It’s a good fit for busy weeknights, lazy weekend lunches, game-day spreads and feeding a hungry family. Kids love the melty cheese, adults love the crunchy top, and the recipe doubles easily in a bigger pan when you need to feed a crowd.
Why This Recipe Works
Cheese goes on top, not just inside. Most ham and cheese sandwiches hide the cheese in the middle. Here, a generous layer of shredded Swiss goes on top of the bread too. In a hot oven it melts, bubbles and browns into a crisp, savory crust with toasty spots. That browning (the Maillard reaction) creates the deep, nutty flavor that makes these sandwiches taste like a café special instead of a lunchbox standby.
Thick, sturdy bread holds everything together. Rustic bread sliced about ¾ inch (2 cm) thick can handle the heat, the melting cheese and the weight of the ham without going soggy. Brushing the bottom slices with melted butter helps them crisp against the hot dish, so every sandwich stays crunchy underneath too.
A two-stage bake. The sandwiches bake at a moderate-high temperature first so the inside heats through and the cheese fully melts. Then a short blast under the broiler browns the top. If you only broiled them, the top would burn while the middle stayed cold. If you only baked them, the top would stay pale.
Tips for Success
- Use day-old bread. Slightly stale bread is firmer, slices more cleanly and soaks up less butter, so the crust stays crunchy.
- Bring the ham to room temperature. Leave it out for 15 minutes before assembling so the center heats through in the same time it takes the top to brown.
- Shred cheese cold, then let it sit. Cold blocks grate more easily, but cheese that warms for 10 minutes on the counter melts more evenly in the oven.
- Keep your broiler distance right. About 6 inches (15 cm) from the heat is ideal. If you’re closer, the top burns before it bubbles.
- Line for easy cleanup. Run a little extra butter along the inside walls of the dish so cheese drips release easily after baking.
- Make ahead. Assemble the sandwiches without the topping up to 4 hours ahead, cover and refrigerate. Add the cheese right before baking and add 3–4 minutes to the bake time.
- Don’t skip the pepper. Swiss and ham are both mild and salty. The black pepper keeps the flavor from tasting flat.
Variations
Mustard-swipe version. Spread 1 teaspoon of Dijon or whole-grain mustard on the inside of each top slice before closing the sandwiches. The tangy heat cuts through the rich cheese, and it tastes close to a classic croque monsieur.
Turkey and cheddar. Swap the ham for thin-sliced roast turkey and the Swiss for sharp white cheddar. Cheddar browns a bit faster, so check the broiler at the 90-second mark.
Honey-glazed ham with apples. Use honey ham and tuck a few paper-thin apple slices between the ham layers. The sweet, crisp fruit pairs well with the salty ham and nutty cheese.
Creamy béchamel top. Before adding the shredded cheese, spoon 2 tablespoons of simple white sauce over each sandwich. It gives an extra-creamy, custardy top under the browned crust.
FAQ
Can I use a slow cooker crock for this?
Yes, but only the removable stoneware insert, and only if the manufacturer says it’s oven-safe. Bake it in the oven exactly as written. Don’t put the lid or the heating base in the oven, and check the broiler rating before broiling, since some inserts aren’t safe under direct high heat.
What’s the best cheese for a crispy, golden top?
Swiss, Gruyère and Emmental are best because they melt smoothly and brown beautifully without getting greasy. Mozzarella melts well but stays pale, and very aged cheeses can separate. A 50/50 mix of Swiss and Gruyère gives you more flavor if you want it.
Why did my sandwiches get soggy on the bottom?
Usually the bread was too thin or too soft, or the bottom slices weren’t buttered. Butter forms a thin barrier that fries the bread against the hot dish. Heating the empty dish in the oven for 5 minutes before assembling also helps the bottoms crisp.
Can I make these with gluten-free bread?
Yes. Pick a sturdy gluten-free sandwich loaf and slice it a bit thicker, about 1 inch (2.5 cm), because gluten-free bread tends to be more fragile. Gluten-free bread browns faster, so start checking at 12 minutes.
How do I know the inside is hot enough?
An instant-read thermometer in the center of the ham should read about 140°F (60°C). Without one, look for cheese oozing freely from all sides and a knife tip that feels hot after 5 seconds in the middle.
Storage and Reheating
Let any leftovers cool to room temperature, which should take no more than 1 hour. Then wrap each sandwich in foil or put it in an airtight container. They keep in the refrigerator for up to 3 days. The top crust softens as it sits, but reheating brings most of the crunch back.
To reheat, put the sandwiches on a baking sheet and warm them in a 350°F (175°C) oven for 10–12 minutes, then broil for 1 minute to re-crisp the top. An air fryer at 350°F (175°C) for 5–6 minutes also works well. Avoid the microwave if you can, since it makes the bread chewy and the cheese rubbery.
These sandwiches freeze reasonably well for up to 2 months. Wrap each one tightly in plastic wrap and then foil. Thaw overnight in the refrigerator, then reheat as above. For the best texture, freeze the assembled sandwiches before baking and add the cheese topping fresh on baking day.
Serving Suggestions
A simple green salad with lemon vinaigrette is the classic partner, because its bright acidity cuts through the rich, melty cheese. A bowl of tomato soup is great for dunking, and its tangy sweetness balances the salty ham. Crunchy dill pickles add a sharp, cool contrast.
For a heartier spread, add roasted potatoes or oven fries, which can roast at the same temperature on a lower rack while the sandwiches bake. For brunch, serve them with fresh fruit like grapes or sliced apples to lighten the meal.

Final Notes
This is comfort food with almost no work: crusty bread, tender ham and plenty of melted cheese, baked until the top is crisp and golden. Once you’ve made it, you’ll probably keep coming back to it on cold evenings, busy weeknights and any day that calls for something warm and cheesy. Watch the broiler, give the sandwiches a few minutes to rest, and scrape up every crispy bit of cheese from the dish.
Print
Baked Ham and Cheese Sandwiches Recipe
- Total Time: 30 minutes
- Yield: 4 sandwiches 1x
Description
Crusty bread, tender ham, and melted Swiss baked until golden and blistered on top, for a cozy 30-minute dinner the whole family will love.
Ingredients
- 8 slices rustic white or sourdough bread, ¾ inch (2 cm) thick (about 1 lb / 450 g total)
- 3 tablespoons (42 g) unsalted butter, melted
- 12 ounces (340 g) thinly sliced deli ham
- 8 slices Swiss cheese (about 8 oz / 225 g)
- 1½ cups (170 g) shredded Swiss cheese
- ½ teaspoon (1 g) freshly cracked black pepper
- 4–6 small sprigs fresh thyme (about 1 tablespoon leaves)
Instructions
- Prepare the oven and bread. Set an oven rack in the upper-middle position and heat the oven to 400°F (200°C). Slice the loaf into eight ¾-inch (2 cm) slices with a serrated knife, using long, gentle sawing strokes. Brush one side of four slices with melted butter and lay them buttered side down in the baking dish. They should fit snugly, and slight overlapping is fine. A common mistake is cutting the slices too thin. Anything under ½ inch (1.3 cm) goes soft under the weight of the filling.
- Layer the ham and cheese. Top each bread slice with one slice of Swiss cheese. Divide the ham into four portions of about 3 ounces (85 g) and loosely fold or ruffle the slices onto the cheese instead of laying them flat. You want soft, wavy layers you can see from the side. Add a second slice of Swiss over the ham. Folding the ham traps small pockets of air, so the filling looks generous and stays tender. Packing it down flat makes the sandwich dense and chewy.
- Close the sandwiches and add the topping. Set the remaining bread slices on top and press down gently with your palm, just enough to settle everything. Brush the tops lightly with the rest of the butter. Pile the shredded Swiss evenly over each sandwich, about ⅓ cup (42 g) each, pushing it right to the edges so some spills over the crust. Season with the cracked black pepper. Don’t leave bare bread around the edges, because those spots burn before the cheese browns.
- Bake until melted through. Bake for 15–18 minutes. When they’re ready, the topping will be fully melted and starting to bubble, the cheese inside will ooze from the sides, and the kitchen will smell toasty and buttery. If you’re unsure, slide a thin knife into the center of one sandwich and touch it to your lip. It should feel hot. Pulling them out too early leaves cold ham and stiff cheese in the middle, however good the top looks.
- Broil for a golden, blistered top. Switch the oven to broil (high) and broil for 2–3 minutes, watching closely through the oven window. The cheese will puff, bubble and develop deep golden-brown spots with a few darker edges, just like a good French onion soup crust. Turn the dish halfway through if your broiler heats unevenly. The biggest mistake here is walking away. Cheese can go from golden to burnt in under 30 seconds.
- Rest, garnish and serve. Take the dish out and let the sandwiches rest for 3–5 minutes. The melted cheese firms up a little, which makes the sandwiches easier to lift and keeps you from burning your mouth. Lay a small sprig of fresh thyme on each sandwich. Serve straight from the dish with a large spoon, scraping up the crispy cheese from the bottom. If you cut them right away, the filling slides out, so give them those few minutes.
Notes
- Use day-old bread. Slightly stale bread is firmer, slices more cleanly and soaks up less butter, so the crust stays crunchy.
- Bring the ham to room temperature. Leave it out for 15 minutes before assembling so the center heats through in the same time it takes the top to brown.
- Shred cheese cold, then let it sit. Cold blocks grate more easily, but cheese that warms for 10 minutes on the counter melts more evenly in the oven.
- Keep your broiler distance right. About 6 inches (15 cm) from the heat is ideal. If you’re closer, the top burns before it bubbles.
- Line for easy cleanup. Run a little extra butter along the inside walls of the dish so cheese drips release easily after baking.
- Make ahead. Assemble the sandwiches without the topping up to 4 hours ahead, cover and refrigerate. Add the cheese right before baking and add 3–4 minutes to the bake time.
- Don’t skip the pepper. Swiss and ham are both mild and salty. The black pepper keeps the flavor from tasting flat.
- Prep Time: 10 minutes
- Cook Time: 20 minutes
- Category: Dinner
