Gather all ingredients. Preheat the oven to 400 degrees F (200 degrees C). Grease a 2-quart casserole dish.
Whisk eggs lightly in a large bowl.
Add milk, melted butter, sugar, and cornstarch; whisk until well combined.
Stir in drained corn and cream-style corn until fully blended.
Pour mixture into the prepared casserole dish.
Bake in the preheated oven until golden brown on top, about 1 hour.
