Golden sourdough, melted mozzarella, and a swipe of basil pesto turn this grilled cheese into something that eats like lunch but feels a little more like a treat. The bread gets deeply crisp without going hard, the pesto perfumes every bite, and the sun-dried tomatoes cut through the richness with a sweet-tart chew that keeps the sandwich from feeling flat.
The trick is keeping the heat at medium-low so the bread has time to brown while the mozzarella melts all the way through. Pesto on the inside gives you a stronger basil hit, and butter on the outside gives the crust that even, glossy finish you want from a good grilled cheese. Thick sourdough matters here because it stands up to the filling without turning soggy.
Below, I’ll walk you through the small choices that make this sandwich worth repeating, from the best way to layer the fillings to the swap I’d use if you want a sharper, saltier bite.
The pesto stayed bright and the mozzarella melted all the way through without making the bread soggy. I cooked it low and slow like you said, and the crust turned out crisp instead of burnt.
Save this pesto grilled cheese for a fast lunch with a crisp sourdough crust, melty mozzarella, and those sweet sun-dried tomato pockets.
The Bread Burns Before the Cheese Melts Unless You Control the Heat
Grilled cheese fails when the skillet runs hot enough to toast the outside before the filling has time to soften. With pesto and mozzarella, that problem shows up fast because pesto adds moisture and mozzarella needs a little patience to turn fully molten. Medium-low heat gives you a longer window to build a crisp crust while the center catches up.
Press the sandwich gently, not hard. Too much pressure squeezes out the cheese and smears the filling toward the edges, where it can scorch in the pan. A light press improves contact with the skillet; a heavy press ruins the melt.
What the Pesto, Mozzarella, and Sun-Dried Tomatoes Each Bring to the Sandwich

- Basil pesto — This is the backbone of the sandwich. Homemade pesto gives the brightest basil flavor, but a good store-bought version works well and keeps the recipe fast. If your pesto is very thick, loosen it with a small spoonful of the oil from the jar so it spreads without tearing the bread.
- Fresh mozzarella — Fresh mozzarella melts into long, creamy strands and gives the sandwich that gooey center people want. Slice it thin so it melts before the bread overbrowns. If you use low-moisture mozzarella, the texture will be drier and the pull less dramatic, but it will still melt cleanly.
- Sun-dried tomatoes in oil — These add sweetness, acidity, and a chewy bite that keeps the sandwich from tasting one-note. Drain them well so the bread doesn’t steam. If yours are very large, chop them so they distribute evenly instead of slipping out the sides.
- Sourdough bread — Thick slices are worth it here because they hold the filling and stay crisp at the edges. Any sturdy sandwich bread works, but soft bread can collapse once the cheese melts. Choose slices that are substantial enough to brown without drying out.
- Butter — Softened butter gives the outer crust even coverage and better browning than cold butter dragged across the bread. It also helps the sandwich develop that deep golden color without needing extra oil in the pan.
Building the Pesto Grilled Cheese So the Fillings Stay Put
Butter the Outside First
Spread softened butter across the outside of each bread slice in an even layer. The butter should reach all the way to the edges so the crust browns evenly instead of leaving pale patches. If the butter is too cold, it tears the bread; if it’s melted, it soaks in and the crust turns greasy instead of crisp.
Keep the Pesto on the Inside
Spread pesto on the unbuttered side of each slice. That keeps the basil flavor close to the cheese and prevents the filling from leaking into the skillet. Use enough for a clear green layer, but don’t overload it or the bread will slide once the cheese starts to melt.
Layer the Cheese Before the Tomatoes
Build each sandwich with mozzarella first, then sun-dried tomatoes. The cheese acts like glue and holds the tomatoes in place as it softens. If you put the tomatoes directly against the bread, they tend to fall out before the sandwich finishes cooking.
Cook Slowly Until the Center Softens
Set the sandwich in a skillet over medium-low heat and cook for 4 to 5 minutes per side, pressing lightly once or twice. You’re looking for a deep golden crust and cheese that looks soft at the edges before you flip. If the bread is browning too fast, lower the heat immediately; that’s the sign the pan is too hot for the filling to catch up.
Make It Sharper with a Little Parmesan
Add a light sprinkle of grated Parmesan inside the sandwich with the mozzarella if you want a saltier, nuttier finish. It won’t melt like mozzarella, but it adds depth and helps the pesto taste more savory.
Gluten-Free Version
Use a sturdy gluten-free sandwich bread that can handle being pressed in the skillet. Thin or fragile loaves can break once the cheese softens, so choose one with enough structure and cook it a little more gently than regular sourdough.
Dairy-Free Swap
Use a dairy-free mozzarella-style melt and swap the butter for plant butter or olive oil. The result will still crisp up nicely, but the filling usually softens rather than stretching, so keep the heat low and give it a little extra time in the pan.
Turn It Into a Heavier Lunch
Add a few slices of roasted chicken or turkey between the pesto and mozzarella. Keep the filling modest so the sandwich still seals and cooks evenly; too much bulk pushes the bread apart before the cheese has time to melt.
Storage and Reheating
- Refrigerator: Store leftovers wrapped in foil or in an airtight container for up to 2 days. The bread will soften a bit as it sits.
- Freezer: I don’t recommend freezing this sandwich. Fresh mozzarella turns watery when thawed, and the bread loses the crisp crust.
- Reheating: Reheat in a dry skillet over medium-low heat until the bread crisps back up and the center warms through. Skip the microwave if you want to keep the crust intact; it softens the bread and makes the filling rubbery.
Questions I Get Asked About This Recipe

Pesto Grilled Cheese
Ingredients
Equipment
Method
- Spread softened butter on the outside of each sourdough bread slice.
- Spread basil pesto generously on the inside (unbuttered) side of all four slices.
- Layer fresh mozzarella slices and drained sun-dried tomatoes on two of the pesto-covered slices.
- Top with the remaining two bread slices, pesto-side in and buttered-side out.
- Cook the sandwich in a skillet over medium-low heat for 4–5 minutes, pressing gently, until the underside is deep golden brown.
- Flip and cook for an additional 4–5 minutes per side, pressing gently, until the cheese is fully melted and the second side turns deep golden brown.
- Slice the grilled cheese in half and serve immediately, showing the gooey pesto-mozzarella interior with sun-dried tomatoes.


