The only blog you need for healthy recipes.

How to Cook Corn on the Cob in the Oven

A chef in a white uniform stands in a bright kitchen holding a tray of freshly roasted corn on the cob beside an open oven. The recipe feature image includes bold text reading “How to Cook Corn on the Cob in the Oven,” with golden corn, fresh ingredients, and a warm cooking atmosphere.

At A Glance

  • The oven is the most reliable way to cook corn at home – it delivers consistent heat with no babysitting, no boiling pot, and better browning than most home grills can manage.
  • Three methods work well: husk-on roasting (400°F, 30 min), foil-wrapped with butter (375°F, 25 min), and direct rack or broiled (broiler on high, 8-10 min).
  • The biggest mistake home cooks make is skipping the soak – unhusked corn needs 15 minutes in water before it goes in, or the outer leaves scorch before the kernels cook.
  • Corn is done when the kernels are bright yellow, slightly wrinkled, and give just a little resistance when pressed – not when a timer goes off.
  • Convection ovens cook corn about 20% faster; drop your temperature by 25°F if your oven has that setting.

If you want sweet, juicy corn with almost no effort, How to Cook Corn on the Cob in the Oven is one of the easiest methods to learn. I use this trick when I want tender corn without standing over a pot of boiling water. It always gives me great results, and the flavor reminds me of fresh summer cookouts.

In this guide, I’ll show you each step, share simple tips that work, and explain how to get soft, buttery corn every time. You’ll also learn the best oven temperature, cooking time, and easy ways to season your corn. Let’s get started and make oven-roasted corn on the cob that your whole family will love.

Why the Oven Beats Boiling (and Often Beats Grilling Too)

The oven is the right tool for corn more often than most home cooks think. Boiling is fast and easy, but water pulls the natural sugars right out of the corn – you lose flavor to the pot. Grilling gives you char and smoke, which is great when that’s what you want, but on a weeknight in February, or when you’re feeding eight people, the oven is the smarter call.

I’ve cooked corn in every environment imaginable – restaurant kitchens, catering setups, and home kitchens for fifteen years. The oven method gives you the most control. You can fit six ears at once on a standard sheet pan. You’re not standing over a hot grill. And you can start the corn, walk away, and come back to something that tastes like it came off a fire – especially with the direct rack method I’ll walk you through below.

There’s one real limitation: you won’t get the deep smoke and grill marks that open-flame cooking gives. If that’s the point of the dish, go outside. But if you want sweet, tender corn with a little browning and a clean butter finish, the oven does that better than anything else in a home kitchen.

The Science: What Heat Does to Corn in an Oven

Corn is 70-80% water by weight, with sugars and starches making up most of the rest (USDA National Nutrient Database, 2024). When you put it in an oven, two things happen that don’t happen in boiling water.

Caramelization starts at around 320°F. The corn’s natural sugars – primarily sucrose and glucose – begin to break down into hundreds of smaller flavor compounds. This is why oven corn tastes more complex than boiled corn. The sugars aren’t cooking away into water; they’re concentrating and changing.

The Maillard reaction kicks in at around 280-330°F on the surface of the kernels themselves (Serious Eats, 2023). This is the same browning reaction that makes bread crusts taste different from the soft interior, or why a seared steak has more flavor than a poached one. Direct rack corn and broiled corn both get enough surface heat to trigger Maillard, which is why they taste so different from foil-wrapped corn.

Foil-wrapped corn, on the other hand, traps steam inside the packet. It cooks more like a gentle braise – the temperature stays below 212°F inside the foil, which means no browning, but also no drying out. That method gives you the most tender, juicy result.

Understanding these two paths – caramelization and Maillard on one side, steam and gentle heat on the other – is how you pick the right method for what you’re making.

Method Comparison: All Four Approaches at a Glance

MethodTempTimeTextureBest Use Case
Husk-on roasting400°F28-32 minTender, juicy, no browningSimple weeknight side, minimal prep
Foil-wrapped with butter375°F22-26 minVery juicy, steamed, softMake-ahead, compound butter infusion
Direct rack (bare)400°F20-25 minSlightly chewy, lightly brownedFlavor-first, charred spots, best texture
BroiledBroiler high8-10 minFirm, charred spots, fastQuick char without a grill

How to Pick and Prep Corn for the Oven

Choosing the Right Corn

Fresh corn is always the first choice. Look for ears with tight, green husks and silks that are slightly sticky and light brown at the tips – not dried out or black. Press through the husk to feel the kernels. They should be firm and close together, with no gaps. If you can feel gaps, the corn is past its peak (America’s Test Kitchen, 2025).

Corn converts its sugars to starch quickly after harvest – within 24-48 hours at room temperature. Buy it the day you plan to cook it, or store it in the refrigerator with husks on for no more than two days.

Frozen corn on the cob works for the foil-wrapped method only. Thaw it completely first, pat it dry, and add two extra minutes to your cook time. Don’t try to roast frozen corn directly on a rack – the surface moisture will steam the outside and you’ll never get browning.

Silk Removal: When and How

For husk-on roasting, leave everything alone. The husk and silk both act as natural insulation and steam traps.

For foil-wrapped or direct rack methods, you need to remove the husk and silk. Pull the husk back without tearing it off, remove as much silk as you can by hand, then fold the husk back up (for soaking) or pull it off completely (for direct rack).

There’s an easier way to handle silk: after cooking, grip the stem end of the ear through a dry towel and slide the husk off. The silk comes with it almost entirely. I started doing this in a restaurant context because we were shucking two hundred ears at a time, and it’s so much faster than trying to remove silk raw.

The Soak – Don’t Skip It

Any corn going into the oven with its husk on needs to soak in cold water for at least 15 minutes first. This serves two purposes: it adds moisture so the husk steams the corn from the inside, and it prevents the outer leaves from burning before the corn cooks through.

Fill a large pot, your sink, or a sheet pan with cold water. Submerge the ears and weigh them down with a plate if they float. Fifteen minutes is the minimum. Thirty minutes is better.

Foil-wrapped and direct rack corn do not need soaking because the husk is removed.

The Three Main Methods, Step by Step

Husk-On Oven Roasting: Juicy, Hands-Off, Full Flavor

This is the method I use most often when I’m cooking corn as part of a larger meal and don’t want to think about it.

What you need: Fresh corn (husks on), water for soaking, oven.

Step 1: Preheat your oven to 400°F. While it heats, soak the corn in cold water for 20 minutes.

Step 2: Pull the ears out of the water and shake off the excess. Place them directly on the oven rack – no pan needed.

Step 3: Roast for 28-32 minutes. Don’t open the oven. The husk handles everything.

Step 4: Pull the corn out using tongs. It will be very hot. Let it rest for 3 minutes before handling.

Step 5: Grip the stem through a towel, slide the husk and silk off in one motion, and serve.

The result is sweet, juicy corn with a clean, concentrated corn flavor. No browning, no char – just good corn. This is the right method for corn that will be eaten plain or with simple butter and salt.

Foil-Wrapped with Butter: Steam, Infusion, Tenderness

This method is slower but it’s the one I use when I want compound butter to actually penetrate the corn instead of just sitting on top.

What you need: Husked corn, butter (2 tablespoons per ear), aluminum foil, seasonings.

Step 1: Preheat to 375°F.

Step 2: Lay a sheet of foil large enough to wrap one ear completely. Place the husked ear in the center. Add 2 tablespoons of butter, cut into small pieces, along the length of the ear. Season with salt, pepper, and any additional flavorings (see the flavor variations section below).

Step 3: Wrap the foil tightly, folding the ends to seal. The steam inside needs to stay inside.

Step 4: Place the wrapped ears on a sheet pan (to catch any butter that leaks) and roast for 22-26 minutes.

Step 5: Open the foil carefully – the steam burns. Let the corn sit in the foil for 2 minutes before handling.

The corn comes out very tender and deeply flavored from the butter steam. This is the best method for make-ahead cooking because the wrapped ears hold their heat well and you can finish cooking them at a lower temperature (250°F for up to 30 minutes) without overcooking.

Direct Rack and Broiling: The Most Flavor, Fastest Result

This is my personal go-to for weeknight cooking and the method I use when I want the corn to taste like it came off a grill.

Direct rack roasting:

Step 1: Preheat to 425°F. Remove husks and silk completely from the corn.

Step 2: Brush the bare ears lightly with neutral oil (not butter – butter burns at this temperature).

Step 3: Place directly on the oven rack with a sheet pan on the rack below to catch drips.

Step 4: Roast for 20-25 minutes, turning once at the halfway mark.

The ears will spot-brown in places, slightly wrinkle on the surface, and develop a concentrated sweetness from the caramelization.

Broiling:

Step 1: Move your oven rack to 6 inches from the broiler element.

Step 2: Set your broiler to high. Brush husked ears with neutral oil.

Step 3: Place ears on a foil-lined sheet pan.

Step 4: Broil for 8-10 minutes, turning every 2-3 minutes, until you get char marks on multiple sides.

Watch the broiler constantly. Two minutes is the difference between nicely charred and burned. Stay in the kitchen.

Gas vs. Electric Ovens: What Changes

Gas ovens run with more moisture in the air because combustion produces water vapor. The result with corn is a slightly more humid cook – good for husk-on roasting, where that extra moisture helps. Direct rack corn in a gas oven takes about 2-3 minutes longer to brown because of that humidity.

Electric ovens are drier and tend to brown food faster and more evenly. With direct rack corn, you may get browning in 18-20 minutes in a good electric oven instead of 22-25.

One practical note: gas ovens have hot spots (usually toward the back and around the burner). Rotate your corn halfway through if yours runs unevenly. Electric ovens with a heating element at the bottom also have hot spots, but they’re less pronounced.

Convection vs. Conventional: Speed and Browning

Convection ovens use a fan to circulate hot air. This speeds up cooking and promotes browning by continuously replacing the cooler air layer that forms around food with hot oven air.

For corn, convection makes a real difference in the direct rack method. In a conventional oven at 400°F, direct rack corn takes 20-25 minutes. In convection mode at the same temperature, it takes 16-20 minutes and browns more evenly.

Temperature offset rule: Drop your temperature by 25°F when switching from conventional to convection, and check for doneness 5 minutes earlier than the recipe says (The Food Lab, J. Kenji López-Alt, 2015). So if a recipe calls for 400°F conventional, run convection at 375°F.

For husk-on roasting, convection gives you less of an advantage because the husk insulates the corn from the circulating air. You’ll save maybe 3-4 minutes. Not worth adjusting the recipe for.

How to Tell When Oven Corn Is Done

Timers are a starting point, not a finish line. Here’s how to actually know the corn is ready.

Visual cues:

  • Husk-on: the outer leaves are papery, slightly darkened, and have pulled away from the tip of the ear. You may see steam escaping when you open the oven.
  • Direct rack or broiled: the kernels are bright, deep yellow and have small wrinkled spots where they’ve started to caramelize. Some kernels may be lightly browned.
  • Foil-wrapped: the foil packet will have puffed slightly from the steam inside.

Tactile cues:

Grip the corn (through a towel – it’s hot) and press gently. A raw or undercooked ear feels completely firm, like pressing a rubber ball. A done ear has very slight give – the kernels press inward just a little before pushing back. An overcooked ear feels soft and compresses easily.

For foil-wrapped corn, open the foil at the 22-minute mark and press a kernel with your fingertip. It should dent, not burst or feel mushy.

Flavor Variations That Work Specifically with Oven Corn

Oven corn handles bold flavors well because the dry heat concentrates the corn’s natural sweetness. These combinations are built around that.

Compound Butters for Foil-Wrapped Corn

Each recipe below is for 4 tablespoons (half a stick) of softened butter – enough for two ears.

Brown butter and thyme: Brown the butter in a small pan until it smells nutty and has dark flecks. Cool completely, then mix in 1 teaspoon fresh thyme and a pinch of flaky salt. The Maillard reaction in the butter adds another flavor layer on top of the corn’s own caramelization.

Miso and honey: Mix 1 tablespoon white miso into the soft butter with 1 teaspoon honey and a pinch of white pepper. This combination works specifically with oven corn’s concentrated sweetness – the miso provides salt and umami without overpowering the corn flavor.

Chili lime: Mix 1 teaspoon ancho chili powder, 1 teaspoon lime zest, and a pinch of cumin into the butter. This is the compound butter closest to Mexican street corn (elote) in flavor, without the crema and cheese.

Dry Rub for Direct Rack Corn

For corn going directly onto the oven rack, brush with olive oil first, then apply a light coating of:

  • 1 teaspoon smoked paprika
  • 1/2 teaspoon garlic powder
  • 1/2 teaspoon salt
  • 1/4 teaspoon cayenne

Press the spices into the surface so they don’t fall off. The dry heat of the oven will bloom the spices and lightly toast them against the corn.

When to Skip the Oven and Use Another Method

The oven is not always the right answer. Here’s when to choose something else.

Use the grill instead when smoke and char are the point – corn on the grill next to other grilled food, barbecue situations, or when the smoky flavor is part of the dish.

Use the microwave instead when you need corn in under 5 minutes. Wrap each husk-on ear in a damp paper towel and microwave on high for 3-4 minutes per ear. The results won’t brown, but the corn is genuinely good. This is a legitimate method that food snobs dismiss unfairly (America’s Test Kitchen, 2024).

Use boiling instead when you’re making a large quantity (10+ ears) and oven space is the constraint, or when you need the corn for a recipe where browning and concentration aren’t desirable – like corn chowder or a cold corn salad.

The oven earns its place in the middle: better flavor than boiling, more control and capacity than most home grills, without the speed of a microwave.

Common Mistakes and How to Fix Them

MistakeWhat HappensFix
Skipping the soak (husk-on)Outer leaves scorch before corn cooks throughSoak for 15-30 min in cold water before roasting
Oven too hot for foil methodButter burns inside the packet, bitter flavorKeep foil method at 375°F or below
Wrong rack positionBottom rack for convection leads to uneven browningMiddle rack for most corn methods; broiler rack at 6 inches
Overcrowding the panSteam builds up between ears, prevents browningLeave at least 1 inch between ears on a direct rack
Opening the oven too oftenHeat escapes, cook time extends unpredictablySet a timer and don’t open until done
Cooking at altitude (5,000+ ft)Water boils at lower temp, foil-wrapped corn cooks fasterReduce foil-wrapped cook time by 3-4 min; check early
Using butter instead of oil for direct rackButter burns at 425°F, tastes acridUse neutral oil for roasting; add butter after cooking

My Go-To Method: Direct Rack at 425°F

After fifteen years of cooking corn in professional kitchens and at home, this is the method I come back to.

Husk off. Brushed with a thin coat of neutral oil. Straight onto the middle rack at 425°F. One turn at the 12-minute mark. Out at 22-23 minutes.

Then I do something that almost no recipe tells you to do: I let the corn rest on the rack for 3 minutes out of the oven before I add any butter. The surface temperature drops just enough so that butter you brush on will coat and stick instead of sliding straight off. Then I add compound butter or plain salted butter, hit it with flaky salt, and serve it immediately.

The first time I cooked corn this way was at a pop-up dinner in 2011. We had no grill, the event was outdoors, and I had a small countertop convection oven running off a generator. I husked the corn, oiled it, and threw it in. The result was better than anything I’d made on a grill that summer. The convection browning was even, the kernels had that slight chew and concentrated sweetness, and nothing was watery.

I’ve stuck with it since. It doesn’t require a technique. It doesn’t require special equipment. It just requires an oven set to the right temperature and the discipline to not open the door.

Frequently Asked Questions About Cooking Corn on the Cob in the Oven

How long does it take to cook corn on the cob in the oven?

Cook time depends on the method. Husk-on roasting at 400°F takes 28-32 minutes. Foil-wrapped corn at 375°F takes 22-26 minutes. Direct rack corn at 425°F takes 20-25 minutes. Broiling takes 8-10 minutes but requires constant attention. Always check for doneness by pressing a kernel rather than relying solely on time.

Do I need to preheat the oven for corn on the cob?

Yes. Always preheat fully before the corn goes in. Corn placed in a cold oven and brought up to temperature along with the oven will cook unevenly – the outside dries out before the inside reaches the right temperature. A fully preheated oven (10-12 minutes for most home ovens) gives the corn consistent heat from the moment it goes in.

Can I cook corn on the cob in the oven without foil?

Yes. Husk-on roasting uses no foil at all. Direct rack roasting uses no foil. Foil is only needed for the foil-wrapped method where you want the steam and butter infusion effect. The other two methods produce better browning without foil.

What temperature is best for oven-roasted corn?

For husk-on roasting: 400°F. For foil-wrapped: 375°F. For direct rack: 400-425°F. Higher temperatures promote browning but require closer attention; lower temperatures are more forgiving but won’t give you caramelization.

Can I cook frozen corn on the cob in the oven?

Yes, with the foil-wrapped method. Thaw it completely first, pat it dry, season it, wrap it in foil with butter, and add 2-3 minutes to the standard cook time. Don’t try to roast frozen corn directly on a rack – the surface moisture will steam the outside and prevent any browning.

How do I keep oven-roasted corn from drying out?

Three things prevent drying: soaking husk-on corn before roasting, using the foil-wrapped method if moisture is the priority, and not overcooking. Direct rack corn at 425°F will naturally get slightly firmer on the outside – that’s normal and part of what gives it better texture. If your corn is coming out dry and shriveled, your oven is too hot or the cook time is too long.

Is it safe to put corn in the oven with the husk on?

Yes. The husk is completely safe at roasting temperatures. It will dry out and darken at 400°F but won’t catch fire. The only precaution is to soak the corn first, which keeps the husk moist enough to steam the corn from the inside rather than scorch on the outside.

Can I prep oven corn in advance?

Yes. Foil-wrapped corn is the best option for advance prep. Cook it fully, then leave it wrapped in the foil. It will hold heat for up to 30 minutes. To reheat, put the still-wrapped ears back in a 250°F oven for 15 minutes. Direct rack and husk-on corn don’t hold as well because they lose moisture quickly once cooked.

Key Takeaways

  • Three oven methods work for corn: husk-on roasting (400°F, 30 min), foil-wrapped with butter (375°F, 25 min), and direct rack (425°F, 22 min) – each produces a different texture and flavor profile.
  • Soaking husk-on corn for 15-30 minutes in cold water is not optional – it prevents scorched husks and ensures the steam cooks the kernels evenly.
  • Caramelization and the Maillard reaction are what make oven corn taste better than boiled corn – high dry heat concentrates and transforms the corn’s sugars instead of washing them into cooking water.
  • Use neutral oil (not butter) when roasting corn directly on the rack at 425°F – add butter after the corn comes out of the oven.
  • Convection ovens brown corn faster; drop the temperature by 25°F and check 5 minutes early when using convection mode.
  • Done corn has visible color change (bright deep yellow, slight wrinkle) and gives slight resistance when pressed – not complete firmness and not mushiness.
  • The oven beats boiling for flavor and beats grilling for control and capacity – it’s the right default method for most home cooking situations.

Related articles

Mossaraof

Mossaraof

Pro Chef & Blogger

Hey, I’m Mossaraof — a professional cook and food blogger

Mossaraof

Sponsor

Latest Post

$99 Deal