Dinners

Baked Onion in Foil: Whole Onion Recipe

Updated · By Stir & Share

Total timeprep + cook
1 hr 5 min
Prep
10 min
hands-on
Cook
55 min
oven or stovetop
Serves
4
as written

Save

A whole onion baked in foil turns soft, sweet and jammy, with a flavor closer to roasted garlic than to the sharp raw allium you started with. It takes about 5 minutes of work and 50-60 minutes in a 400°F (200°C) oven, and the foil does the real job: it traps steam so the onion cooks through without drying at the edges. The part people forget is trimming the base flat and cutting a cross into the top so the butter and seasoning reach the center, and giving a large onion up to 70 minutes rather than pulling it early.

What Equipment Makes Baked Onion in Foil Work

Heavy-duty aluminum foil is the main piece of equipment, and it matters. Standard foil tears at the seams when you crimp it around a round onion, and a torn packet leaks steam, which is the whole point of the method. Use a piece about 12 inches (30 cm) long per onion, or double up two sheets of regular foil.

A small paring knife cuts the cross in the top cleanly. A cutting board keeps the onion steady while you trim the base. A rimmed baking sheet catches any butter that escapes and stops the packets from sliding around the rack. A food thermometer is optional here because there is no meat to check, but an instant-read probe pushed into the center should read about 200°F (93°C) when the onion is fully tender.

For the foil itself, either dull side out or shiny side out works; the difference is cosmetic. What matters is a tight seal with a small headspace of about 1 inch (2.5 cm) above the onion so steam can build.

Ingredients for Baked Onion in Foil

  • 4 medium yellow onions, about 8 oz (225 g) each
  • 4 tbsp (56 g) unsalted butter, softened, or 4 tbsp (60 ml) olive oil
  • 1 tsp (6 g) fine salt
  • 1/2 tsp (1 g) black pepper
  • 4 small sprigs fresh thyme or 1/2 tsp (0.5 g) dried thyme
  • 1/4 tsp (0.5 g) smoked paprika, optional

Yellow onions are the standard choice because they turn sweet and hold their shape. Red onions work but bleed color into the butter and taste slightly sharper. Sweet onions such as Vidalia are milder from the start and need a little less salt. If you swap butter for olive oil, the onion browns a touch more at the base and the flavor is less rich; both are fine.

Instructions

  1. Heat the oven to 400°F (200°C). Tear four sheets of heavy-duty foil, each about 12 inches (30 cm) long, and set them on a rimmed baking sheet.
  2. Trim the root end of each onion just enough to sit flat, leaving the root core intact so the layers stay together. Peel away only the papery outer skin; keep one or two firm inner layers.
  3. Set each onion root-side down on its foil sheet. Cut a cross about 1/2 inch (1.5 cm) deep into the top, then widen the opening slightly with your fingers.
  4. Rub or spoon 1 tbsp (14 g) butter over each onion, working some into the cut. Sprinkle each with 1/4 tsp (1.5 g) salt, a pinch of pepper, one thyme sprig and a pinch of paprika if using.
  5. Bring the foil edges up and crimp them into a tight tent, leaving about 1 inch (2.5 cm) of space above the onion. Seal all seams.
  6. Bake at 400°F (200°C) for 45 minutes. Open one packet carefully, away from your face, to let the steam out. A medium onion should give easily when pierced with a knife at the center; if it resists, reseal and bake 10-15 minutes more, up to 70 minutes total for large onions.
  7. For a little color, open the foil tops and bake uncovered for the last 5-8 minutes, until the cut surface is lightly browned.
  8. Rest the packets 5 minutes before opening fully, then spoon the butter and juices from the foil over each onion to serve.

How Do Batch Sizes Change the Time?

Oven space and onion size drive the timing more than the count does. A crowded pan slows the rise in oven temperature, so add a few minutes when you bake more than one tray. Keep the onions in a single layer with a little air between packets.

Onions Butter Salt Approx. bake time at 400°F (200°C)
1 1 tbsp (14 g) 1/4 tsp (1.5 g) 40-50 min
2 2 tbsp (28 g) 1/2 tsp (3 g) 45-55 min
4 4 tbsp (56 g) 1 tsp (6 g) 50-60 min
6 6 tbsp (84 g) 1 1/2 tsp (9 g) 55-70 min, two trays

Air fryers work for this too: set the basket to 380°F (193°C), wrap each onion in foil, and cook 35-45 minutes, checking at 35. Times vary by model, so test with a knife. Do not overcrowd the basket; two medium onions fit in most standard baskets.

What to Serve With a Baked Onion

Set a whole baked onion beside a steak, a roast chicken or a pork chop and let the butter-and-onion juices run into the meat. It also works spooned over mashed potatoes, stirred into a bowl of broth, or mashed into a compound butter for bread. For a vegetarian plate, serve it on toast with white beans and a squeeze of lemon.

Leftover baked onion is soft enough to fold into pasta, omelets, soups or a pan sauce. Chop it and mix into sour cream for a quick dip, or spread it on a sandwich in place of caramelized onion.

Three things go wrong most often. Skipping the cross cut leaves the center raw while the outside turns to mush, so always cut into the top. Wrapping too loosely lets steam escape and the onion dries and browns unevenly; crimp the seams firmly. Pulling the onion too early gives a firm, sharp center, so test with a knife and give large onions the full 70 minutes. If an onion comes out watery, open the foil and bake 5-10 minutes more to drive off the liquid.

How Long Does a Baked Onion Keep?

Cool the onion within 2 hours of baking, then refrigerate it in a sealed container. It keeps 3-4 days in the fridge. Reheat to 165°F (74°C) in the microwave or a 350°F (175°C) oven before serving. Freeze chopped baked onion in a sealed bag for up to 3 months; the texture softens further, so use it in soups and sauces rather than as a side.

Do not leave a buttered onion at room temperature overnight. The butter and the cooked onion are both perishable, and the 2-hour rule applies.

Can You Bake Onions Without Foil?

Yes. Set the onions in a small baking dish, add 2 tbsp (30 ml) water, cover tightly with a lid or a layer of parchment and foil, and bake at 400°F (200°C) for 50-60 minutes. The covered dish traps steam the same way. A slow cooker on low for 4-5 hours also works, though the onion browns less. Foil remains the simplest option because each onion gets its own sealed packet and you can open one to check without disturbing the rest.

If you want a crisper top, finish any of these methods uncovered for the last 5-8 minutes.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).