Why you'll love this recipe
- 30-minute comfort dinner
- Crowd-pleaser for all ages
- Make-ahead for busy weeks
- Freezer-friendly for leftovers
- Kid-approved cheesy goodness
I still remember the first time my teenage son dared to steal a slice straight from the oven, his eyes widening at the steam‑laden aroma of melted cheddar. We were sitting on the porch, rain pattering against the windows, while the golden top glistened in the dim light. That simple, buttery bite became our go‑to comfort after long school days, and now it’s the star of every family gathering. The memory of that first bite still makes me smile whenever I hear the sizzle of onions hitting a hot pan.
The story
The kitchen fills with the sweet scent of caramelizing onions, a buttery whisper, and the faint pop of corn kernels hitting a hot pan. A golden crust lifts from the oven, crackling lightly as you slice through the creamy center. Your fork plunges into a melt‑in‑your‑mouth blend of cheddar and custard.
I first tried this pie on a rainy Thursday after a long day at the office, craving something that felt like a hug. My sister tossed a handful of frozen corn into the skillet, and the whole house was instantly comforted. That moment sparked the recipe that’s now a staple at our family table.
What sets this version apart is the quick sauté of aromatics before they meet the custard, creating a depth of flavor you won’t get from a simple mix‑in. The cheese is folded in at the last minute, preserving its stretchiness while still blending into the custard. And we bake in a single 9‑inch pie dish for a crisp, buttery edge.
The flavor profile layers sweet corn against sharp cheddar, brightened by a hint of onion and garlic, while the egg‑milk custard adds a silky, slightly buttery richness. Each bite balances salty, sweet, and umami notes, with a tender crumb on top that gives a satisfying contrast to the creamy interior.
Serve this pie with a simple arugula salad dressed in lemon vinaigrette, or pair it with crusty sourdough to scoop up any lingering sauce. It shines at a casual Tuesday night dinner, yet it’s elegant enough for a potluck spread. The leftovers reheat beautifully, making it a smart make‑ahead option for busy weeks.
Don’t let the idea of a savory pie intimidate you—there’s no pastry rolling or fancy equipment required. The only technique is a quick sauté and a gentle whisk, both easy for any home cook. With a total time under an hour, you’ll have a restaurant‑quality dish without the stress.
Why This Recipe Works
- Sautéing the onion releases sugars that caramelize, adding depth.
- Egg‑milk custard sets gently, creating a silky, cohesive filling.
- Cheddar cheese melts into the custard, providing flavor and a creamy texture.
Ingredient notes & substitutions
Butter
Adds richness and helps the crust turn golden and flaky.
Yellow Onion
Provides a sweet, aromatic foundation that balances the corn.
Corn Kernels
Gives the pie its signature sweet pop and textural contrast.
Shredded Cheddar Cheese
Delivers sharp, melty flavor that ties the custard together.
Eggs
Bind the filling and set the custard for a silky texture.
Milk
Creates a creamy base; can be enriched for extra silkiness.
Pie Crust
Forms the structure and provides a buttery, flaky edge.
Equipment you'll need
Ingredients
- 2 tablespoons Butter (Adds richness; use extra for greasing the dish.)
- 1 medium Yellow Onion (Substitute with shallots if desired.)
- 2 cloves Garlic (Use fresh minced or powdered.)
- 2 cups Corn Kernels (Fresh is best, but frozen or well-drained canned can work.)
- 1.5 cups Shredded Cheddar Cheese (Sharp cheddar is classic; gouda or Monterey Jack can be used.)
- 3 Eggs (Essential for binding and structure.)
- 1 cup Milk (Can be replaced with cream for richer filling.)
- to taste Salt (Crucial for seasoning.)
- to taste Pepper (Crucial for seasoning.)
- 1 crust Pie Crust (Omit for gluten-free version.)
Before You Start
- Preheat oven to 350°F
- Soften butter for greasing
- Mise en place all vegetables
- Whisk eggs and milk together
- Grease pie dish with butter
Instructions
- 1Step 1
Preheat your oven to 350°F (175°C) and grease a 9-inch pie dish with butter.
- 2Step 2
Melt 2 tablespoons of butter in a skillet over medium heat. Add chopped yellow onion and cook for about 5 minutes, stirring frequently, until softened.
- 3Step 3
Add minced garlic and sauté for an additional minute.
- 4Step 4
Stir in corn kernels, sauté for 2-3 minutes until warmed through. Remove from heat and allow to cool slightly.
- 5Step 5
In a mixing bowl, whisk together 3 eggs, 1 cup of milk, and a pinch of salt and pepper until smooth.
- 6Step 6
Combine the sautéed vegetables with the egg and milk mixture, then fold in 1 ½ cups of shredded cheddar cheese.
- 7Step 7
Pour the mixture into the prepared pie dish and spread evenly.
- 8Step 8
Bake for 35-40 minutes until the top is lightly golden and the filling is set.
- 9Step 9
Let cool for at least 10 minutes before slicing.
Pro tips
Preheat oven fully
A hot oven ensures the crust sets quickly and turns golden.
Brown butter for depth
Melt butter until it turns amber; this adds nutty complexity.
Sauté onions until translucent
Cook onions 5 minutes for sweetness without burning.
Cool corn mixture
Let the sautéed corn cool slightly before mixing with eggs to avoid curdling.
Whisk eggs and milk smooth
Combine until no streaks; a uniform custard yields a silky filling.
Don’t overmix cheese
Fold cheese gently so it melts without becoming oily.
Check doneness with toothpick
Insert in center; it should come out clean with just a hint of custard.
Rest before slicing
Allow the pie to cool 10 minutes so the filling firms up.
Variations to try
Spicy Cajun Twist
Add a pinch of Cajun seasoning and a dash of hot sauce to the sauté.
Southwest Tex‑Mex
Stir in black beans, diced jalapeños, and cumin; top with crushed tortilla chips.
Dairy‑Free Version
Swap cheddar for a sharp dairy‑free cheese and use oat milk instead of dairy milk.
Mini Hand‑Pies
Divide the filling among small pastry shells for individual servings.
Herb‑Infused Summer
Mix fresh basil and thyme into the custard for a bright, garden‑fresh note.
Serving Suggestions
Troubleshooting
Filling is watery
Bake a few minutes longer; the custard will firm up.
Top is not golden
Broil for 2‑3 minutes at the end, watching closely.
Crust is soggy
Pre‑bake crust 5 minutes before adding filling.
Cheese clumps
Fold cheese in after the custard is mixed, avoid high heat.
Pie sticks to dish
Generously butter the dish and let the pie cool before removing.
Storage & make-ahead
Refrigerator
Store in an airtight container; keep up to 3 days.
Freezer
Wrap tightly and freeze for up to 2 months; thaw overnight in fridge.
Best way to reheat
Reheat in a 350°F oven until warmed through, about 15 minutes.
Make-ahead
Assemble the pie a day ahead, cover, and refrigerate; bake when ready.

Ingredients
- 2 tablespoons Butter (Adds richness; use extra for greasing the dish.)
- 1 medium Yellow Onion (Substitute with shallots if desired.)
- 2 cloves Garlic (Use fresh minced or powdered.)
- 2 cups Corn Kernels (Fresh is best, but frozen or well-drained canned can work.)
- 1.5 cups Shredded Cheddar Cheese (Sharp cheddar is classic; gouda or Monterey Jack can be used.)
- 3 Eggs (Essential for binding and structure.)
- 1 cup Milk (Can be replaced with cream for richer filling.)
- to taste Salt (Crucial for seasoning.)
- to taste Pepper (Crucial for seasoning.)
- 1 crust Pie Crust (Omit for gluten-free version.)
Instructions
- 1Preheat your oven to 350°F (175°C) and grease a 9-inch pie dish with butter.
- 2Melt 2 tablespoons of butter in a skillet over medium heat. Add chopped yellow onion and cook for about 5 minutes, stirring frequently, until softened.
- 3Add minced garlic and sauté for an additional minute.
- 4Stir in corn kernels, sauté for 2-3 minutes until warmed through. Remove from heat and allow to cool slightly.
- 5In a mixing bowl, whisk together 3 eggs, 1 cup of milk, and a pinch of salt and pepper until smooth.
- 6Combine the sautéed vegetables with the egg and milk mixture, then fold in 1 ½ cups of shredded cheddar cheese.
- 7Pour the mixture into the prepared pie dish and spread evenly.
- 8Bake for 35-40 minutes until the top is lightly golden and the filling is set.
- 9Let cool for at least 10 minutes before slicing.