Amazon Cyber Monday deals See deals →ad

Roasted Green Beans with Onions and Walnuts Recipe

This roasted green beans with onions and walnuts recipe turns an everyday side dish into something special. The high heat of the oven concentrates the beans’ sweetness, caramelizes the onions, and toasts the walnuts for a nutty crunch, all with minimal hands-on effort. It’s a reliable, versatile side that works for weeknight dinners and holiday tables alike.

Ingredients

  • 1 1/2 pounds (680 g) fresh green beans, trimmed
  • 1 medium yellow or red onion, thinly sliced (about 1 1/2 cups / 170 g)
  • 3 tablespoons (45 ml) olive oil, divided
  • 1/2 teaspoon salt, plus more to taste
  • 1/4 teaspoon black pepper, plus more to taste
  • 1/2 cup (60 g) walnut halves or pieces
  • 1 tablespoon (15 ml) balsamic vinegar or lemon juice (optional, for brightness)

Instructions

  1. Preheat your oven to 425°F (220°C). Position a rack in the middle of the oven.
  2. Wash the green beans and pat them completely dry. Trim the stem ends (the curly tip end is fine to leave).
  3. On a large rimmed baking sheet (about 18×13 inches), toss the green beans and sliced onion with 2 tablespoons (30 ml) of the olive oil, salt, and pepper. Spread them into an even, single layer as much as possible; overcrowding will steam them instead of roasting.
  4. Roast for 15 minutes, then remove the pan from the oven. Use tongs to toss the vegetables, redistributing them into a single layer.
  5. While the vegetables roast, toss the walnuts with the remaining 1 tablespoon (15 ml) olive oil and a pinch of salt.
  6. After the first toss, scatter the walnuts over the green beans and onions. Return the pan to the oven and roast for another 10–15 minutes, until the beans are tender with some browned spots and the onions are caramelized at the edges. The walnuts should smell toasty and look lightly browned—watch them closely to prevent burning.
  7. Remove from the oven. If using, drizzle with balsamic vinegar or lemon juice and toss gently. Taste and adjust seasoning with more salt and pepper. Serve hot or at room temperature.

Tips

  • Dry the beans well: Moisture is the enemy of roasting. After washing, lay the beans on a clean kitchen towel or paper towels and pat them dry. Wet beans will steam and turn soggy.
  • Don’t crowd the pan: If the beans overlap too much, they’ll soften without browning. Use a large baking sheet, or roast in two batches if needed. A little overlap is fine, but aim for mostly a single layer.
  • Add the walnuts late: Nuts burn quickly in a hot oven. Adding them halfway through gives them time to toast without turning bitter. If you prefer, you can toast the walnuts separately in a dry skillet over medium heat for 3–4 minutes, then stir them into the finished dish.
  • Adjust for thick vs. thin beans: Thicker, older beans need more time; thin, tender haricots verts may be done in as little as 20 minutes total. Start checking at the 20-minute mark and adjust the final roasting time accordingly.

Serving Suggestions

This dish pairs beautifully with roast chicken, grilled steak, or baked salmon. It also works well alongside a hearty grain like farro or quinoa for a vegetarian main. For a holiday meal, it complements turkey, mashed potatoes, and cranberry sauce. The balsamic vinegar adds a tangy note that cuts through rich mains.

Variations

  • Add garlic: Toss 2–3 minced garlic cloves with the beans and onions before roasting. If you add garlic, keep an eye on it during the last 5 minutes—it can burn quickly.
  • Swap the nuts: Pecans, almonds, or hazelnuts work in place of walnuts. If using hazelnuts, consider rubbing off the skins after toasting (wrap them in a towel and rub).
  • Use shallots or leeks: Replace the onion with 2–3 shallots, thinly sliced, or 1 leek (white and light green parts), cleaned and sliced into half-moons.
  • Add a cheesy finish: Sprinkle 1/4 cup (30 g) of grated Parmesan or crumbled feta over the hot beans just before serving.
  • Make it spicy: Add a pinch of red pepper flakes along with the salt and pepper.

Storage and Reheating

Store leftovers in an airtight container in the refrigerator for up to 4 days. To reheat, spread the beans on a baking sheet and warm in a 350°F (175°C) oven for 5–7 minutes, or until heated through. You can also microwave individual portions for 1–2 minutes, but the beans will lose some crispness. The walnuts may soften upon storage; that’s normal. For best texture, you can refresh them by sprinkling a few extra toasted walnuts on top before serving.

Frequently Asked Questions

Can I use frozen green beans? Yes, but thaw them completely and pat them very dry before roasting. Frozen beans release more water, so they may not brown as well. You may need to add 5–10 minutes to the roasting time.

How do I trim green beans quickly? Line up a handful of beans on a cutting board with the stem ends aligned, then slice off the ends in one cut with a chef’s knife. This is much faster than snapping each one individually.

Can I make this dish ahead of time? You can roast the beans and onions up to a day ahead, then reheat them in a hot oven just before serving. Add the walnuts fresh or reheat them with the beans—they’ll soften slightly but still taste good.

Why are my green beans soggy? The most common causes are not drying the beans well, overcrowding the pan, or roasting at too low a temperature. Make sure your oven is fully preheated and the beans are in a single layer.

Can I use a different vinegar? Yes, red wine vinegar, sherry vinegar, or a squeeze of fresh lemon juice all work well. Add just a teaspoon or two and taste before adding more.

What if I don’t have a rimmed baking sheet? Use any large, oven-safe pan with low sides, like a roasting pan or a cast-iron skillet. If using a skillet, you may need to roast in batches to avoid crowding.