How to Roast Corn on the Cob in the Oven
Quick answer
For corn on the cob in the oven, put the ears straight on the rack in their husks at 350°F (175°C) and roast 30–35 minutes. Or husk them, rinse, brush with butter, wrap each in foil and roast at 400°F (200°C) for 20–25 minutes, turning once. The corn is done when the kernels are plump, bright and tender when pierced.

Handy for this: Boiling times chart · Reheating guide
At a glance
- Heat the oven to 350°F for corn in the husk, or 400°F for foil.
- In the husk: trim the silk at the top and set the ears right on the rack.
- In foil: husk, rinse and dry the ears, brush with butter and season.
- Wrap each ear tightly in foil.
- Roast: 30–35 minutes in the husk, 20–25 in foil, turning once.
- Check that the kernels are plump and tender.
- Rest a few minutes, then unwrap carefully and serve.
The short version
The oven is the hands-off way to cook a lot of corn at once, for a crowd or alongside a roast. In the husk, the ears steam in their own wrapper and come out juicy. In foil with butter, they absorb the flavor of whatever you add. The University of Maine Extension notes sweet corn can be cooked in or out of the husk; the method you pick only changes the time and temperature.
“The corn is going in on the lower rack now, so it'll be ready right when the chicken comes out to rest.”
Oven corn on the cob times
| Method | Oven | Time | Result |
|---|---|---|---|
| In the husk, on the rack | 350°F (175°C) | 30–35 min | Steamed, sweet, juicy |
| Husked, wrapped in foil with butter | 400°F (200°C) | 20–25 min | Buttery, tender |
| Husked, unwrapped, oiled | 425°F (220°C) | 20–25 min, turning | Light browning in spots |
| Foil-wrapped, held warm | 200°F (95°C) | Up to 30 min | Warm for serving |
Bigger ears and a crowded oven take longer. Turn foil-wrapped ears halfway so the butter coats every side.
How to tell oven corn is done
- Kernels plump and bright when you peel back a bit of husk or foil.
- Tender to a fork or a fingernail, with a little juice.
- Not wrinkled. Shriveled kernels mean it has been in too long.
Butter and flavor ideas
Brush ears with butter mixed with garlic and parsley, chili-lime with a pinch of cumin, or parmesan and black pepper, then wrap and roast. For Mexican street-style corn, roast in foil, then roll the hot ears in mayonnaise, crumbled cotija, chili powder and lime.
A worked example
You are roasting chicken at 400°F and want corn for six. You husk the ears, rinse and dry them, brush each with butter and salt and wrap them in foil. They go on the lower rack for the chicken's last 25 minutes, and you turn them once. When the chicken comes out to rest, you open one packet: the kernels are plump and glossy, so the corn is ready at the same time.
Storing leftovers
Refrigerate leftover corn within 2 hours and eat it within 3–5 days. Reheat it wrapped in foil at 350°F for about 10 minutes, or cut the kernels off for salads, salsa and fried rice. Uncooked ears keep best in the fridge in their husks for 1–2 days, as Virginia Tech Extension advises.
Common mistakes
- Skipping the rinse. Rinse husked corn under running water before cooking, as FDA advises for produce.
- Loose foil. Butter leaks and the corn dries. Wrap it tightly.
- Grabbing the husk bare-handed. It is full of hot steam.
- Roasting it too long. Kernels shrivel and turn chewy.
Keep going
Next up: Microwave Corn on the Cob, With or Without the Husk, How to Cook Corn on the Cob and How to Bake a Potato.
Finish it with lime and crumbled cotija cheese.
Frozen ears work too, with a few extra minutes; see can you freeze corn on the cob.
Pan watches it for you
Pan keeps the stovetop side of dinner on track
While the corn roasts, Pan watches your pan through the phone camera and tells you out loud when it's time to flip, stir or lower the heat.
- Ears wrapped tight: into the oven
- Halfway: turn the packets
- Kernels plump and glossy: done
- Foil opened carefully: watch the steam
Pan AI is on iPhone • Android.
Common questions
How long does corn on the cob take in the oven?
30–35 minutes in the husk at 350°F, or 20–25 minutes husked and wrapped in foil at 400°F.
Do you wrap corn in foil to bake it?
You don't have to. Corn in the husk roasts well on the rack; foil is useful when you want to add butter and seasoning.
What temperature do you bake corn on the cob?
Usually 350°F in the husk or 400°F in foil. It also works alongside a roast at 375–425°F with small time changes.
Can you keep corn on the cob warm in the oven?
Yes. Keep foil-wrapped ears in a 200°F oven for up to about 30 minutes before serving.
How long to cook corn on the cob in the oven in the husk?
About 30–35 minutes at 350°F, right on the rack, until the kernels are tender. Let it cool a few minutes; the husk and silk then pull off easily.
How long to bake corn on the cob in foil at 400°F?
Husked ears wrapped in foil with butter take 20–25 minutes at 400°F, until tender when pierced.
Can you cook frozen corn on the cob in the oven?
Yes. Wrap frozen ears in foil with butter and bake at 400°F for about 30–35 minutes, roughly 10 minutes longer than fresh.
Sources
- USDA FSIS: Leftovers and Food Safety
- FoodSafety.gov: Safe Minimum Internal Temperatures
- University of Maine Cooperative Extension: Sweet Corn (Bulletin #4253)
- FDA: Selecting and Serving Produce Safely
Reviewed against USDA FSIS, FoodSafety.gov and University of Maine Cooperative Extension guidance. How we choose sources and fix mistakes: editorial policy.
Keep cooking
- Vegetables & fruitMicrowave Corn on the Cob, With or Without the HuskMicrowave corn on the cob in the husk for about 4 minutes per ear, or husked and wrapped for about 2. Times for 1 to 6 ears, plus the no-silk trick.
- Vegetables & fruitHow to Cook Corn on the CobHow to cook corn on the cob four ways: boil 3–7 minutes, microwave in the husk, grill or roast. Clear times and the cues that tell you it is ready.
- Vegetables & fruitHow to Bake a PotatoHow to bake a potato: a russet takes 45–60 minutes at 425°F, until it reads 205–210°F and a skewer slides in easily. Times by size and oven temp.
- Vegetables & fruitHow to Cook Acorn Squash in the Oven or MicrowaveHow to cook acorn squash: roast halves at 400°F for 40–50 minutes or slices at 425°F for 20–25, until fork-tender. How to cut it safely, plus microwave times.
- Free toolBoiling times chartHow long to boil chicken, shrimp, potatoes, corn, broccoli and 30+ more foods.