
This corn casserole toasts some of the sweet corn until caramelized, sautes onion and garlic, and builds a light roux and whole milk sauce with Gruyere (or Swiss) and fresh thyme. After a 10 minute cool down, you stir in 8 whisked eggs, pour it into a 9×13 inch dish, top with more cheese, and bake at 350°F for about 45 minutes until set in the center (160°F) and golden on top. It is made from scratch, with no Jiffy mix and no cream style corn, serves 8 to 10, and the base can be made a day ahead.
If you are looking for a side dish that is decadently delicious, goes with just about everything, and is beyond easy to whip up, then you have absolutely landed in the right spot. I will be telling you how to make my favorite corn casserole, and let me tell you, it is going to be ready before you know it. My goal here is always to teach you how to make amazing homemade dishes to share with your family and friends, and this one? It is a total crowd pleaser. So, let us get into it!
Table of Contents
Why You Will Love This Decadently Delicious Corn Casserole
Alright, let us be real. Sometimes you just need a side dish that steals the show without demanding all your attention. This corn casserole is exactly that! It is super forgiving, so if you are a bit generous with the garlic or a tad heavy handed with the cheese, it just makes it even better.
What makes this particular casserole so special? Well, we are not just throwing things in a dish! We are toasting some of that sweet corn to really bring out its caramel notes, giving this dish a beautiful depth of flavor you will not get otherwise. Plus, the creamy base, rich Gruyere (or Swiss!), and fresh thyme come together for a soft, silky, and absolutely delicious mouthfeel that is just pure comfort.
Whether you are celebrating summer sweet corn or just want a little kiss of summer on your table in the dead of winter, this recipe delivers. It has got so much corn, cheese, and just plain amazingness in every bite. Trust me, you are gonna love it!
- Toasted, caramelized corn for deeper flavor
- A creamy, silky base made with a simple roux and whole milk
- Rich Gruyere and fresh thyme for savory, cozy flavor
- Make ahead friendly and perfect for holidays and potlucks
If you are a fan of corn, my Mexican Street Corn Salad is another flavor packed corn recipe that is perfect for summer cookouts.
What You Will Need
Special Equipment
- Large pot or Dutch oven (preferably a Dutch oven)
- Large mixing bowls
- Whisk
- Grater for cheese
- 9×13 inch baking dish
- Instant read thermometer (to check that the casserole is cooked through)
The Ingredients
- 5 cups (750g) corn kernels (fresh or frozen, thawed). If using fresh corn, plan on about 6 to 7 large ears.
- 2 small onions (about 1 and 1/2 cups diced)
- 3 large cloves garlic (or 2 regular cloves), minced
- 6 tablespoons (85g) unsalted butter, divided (or olive oil or vegetable oil for sauteing onions)
- 2 tablespoons for toasting corn
- 2 tablespoons for sauteing onions and garlic
- 2 tablespoons for roux
- 1 and 1/2 cups (230g) Gruyere cheese (or Swiss cheese), freshly shredded and divided. Shredded cups vary, so weigh it if you can.
- 8 large eggs
- 2 tablespoons all purpose flour
- 3 cups (720ml) whole milk
- 2 tablespoons fresh thyme leaves, stripped from stems (no need to chop)
- 2 teaspoons salt (to taste)
- 1 teaspoon white pepper (to taste)
Let Us Get Cooking
1. First Up, A Little Prep Work
To get started, you will want about 5 cups (or 750 grams) of corn kernels. You can totally use frozen corn for this. If you do, just grab 2 cups of it and pat it really dry. I actually used a mix of fresh and frozen corn for this dish. Before you hit the stove, you got to do a little more chopping. Dice up about two small onions. You are aiming for about 1 and 1/2 cups. Like I said, this dish is super forgiving, so feel free to be generous with your aromatics. Just slice your onions, keep them together, then cut the other way. Boom, 1 and 1/2 cups!
Last thing for prep is mincing some garlic. The recipe calls for two cloves, so naturally, go for three giant cloves! Give the garlic a good press before mincing. It really helps release the skin and those lovely oils. Now, a quick mince! That is most of the prep for now. And grate the 1 and 1/2 cups of Gruyere cheese while the corn is toasting, so let get that started!
2. Toasting the Corn for Extra Flavor
Alright, grab a large pot, or even better, a Dutch oven. Melt 2 tablespoons of butter over medium heat. Once it is shimmering, add 2 cups of your corn (the patted dry frozen or fresh corn, remember?). Spread it out carefully now, and let it toast and caramelize for almost 8 minutes. You are looking for some nice color, almost like you are searing something. Do not move it around too much at first. If you start hearing popping, that means it is time to give the corn a little stir, just to get it cooking evenly on all sides.
Alright, it is ready! Remove that beautiful, steamy, toasted corn from the heat and set it aside in a plate or bowl. That caramelization is going to add so much depth to the casserole.
3. Sauteing the Aromatics and Cracking Eggs
Once your toasted corn is out of the pot, add another 2 tablespoons of butter. Swirl it around, then pop the pot back on medium heat. Let that butter melt. Quick tip, you could totally swap the butter for olive oil or vegetable oil here if you prefer! Now, in go your diced onion and minced garlic. You are going to cook these until they are softened, which usually takes about 5 minutes. The exact time can vary depending on your stove and pot, so just keep an eye on them. Do not worry about any brown bits forming on the bottom of your Dutch oven. Those are just delicious flavors waiting to be stirred into our sauce!
While those aromatics are doing their thing, you can either zone out for a sec or use the time for more prep. Crack 8 eggs into a bowl and give them a quick whisk. Just break them up and stir them a bit. You want a soft and silky texture, not scrambled bits. Wash your hands after handling the raw eggs. And speaking of which, make sure you have 2 tablespoons of all purpose flour handy, because that is coming up next!
4. Building the Creamy Sauce
Once your onions are beautifully softened, add the remaining 2 tablespoons of butter to the pot. Plop it right in and let it melt, giving it a little swirl. As soon as that butter is liquid, sprinkle in 2 tablespoons of flour over the onions. Stir it in well and cook for about 2 minutes. This creates our roux, which is what will thicken everything up and hold it all together. After those 2 minutes, it is time to pour in 3 cups of milk. Mix it really, really well. Once it is all combined and smooth, take the pot off the heat.
5. Bringing It All Together
Okay, as soon as that creamy mixture is off the heat, it is time to add all the corn. Both your beautifully toasted corn and the remaining raw corn. In it goes! Next up, add 2 teaspoons of salt (add more or less to your taste, if you are sensitive), 1 teaspoon of white pepper (which gives you that peppery kick without any visible flecks), and those 2 tablespoons of fresh thyme. Just strip those leaves off the stems, no need to chop, easy peasy! Now, add 1 cup of the shredded Gruyere or Swiss cheese. Make sure to reserve that last half cup for the very end! Give it all a good stir to distribute the cheese, salt, pepper, and corn evenly throughout. You want it all to be one big and delicious composite mixture. Gruyere is salty, so give it a quick taste now (there is no raw egg in it yet) and adjust the seasoning.
Planning a holiday spread? This casserole is a perfect partner for my Juicy Brined and Stuffed Turkey and a big pour of my Easiest Turkey Drippings Gravy.
6. The All Important Cooling Step!
After everything is stirred together, set the mixture aside for about 10 minutes to cool down a bit. This is a super important step! It needs to cool down a bit before you add your eggs. If you dump them in now, they might just scramble, and you are going for a lovely soft and silky mouthfeel, not firm egg bits. So, give it 10 minutes! The mixture should feel warm, not hot. If it is still steaming hot, whisk a ladleful of it slowly into your eggs first to temper them, then stir that back into the pot.
7. Time to Bake!
Alright, it has been 10 minutes, so stir in those whisked eggs until fully incorporated. Now, dump this amazing mixture into a 9×13 inch baking dish. Spread it out evenly, then top the casserole with the remaining 1/2 cup of shredded cheese. Pop it into a preheated oven at 350 degrees Fahrenheit (175 degrees Celsius) and bake for about 45 minutes, or until it is perfectly set in the center and has a gorgeous golden top. A knife inserted near the center should come out clean, and the center should read 160 degrees Fahrenheit on an instant read thermometer. If you notice it is getting too much color too quickly (maybe after 25 minutes or so), no worries! Just loosely cover it with aluminum foil for the rest of the baking time.
8. Serve
Let the casserole cool for a few minutes before serving. Enjoy your decadently delicious corn casserole!
What to Serve With Corn Casserole
- Holiday mains: pair it with my Juicy Brined and Stuffed Turkey, gravy, and Easy 4-Ingredient Cranberry Orange Sauce
- Something to soak up the sauce: serve it with my White Cheddar Rosemary Dinner Rolls
- Dessert to finish: save room for my Silky Sweet Potato Pie
- Everyday dinners: it goes with roasted chicken, ham, or just about any main
- Potlucks and gatherings: bring it warm in an insulated carrier
Keeping Corn Casserole Safe for Potlucks and Holidays
- Egg and dairy casseroles should not sit out for more than 2 hours (1 hour in a hot room)
- Keep it hot (above 140°F) on a warming tray or in a warm oven if it will be out for a while
- Refrigerate leftovers promptly, within 2 hours of serving
Storing and Reheating Leftovers
- Store leftovers in an airtight container in the fridge for 3 to 4 days
- Reheat individual servings in the microwave until steaming hot, or cover the whole dish loosely with foil and bake at 350°F for about 20 minutes until heated through (165°F)
If you like this recipe Explore more recipes
FAQs
Can I use fresh or frozen corn for this recipe?
Absolutely! I actually used a mix of fresh and frozen corn for this dish. If you are using frozen corn, just make sure to pat those 2 cups dry, especially the ones you are going to toast. It helps them caramelize beautifully and gives you that amazing depth of flavor!
Can I make this corn casserole ahead of time?
You bet! You can totally get a head start on this. Assemble everything right up to the point before you add the eggs and put it in the oven. Cool it quickly, cover it, and store that mixture in the fridge for up to a day. When you are ready to bake, add the eggs, top with cheese, and let it sit at room temperature for about 30 minutes before baking. You might need to add an extra 5 to 10 minutes to the bake time.
Why is my corn casserole mushy or watery?
This casserole is meant to be super creamy and soft, but if it feels too mushy or watery, there are a couple of things to check. Make sure your corn, especially if it is frozen, is properly drained and patted dry if you are toasting it. Excess moisture can be a culprit! Also, ensure you have baked it long enough! It should be set in the center and should not jiggle too much. Every oven is a little different, so if it needs a few extra minutes to firm up, go for it!
How do I store and reheat leftovers?
If you are lucky enough to have leftovers, just pop them into an airtight container and store them in the fridge for 3 to 4 days. To reheat, you can microwave individual servings until warm, or for the whole dish, cover it loosely with foil and bake at 350 degrees Fahrenheit (175 degrees Celsius) until it is heated through, usually about 20 minutes.
Is this corn casserole made without Jiffy mix or cream style corn?
Yes. This is a from scratch corn casserole, so there is no Jiffy corn muffin mix and no canned cream style corn. The creaminess comes from a simple roux, whole milk, eggs, and Gruyere, and the corn is toasted for extra flavor.
Is this a corn pudding or a corn souffle?
It is closest to a corn pudding, a creamy, silky baked custard with plenty of corn. It is not a puffed souffle, since there are no whipped egg whites, and it sets up soft and sliceable instead of rising tall.
Is this corn casserole sweet or savory?
It is savory. There is no added sugar, so the sweetness comes naturally from the corn, which pairs beautifully with the garlic, onion, thyme, and nutty Gruyere.
How many ears of corn do I need?
If you are using fresh corn, plan on about 6 to 7 large ears to get 5 cups of kernels. Cut the kernels off the cob, and keep any extra for toasting. I have estimated this, since ears vary in size.
Can I make corn casserole for a crowd or a potluck?
Yes. For a big crowd, make two separate casseroles in two 9×13 inch dishes rather than one deeper dish, so they bake through evenly. I have not tested a doubled batch in a single pan. Keep it hot or refrigerate it, and do not leave it out longer than 2 hours.
What can I do with leftover corn casserole?
Reheat squares in the oven for a cozy lunch, or serve a warm square alongside a simple salad. Leftovers keep for 3 to 4 days in the fridge.
Decadently Delicious Homemade Corn Casserole (with Gruyere and Thyme!)
Course: Side DishCuisine: AmericanDifficulty: Easy to Medium8-10
servings40
minutes45
minutes420
kcal10
minutes1
hour35
minutesThis isn’t just any corn casserole, it’s a show-stopping homemade side dish with caramelized corn, a creamy roux-based sauce, savory Gruyere cheese, and fresh thyme. Easy enough for weeknights, special enough for holidays, and utterly delicious.
Ingredients
- Equipment Needed:
Large pot or Dutch oven
Large mixing bowls
Whisk
Cheese grater
9×13-inch baking dish
Instant-read thermometer
- Ingredients:
5 cups (750g) corn kernels (fresh or frozen, thawed)
2 small onions (approximately 1 1/2 cups diced)
3 large cloves garlic (or 2 regular cloves), minced
6 tablespoons (85g) unsalted butter, divided (or olive oil or vegetable oil for sauteing onions)
1 1/2 cups (230g) Gruyere cheese (or Swiss cheese), freshly shredded, divided
8 large eggs
2 tablespoons (16g) all-purpose flour
3 cups (720ml) whole milk
2 tablespoons fresh thyme leaves, stripped from stems
2 teaspoons (12g) salt
1 teaspoon (2g) white pepper
Directions
- Measure 5 cups of corn kernels. If using frozen, set aside 2 cups and pat them very dry. Dice two small onions to yield about 1 1/2 cups. Press and mince 3 large cloves of garlic. Shred 1 1/2 cups (230g) of Gruyere or Swiss cheese and set aside 1/2 cup for topping. Crack and lightly whisk 8 large eggs in a bowl and set aside.
- In a large pot or Dutch oven, melt 2 tablespoons (28g) of butter over medium heat. Add 2 cups of the prepared corn (patted-dry frozen or fresh corn). Spread in a single layer and cook for almost 8 minutes, allowing it to toast and caramelize. Stir gently if popping occurs. Remove toasted corn from the pot and set aside.
- Add another 2 tablespoons (28g) of butter (or olive oil or vegetable oil) to the same pot. Melt over medium heat. Add the diced onions and minced garlic. Saute, stirring occasionally, until softened, approximately 5 minutes.
- Add the remaining 2 tablespoons (29g) of butter to the pot with the softened aromatics and melt. Sprinkle 2 tablespoons (16g) of all-purpose flour over the mixture. Stir well and cook for 2 minutes to form a roux. Gradually whisk in 3 cups (720ml) of whole milk until smooth and fully combined. Remove the pot from the heat.
- Immediately add all the corn (toasted and raw) to the sauce mixture. Stir in 2 teaspoons (12g) of salt, 1 teaspoon (2g) of white pepper, and 2 tablespoons of fresh thyme leaves. Add 1 cup of the shredded cheese (reserving the remaining 1/2 cup for topping). Stir until all ingredients are well distributed. Taste and adjust the seasoning.
- Set the mixture aside for 10 minutes to cool until warm, not hot. This prevents the eggs from scrambling when added. If it is still very hot, temper the eggs first.
- After 10 minutes, stir the whisked eggs into the cooled corn mixture until fully incorporated. Pour the mixture into a 9×13-inch baking dish, spreading it evenly. Sprinkle the reserved 1/2 cup (80g) of shredded cheese over the top.
- Bake in a preheated oven at 350°F (175°C) for about 45 minutes, until the casserole is set in the center (160°F) and the top is golden brown. If the top browns too quickly (after about 25 minutes), loosely cover with aluminum foil.
- Allow the casserole to cool for a few minutes before serving.
Notes
- Cheese Swaps: Gruyere is amazing here, but Swiss cheese is a perfect stand-in. Feel free to experiment with other good melting cheeses like sharp white cheddar if you’re feeling adventurous.
- Corn Options: Using a mix of fresh and frozen corn is totally fine. The key for toasting is to make sure those 2 cups are nice and dry. For fresh corn, plan on about 6 to 7 large ears.
- Don’t Rush the Cooling: That 10-minute cooling step before adding the eggs is super important for a silky texture. Skipping it might lead to scrambled eggs in your casserole, and nobody wants that.
- Doneness: Egg dishes should reach 160°F. The center should be set and a knife inserted near the center should come out clean
- Storage and Reheating: Refrigerate within 2 hours. Store leftovers in an airtight container in the fridge for up to 3 to 4 days. Reheat until heated through (165°F). Do not leave out longer than 2 hours at a potluck or buffet.
- Make Ahead Magic: You can assemble this casserole (up to the point of baking, before adding the eggs) a day in advance. Cool quickly and store covered in the fridge. Add the eggs and top with cheese just before baking. Let it sit at room temperature for about 30 minutes before baking to ensure even cooking, and you might need an extra 5 to 10 minutes in the oven.
- Allergen Note: Contains egg, milk, and wheat (flour). Gruyere is traditionally made with animal rennet.







