How to Roast Corn on the Cob in the Oven

By the Pan AI team · Updated · 4 min read

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.

How to Roast Corn on the Cob in the Oven

Handy for this: Boiling times chart · Reheating guide

At a glance

  1. Heat the oven to 350°F for corn in the husk, or 400°F for foil.
  2. In the husk: trim the silk at the top and set the ears right on the rack.
  3. In foil: husk, rinse and dry the ears, brush with butter and season.
  4. Wrap each ear tightly in foil.
  5. Roast: 30–35 minutes in the husk, 20–25 in foil, turning once.
  6. Check that the kernels are plump and tender.
  7. 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.

What Pan would say

“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

MethodOvenTimeResult
In the husk, on the rack350°F (175°C)30–35 minSteamed, sweet, juicy
Husked, wrapped in foil with butter400°F (200°C)20–25 minButtery, tender
Husked, unwrapped, oiled425°F (220°C)20–25 min, turningLight browning in spots
Foil-wrapped, held warm200°F (95°C)Up to 30 minWarm 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

Reviewed against USDA FSIS, FoodSafety.gov and University of Maine Cooperative Extension guidance. How we choose sources and fix mistakes: editorial policy.

Keep cooking