Preheat and prep: Heat your oven to 350°F (175°C).
Grease a 9x13-inch baking dish with butter or cooking spray. If you prefer crispier edges, place the empty dish in the oven to preheat while you mix the batter.
Melt the butter: Melt the butter in a small saucepan or in the microwave. Let it cool for 2–3 minutes so it doesn’t scramble the eggs.
Mix dry ingredients: In a large bowl, whisk together cornmeal, flour, sugar, baking powder, baking soda, and salt.
This helps the batter stay light and evenly seasoned.
Combine wet ingredients: In a separate bowl, whisk the eggs, sour cream, and milk until smooth. Stir in the melted butter, creamed corn, and corn kernels.
Add aromatics and cheese: Fold in the onion, jalapeño, and cheddar if using. Keep the mixture gentle so the batter stays airy.
Bring it together: Pour the wet mixture into the dry ingredients and stir just until combined.
Some small lumps are fine. Overmixing can make the casserole tough.
Bake: Pour the batter into the prepared dish. Smooth the top and bake for 35–45 minutes, until the edges are golden and a tester inserted in the center comes out with moist crumbs, not wet batter.
Rest and serve: Let the casserole rest for 10 minutes before slicing.
This helps it set and makes cleaner cuts.