This baked yellow squash is a shallow gratin rather than the mixed sheet-pan summer squash from an earlier recipe. Salting the yellow squash coins briefly draws off water, and sautéed onion adds flavor without releasing raw moisture into the dish. A restrained Parmesan crumb browns on top while the squash remains tender and recognizable.
Ingredient moisture, piece size, cookware and starting temperature can shift the finish. The method therefore pairs a practical time range with visible or temperature-based doneness cues.
This recipe was developed through culinary research and editorial review. It is not represented as a personal kitchen test.
For a related idea, see baked acorn squash recipe. You may also want baked butternut squash recipe.
Why this recipe works
Salt draws out surface water: A short drain reduces the liquid yellow squash releases in the oven.
Onion cooks first: Sautéing removes raw moisture and develops sweetness before baking.
A shallow dish encourages evaporation: A deep packed casserole would trap more steam around the squash.
The first batch is the useful reference point. Measure as written, note the finish in your equipment, and change only one variable at a time if an adjustment is needed.
Ingredients

- 2 pounds yellow summer squash, cut in 1/3-inch coins
- 1 teaspoon kosher salt, divided
- 1 tablespoon olive oil
- 1 medium yellow onion, thinly sliced
- 2 cloves garlic, minced
- 1/2 teaspoon dried thyme
- 1/4 teaspoon black pepper
- 1/2 cup plain panko breadcrumbs
- 1/2 cup finely grated Parmesan, divided
- 2 tablespoons melted unsalted butter
- 1 tablespoon chopped parsley, optional
Ingredient notes
Yellow squash
Choose small to medium firm squash with smooth skin and small seeds.
Panko
Its coarse crumbs stay lighter than fine breadcrumbs.
Parmesan
Finely grate it so a modest amount spreads evenly through the topping.
How to make baked yellow squash

1. Drain the squash
Toss squash coins with 1/2 teaspoon salt in a colander, rest 10 minutes, then blot thoroughly with clean towels.
2. Cook the onion
Heat oil over medium, cook onion 6 to 8 minutes until soft and lightly golden, then add garlic and thyme for 30 seconds.
3. Prepare the dish
Heat the oven to 400°F, lightly grease a shallow 2-quart dish and combine squash, onion mixture, pepper and 1/4 cup Parmesan.
4. Make the topping
Mix panko, remaining Parmesan and melted butter until evenly moistened.
5. Bake
Spread squash in a shallow layer, scatter topping evenly and bake 25 to 35 minutes until squash is fork-tender and the crumb is golden.
6. Rest
Rest 5 minutes, spoon off any small pool at the edge if necessary, add parsley and serve.
Quick timing and doneness guide
| Stage | What to look for | What to do |
|---|---|---|
| Preparation | A short drain reduces the liquid yellow squash releases in the oven. | Complete the size, moisture or equipment setup before cooking |
| First check | Mix panko, remaining Parmesan and melted butter until evenly moistened. | Check at the early end of the range and keep unfinished portions cooking |
| Finished | Rest 5 minutes, spoon off any small pool at the edge if necessary, add parsley and serve. | Stop when the stated texture or safe temperature is reached |
| If adjustment is needed | Tent loosely while the squash finishes. | Make the smallest useful change, then check again |
This table is a decision guide, not a replacement for ingredient labels, the appliance manual or safe-temperature guidance. When food safety depends on internal temperature, check more than one thick piece with a reliable thermometer.
Substitutions and variations
Gluten-free
Use gluten-free panko and verify the Parmesan label.
Dairy-free
Use olive oil in the topping and a dairy-free savory sprinkle.
Fresh herbs
Replace dried thyme with 1 1/2 teaspoons fresh thyme leaves.
Change one major component at a time. Moisture, sweetness, structure and cooking time affect one another, so several simultaneous substitutions are harder to predict.
Serving ideas
Serve beside roasted chicken, fish, beans or a grain dish. This gratin is best after a short rest, while the topping remains crisp.
Troubleshooting
The gratin is watery
Likely cause: Squash was not drained or the dish was deep.
Fix: Salt, blot and use a shallow baking dish.
The topping is pale
Likely cause: The dish needs more top heat.
Fix: Move it higher for the last few minutes while watching closely.
The squash is mushy
Likely cause: Coins were thin or baked beyond fork-tender.
Fix: Cut consistent 1/3-inch coins and check at 25 minutes.
The topping burns
Likely cause: The rack was too close to the element.
Fix: Tent loosely while the squash finishes.
Storage, freezing and reheating
Refrigerator: Refrigerate within 2 hours and use within 3 to 4 days.
Freezer: Freezing is not recommended because yellow squash becomes watery after thawing.
Reheating or serving after storage: Reheat uncovered at 350°F until the center reaches 165°F; a toaster oven restores the crumb best.
For general handling, the FoodSafety.gov Four Steps to Food Safety is the authoritative outside reference used for this article. FDA recommends rinsing produce under running water without soap and keeping cut produce clean.
Frequently asked questions
How do I keep baked yellow squash from getting watery?
Salt it for 10 minutes, blot thoroughly and bake in a shallow dish.
Do I need to peel yellow squash?
No. Tender summer squash skin can remain.
Can this gratin be frozen?
It is not recommended because thawed squash releases extra water.
Recipe development note
The method for baked yellow squash recipe was developed through culinary research and editorial review. The quantities and time ranges are an editorial recipe specification, not a claim that every ingredient brand, appliance or batch was personally tested in one kitchen.
Nutrition is an estimate per servings and varies with brands, optional ingredients and portion size. The accompanying visuals are AI-assisted food-editorial images, not photographs of a kitchen test.
Printable recipe card

Baked Yellow Squash Recipe
Ingredients
Equipment
Method
- Toss squash coins with 1/2 teaspoon salt in a colander, rest 10 minutes, then blot thoroughly with clean towels.
- Heat oil over medium, cook onion 6 to 8 minutes until soft and lightly golden, then add garlic and thyme for 30 seconds.
- Heat the oven to 400°F, lightly grease a shallow 2-quart dish and combine squash, onion mixture, pepper and 1/4 cup Parmesan.
- Mix panko, remaining Parmesan and melted butter until evenly moistened.
- Spread squash in a shallow layer, scatter topping evenly and bake 25 to 35 minutes until squash is fork-tender and the crumb is golden.
- Rest 5 minutes, spoon off any small pool at the edge if necessary, add parsley and serve.
Notes
- Read ingredient labels and the manual for any appliance used.
- Begin checking at the early end of the range.
- FDA recommends rinsing produce under running water without soap and keeping cut produce clean.
- This recipe was developed through culinary research and editorial review.
This recipe was developed through culinary research and editorial review. Equipment, ingredient brands, starting temperature and batch size can change timing; follow the method cues and applicable safety guidance.
Nutrition is an estimate per servings and varies with brands, optional ingredients and portion size.