Dinners

Baked Onions with Cheese and Garlic Recipe

Updated · By Stir & Share

Total timeincludes chilling, rising or resting
55 min
Prep
15 min
hands-on
Cook
35 min
oven or stovetop
Serves
4
as written
USDA safe temp
350°F / 175°C
check the thickest part

Jump to recipe Save

Time: 45 min · Serves: 4 · The key step: caramelize the onions before adding cheese

Baked onions with cheese and garlic are a warm, savory side that brings the natural sweetness of onion together with melted cheese and aromatic garlic. The dish is soft enough for a family dinner yet impressive enough for a potluck. It works well alongside grilled meats, roasted vegetables, or as a hearty addition to a brunch plate.

Flavor Development

Caramelizing the onions first creates a deep, sweet flavor that balances the sharpness of the cheese and the bite of garlic. When onions are roasted at a high temperature, the natural sugars undergo Maillard reactions, turning golden and developing a rich aroma. Skipping this step leaves the onions raw‑onion sharp and can result in a soggy final bake. The brief roast also reduces moisture, allowing the cheese to adhere evenly without sliding off.

Ingredients

  • 4 large sweet onions (about 800 g total)
  • 3 Tbsp (45 ml) olive oil
  • 3 cloves garlic, minced (≈ 15 g)
  • 1 tsp (5 g) kosher salt
  • ½ tsp (2.5 g) freshly ground black pepper
  • 1 cup (100 g) shredded sharp cheddar cheese
  • ½ cup (50 g) grated Parmesan cheese
  • 2 Tbsp (30 g) breadcrumbs (optional, for topping)
  • 1 Tbsp (15 g) chopped fresh parsley (optional, for garnish)

Instructions

  1. Preheat the oven to 400°F (200°C). Line a rimmed baking sheet with parchment paper or a silicone mat.
  2. Trim the root ends of the onions, peel, and cut each onion in half lengthwise. Slice each half into ½‑inch (1.3 cm) thick wedges, keeping the wedges attached at the root if possible to maintain shape.
  3. Place the onion wedges in a large bowl. Drizzle with olive oil, sprinkle the minced garlic, salt, and pepper. Toss until every piece is evenly coated.
  4. Arrange the wedges on the prepared sheet, skin side down, leaving a small gap between pieces. Roast for 20‑25 minutes, turning once halfway through, until the edges are golden and the onions are tender but not falling apart.
  5. While the onions roast, combine the shredded cheddar and grated Parmesan in a small bowl. If using breadcrumbs, stir them in now; they will add a light crust.
  6. Remove the sheet from the oven. Sprinkle the cheese mixture evenly over each wedge, covering the exposed surface. Return the sheet to the oven and bake an additional 10‑12 minutes, until the cheese is fully melted, bubbling, and the top turns a light golden brown.
  7. Allow the baked onions to rest for 5 minutes. This brief rest lets the cheese set slightly, making the wedges easier to serve. Garnish with chopped parsley if desired, then transfer to a serving platter.

Doneness & Serving

The onions are done when the edges are caramelized, the cheese is melted and bubbling, and the top shows a light golden crust. No internal temperature check is required because the dish contains only vegetables and cheese. Serve the wedges hot, directly from the oven, or at warm room temperature within two hours.

These baked onions pair nicely with grilled chicken, roasted pork tenderloin, or a simple green salad dressed with vinaigrette. For a complete meal, place the wedges on a platter alongside roasted potatoes and a protein of choice. A crisp white wine such as Sauvignon Blanc or a light lager complements the cheesy, garlicky flavor without overwhelming it.

Storage

Transfer any leftovers to an airtight container within two hours of cooking. Refrigerate promptly; the baked onions will keep for 3‑4 days. When reheating, place the wedges on a baking sheet and warm at 350°F (175°C) for 10‑12 minutes, or until the internal temperature reaches 165°F (74°C), the USDA FSIS safe minimum for leftovers.

If you wish to freeze the dish, allow it to cool completely, then wrap the baking sheet tightly with foil and place it in a freezer‑safe bag. Frozen baked onions retain quality for up to 2 months. Thaw overnight in the refrigerator before reheating as described above.

Variations & Swaps

Cheese can be swapped without altering the method. Use mozzarella for a milder melt, Gruyère for a nutty note, or a blend of pepper jack and cheddar for a subtle heat. Each cheese changes the flavor profile: mozzarella adds stretchiness, Gruyère adds depth, pepper jack adds spice.

For a herb‑infused version, add 1 tsp (2 g) dried thyme or 1 Tbsp (4 g) fresh rosemary to the oil‑garlic mixture before roasting. The herbs will release their aroma during the initial bake and complement the cheese.

If you prefer a richer topping, mix ¼ cup (30 g) crumbled feta with the cheddar blend. The feta adds a salty tang that balances the sweet onions.

Red onions work as a colorful alternative. Slice them the same way and follow the same steps; they will be slightly sharper and give a deeper hue.

For an air‑fryer adaptation, preheat the basket to 380°F (193°C). Arrange the onion wedges in a single layer, avoiding overlap. Roast for 12‑15 minutes, shake the basket halfway, then add cheese and continue for 5‑6 minutes until melted. Air‑fryer times vary by model, so monitor closely.

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).