Side Dishes
This garlicky sauté of string beans and onions delivers crispy edges and tender centers in just 15 minutes—perfect for elevating any meal.
I developed this recipe after realizing how often simple sides get overlooked, and the secret lies in high-heat cooking with just the right amount of garlic and olive oil. The result is a dish that's bright, savory, and impossible to resist.
The beauty of this recipe is its simplicity—5 ingredients and one pan mean minimal cleanup while delivering maximum flavor. String beans hold their shape beautifully when sautéed properly, and onions caramelize just enough to add depth without overpowering.
A pinch of red pepper flakes adds subtle heat that lingers perfectly.
By the time you're done, you'll have a vibrant side dish with crispy edges that contrast beautifully against tender beans and sweet, caramelized onions. The garlic aroma fills your kitchen, making this dish as satisfying to prepare as it is to eat.
It pairs effortlessly with grilled meats, fish, or even as a standalone vegetarian plate.
Ready in under 20 minutes, this recipe proves you don't need complicated techniques to create restaurant-quality sides. The key is attention to timing—just a few minutes of high heat transforms ordinary vegetables into something extraordinary. Let's get cooking!
Ingredients for string beans onions
Five ingredients transform into a vibrant, garlicky side dish with crispy edges and tender centers.
| Ingredient | Amount | Notes |
|---|---|---|
| String Beans 🥕 | 1 ½ lb | Trimmed, cut into 2-inch pieces |
| Yellow Onions 🧅 | 1 whole | Thinly sliced, medium size preferred |
| Extra-Virgin Olive Oil 🫒 | 3 tbsp | High-quality, fruity variety |
| Garlic Cloves 🧄 | 4 cloves | Minced, fresh preferred |
| Red Pepper Flakes 🌶️ | ¼ tsp | Adjust for heat preference |
| Diamond Crystal Kosher Salt 🧂 | ½ tsp | Fine grain preferred |
String beans are the star here—fresh, crisp varieties like haricots verts or snap beans work best. Local farmers markets often carry the freshest cuts, but the frozen section at Whole Foods is reliable for year-round consistency. Trim the ends and cut into even 2-inch pieces for uniform cooking. Yellow onions should be firm and translucent, not soft or sprouting. Thinly slice them to maximize caramelization without overcooking. The garlic matters too—freshly minced cloves release more flavor than pre-minced jarred versions, which can turn bitter when heated.
No fresh string beans? Frozen works perfectly—just thaw and pat dry before cooking. Substitute red onions for yellow if that's what's available, though they'll caramelize faster. Pre-minced garlic in a jar is a time-saver, but freshly minced cloves elevate the dish significantly. Running short on olive oil? Avocado oil has a higher smoke point and similar flavor profile. For the red pepper flakes, California brand is widely available and delivers consistent heat. If you prefer less spice, reduce the amount or omit entirely—this dish shines with or without it.
This dish reheats beautifully—best served at room temperature after cooking. Store leftovers in an airtight container in the refrigerator for up to 4 days. For meal prep, portion into individual containers before refrigerating to maintain crispy edges. The flavors actually improve overnight as the garlic and onions meld together. Freezing isn't recommended as it tends to soften the beans, but you can freeze the cooked mixture for up to 3 months if you're willing to sacrifice some texture upon reheating.
Why You'll Love This Recipe
- One-Pan Magic: I swear by this—just toss everything in one skillet, let the onions caramelize, and boom. No dirty pots, no stress. The only cleanup is wiping the same pan you cooked in, and honestly, that’s the kind of recipe I’ll make twice in a week just for the convenience.
- Garlic-Onion Hug: That moment when the onions soften and the garlic hits? It’s like a flavor explosion. The red pepper flakes add just enough kick to wake up your taste buds, and the string beans soak it all up—crisp-tender with a savory punch. My husband steals bites straight from the pan before we even finish cooking.
- Lunchbox Hero: Between us, this is my go-to for meal prep. Toss it into containers for work lunches or pack it in kids’ bento boxes—it’s hearty enough to stand alone but pairs perfectly with rice, grilled chicken, or even a slice of crusty bread. (Yes, even on a Tuesday night when I’m scrambling.)
- Budget Win: String beans and onions are cheap, and this recipe stretches them far. A single batch feeds four for dinner and still leaves enough for a side the next day. I’ll be real: I’ve made this with frozen beans in a pinch, and it’s still solid. That’s the kind of reliable, no-fuss meal that keeps my wallet happy.
Step-by-step instructions for garlicky sautéed string beans
Master this technique for perfectly balanced flavor and texture every time.
Prepare the String Beans for Maximum Crispiness
Start by trimming the ends of the 1.5 lb string beans and cutting them into 2-inch pieces. I use a sharp chef's knife for this—clean cuts prevent uneven cooking. Spread the cut beans on a clean kitchen towel and pat them thoroughly dry with another towel. This step is crucial for achieving crispy edges later; any moisture will steam the beans instead of allowing them to develop that desirable caramelization.
Transfer the dried beans to a large mixing bowl. In a small bowl, combine the 0.5 tsp diamond crystal kosher salt with the 0.25 tsp red pepper flakes. Sprinkle this mixture evenly over the beans and toss gently with your hands until completely coated. The salt will enhance the natural sweetness of the beans while the red pepper flakes add subtle heat that balances the richness of the olive oil. Let the seasoned beans sit for 10 minutes at room temperature before cooking—this allows the flavors to penetrate slightly and the beans to develop a better texture.
Develop the Garlicky Olive Oil Base
Heat a large, heavy-bottomed skillet over medium-high heat until it's properly preheated—you should see a gentle shimmer when you sprinkle a few drops of water. Add the 3 tbsp extra-virgin olive oil and allow it to heat for 1 minute. The oil should be hot enough to sizzle gently when you add the onions, but not smoking.
Add the thinly sliced 1 whole yellow onions to the skillet and cook for 3-4 minutes, stirring occasionally with a wooden spoon. The onions should soften slightly and begin to release their sweet aroma, but they shouldn't brown at this stage. Here's where the real magic happens: add the 4 minced garlic cloves and stir for 30 seconds until fragrant. The garlic should smell pungent and inviting, not burnt. This aromatic base forms the flavor foundation for your dish—don't rush this step or you'll miss the opportunity to develop these essential flavors.
Cook the Beans Until Crispy and Tender
Working in batches if necessary, add the seasoned string beans to the skillet in a single layer. Cook undisturbed for 4-5 minutes until the beans develop golden brown spots on their edges. This is where you achieve that coveted crispy texture—the beans should be tender but still hold their shape with slightly crisp edges. I like to press down gently on the beans during the first minute to prevent them from curling and ensure even contact with the pan.
Once the initial sear is complete, stir the beans occasionally for another 5-6 minutes until they're tender throughout but still maintain that crisp texture. The beans should be bright green with crisp edges and slightly softened centers. If you notice the onions beginning to stick to the pan, add a splash of water and scrape up any browned bits from the bottom—they're packed with flavor. The total cooking time should be about 10-12 minutes from when you first add the beans to the pan.
Finish with Perfect Seasoning and Texture
Remove the skillet from heat and taste the beans. They should be tender with a slight crispness to the edges, and you should be able to detect the garlic and red pepper flakes in every bite. If the dish needs more salt, add a pinch at a time—remember, the beans have been absorbing the salt since we seasoned them earlier. The key is to balance the flavors while maintaining that crisp texture we worked so hard to achieve.
Transfer the sautéed string beans to a serving dish and let them rest for 2-3 minutes before serving. This brief resting period allows the flavors to meld together and the beans to maintain their perfect texture. Serve immediately while still warm, garnished with an extra sprinkle of red pepper flakes if desired. The dish should have a perfect balance of crispy edges, tender centers, and aromatic garlic flavor that makes every bite satisfying.
Pro Tips For Making String Beans Onions
- Sear the Onions First: Get that pan hot—like, smoking hot—and cook the onions until they’re deep golden, not just translucent. I used to rush this, and the flavor stayed bland. Five minutes of patience here makes the whole dish sing.
- Trim Beans Properly: Snip the ends with kitchen shears—don’t just snap them. String beans are stubborn, and leaving even a tiny bit of the tough stem makes them chewy. (Yes, it’s tedious, but your jaw will thank you.)
- Crush Garlic Like Salt: Smash the garlic cloves flat with the side of your knife before mincing—no chopping needed. This releases more flavor and keeps them from burning. I learned this after one too many batches where the garlic tasted bitter.
- Finish with Oil, Not Water: Toss the cooked beans with a splash of extra-virgin olive oil at the end—it brightens the dish and cuts through the acidity of any leftover onion sharpness. Skip the water splash; this isn’t pasta.
Regional styles of these flavors
Southern Fried Style
In the South, string beans and onions are often cooked with a touch of smoked paprika and a splash of apple cider vinegar for tangy depth.
I like to add ½ teaspoon smoked paprika to the olive oil base and cook the onions for an extra 2 minutes until they're just starting to caramelize. Finish with 1 tablespoon apple cider vinegar and a pinch of sugar to balance the flavors.
This variation works perfectly as a side for fried chicken or pulled pork. 🌶️
Italian-Inspired Sauté
For an Italian twist, swap the red pepper flakes for dried oregano and sun-dried tomatoes. Sauté 2 tablespoons of sun-dried tomatoes with the onions and garlic, then add 1 teaspoon of dried oregano along with the beans.
A sprinkle of grated Parmesan cheese before serving adds a savory finish. This version pairs beautifully with grilled sausages or crusty bread. 🧀
Mexican Street Corn Style
Transform this dish into a Mexican-inspired side by adding chili powder and lime juice. After cooking the beans, stir in ½ teaspoon chili powder and 1 tablespoon lime juice.
Top with crumbled cotija cheese and cilantro for a vibrant, zesty dish. This variation is perfect for tacos or as a standalone side with grilled meats. 🌮
Cajun Spiced Version
Give your dish a Cajun kick by adding ½ teaspoon Cajun seasoning to the olive oil base. Cook the onions and garlic as usual, then toss the beans with the Cajun seasoning and 1 tablespoon of hot sauce after they're done.
This spicy, smoky version is ideal for seafood boils or jambalaya. 🌶️🔥
Mediterranean Herb Blend
For a Mediterranean touch, add 1 teaspoon of dried thyme and ½ teaspoon of dried rosemary to the onions while they cook. Finish with fresh parsley and a drizzle of lemon juice before serving. This herbaceous version complements grilled fish or lamb beautifully. 🌿
Creamy Garlic Finish
For a richer texture, stir in 2 tablespoons of heavy cream or Greek yogurt at the end of cooking. This adds a velvety finish that balances the crispy edges of the beans.
Garnish with extra garlic and a sprinkle of toasted pine nuts for added crunch. This version works wonderfully as a vegetarian main or side dish. 🥛
Nutrition facts
Frequently asked questions
Can I use frozen string beans instead of fresh?
Frozen string beans work perfectly—just thaw and pat them completely dry before cooking. The key is ensuring they're bone-dry to achieve those crispy edges. For extra flavor, add a pinch of smoked paprika to the olive oil base when sautéing.
What's the best way to prevent the onions from burning?
Cook the onions over medium heat for the first 3-4 minutes and stir frequently. Once they start softening, add the garlic and reduce heat slightly if needed. The onions should caramelize gently—not brown—to avoid bitterness.
Can I make this dish ahead of time?
Yes, but serve it at room temperature for best texture. Store leftovers in an airtight container for up to 4 days. Reheat gently in a skillet with a splash of water to restore crispiness. The flavors actually improve overnight!
What if I don't have red pepper flakes?
No problem! Swap for ½ teaspoon cayenne pepper or 1 teaspoon dried oregano for a different flavor profile. For heat-free, try a pinch of dried thyme instead. The dish will still be delicious—just with a different aromatic twist.
How do I make this vegetarian-friendly?
This recipe is already vegetarian! For extra protein, serve with toasted chickpeas or a side of crusty bread. The garlicky flavor pairs perfectly with plant-based dishes like lentil stews or grilled tofu.
