Slowly caramelize thinly sliced yellow onions in butter and olive oil until richly browned, then deglaze with a splash of dry white wine. Stir in rinsed long-grain rice and transfer to a casserole; pour in low-sodium broth, season with thyme, salt and pepper, and bake covered until the rice is tender. Finish uncovered with shredded Gruyère, a sprinkle of Parmesan and toasted bread croutons until the cheese melts and the topping is golden. Let rest briefly, then serve warm as a hearty main or a savory side; swap broths and cheeses to adjust richness or make plant-based substitutions.
The smell of onions slowly turning golden in butter is one of those things that makes everyone wander into the kitchen asking what is for dinner. I threw this dish together one rainy Tuesday when I had half a baguette going stale and a serious craving for French onion soup but zero patience for ladling broth into oven safe bowls. The result was something halfway between risotto and casserole, and honestly it might be better than the soup that inspired it. My roommate at the time stood over the stove eating straight from the dish before I could even set the table.
I have made this for friends who claimed they did not like onions, and every single one of them went back for seconds. There is something about the way caramelized onions melt into the rice that makes them unrecognizable in the best possible way. One friend now texts me every fall asking for the recipe, which is the highest compliment I can think of.
Ingredients
- 2 large yellow onions, thinly sliced: This is the soul of the dish so do not skimp here, and slice them as evenly as you can so they caramelize uniformly.
- 2 cloves garlic, minced: Fresh garlic makes a noticeable difference, added late so it stays sweet and fragrant rather than bitter.
- 1 cup long grain white rice, rinsed: Rinsing removes excess starch and keeps the grains distinct instead of gummy.
- 2 tablespoons unsalted butter: Combined with olive oil for a higher smoke point while still getting that rich buttery flavor in the onions.
- 1 cup shredded Gruyere cheese: The nutty melt of Gruyere is worth seeking out, though Swiss works in a pinch.
- 1/4 cup grated Parmesan cheese: Adds a salty punch that ties the whole top crust together.
- 2 1/4 cups low sodium beef or vegetable broth: Low sodium gives you control over the final seasoning.
- 1/4 cup dry white wine: Optional but it deglazes the pan and adds a subtle acidity that balances the richness beautifully.
- 1 tablespoon olive oil: Just enough to keep the butter from browning too fast.
- 1 teaspoon fresh thyme leaves: Thyme and onions are best friends, and you will smell why the moment they hit the pan together.
- 1/2 teaspoon salt: Added in stages, some for the onions and some for the broth.
- 1/4 teaspoon black pepper: A gentle amount lets the other flavors shine.
- 1 cup French bread croutons or cubes, toasted: These soak up the broth on top and get crunchy where they are exposed to the heat.
Instructions
- Preheat and prepare:
- Set your oven to 375 degrees F and grease a 2 quart casserole dish with a little butter or oil so nothing sticks later.
- Caramelize the onions slowly:
- Heat the olive oil and butter in a large skillet over medium low, then add the sliced onions with a pinch of salt and stir every few minutes for about 25 minutes until they are deeply golden and sweet. Do not rush this step because the color and flavor you build here are everything.
- Wake up the aromatics:
- Stir in the minced garlic and thyme, cooking for just one minute until your kitchen smells absolutely incredible.
- Deglaze the pan:
- Pour in the white wine if you are using it, scraping up all the caramelized bits stuck to the bottom of the pan, and let it bubble for 2 to 3 minutes until it reduces slightly.
- Toast the rice:
- Stir the rinsed rice into the onion mixture and let it cook for 2 minutes, coating every grain in that flavorful fat so it toasts slightly.
- Build the casserole:
- Transfer everything to your prepared casserole dish, pour in the broth, season with the remaining salt and pepper, and give it a gentle stir to combine.
- Bake covered:
- Cover the dish tightly with aluminum foil and bake for 30 minutes so the rice steams and absorbs all that liquid.
- Finish with cheese and crunch:
- Remove the foil, fluff the rice with a fork, scatter the Gruyere and Parmesan over the top, scatter the bread cubes, and bake uncovered for 10 to 12 minutes until the cheese is bubbling and the croutons are golden.
- Rest before serving:
- Let the casserole stand for 5 minutes so the liquid settles and you do not burn your tongue on molten cheese.
One winter I brought this to a potluck and three people asked me to teach them how to caramelize onions properly. That is when I realized this dish is really a lesson in patience disguised as comfort food, and the patience always pays off.
Serving Thoughts
This works beautifully as a main course with a simple green salad on the side, or you can serve smaller portions alongside roasted chicken or pork. I love it best on its own with nothing but a glass of the same white wine I used for deglazing.
Making It Your Own
A splash of Worcestershire sauce stirred in with the broth adds a deep savory note that tastes closer to traditional French onion soup. You can swap the Gruyere for sharp cheddar if you want something bolder, or use mozzarella if you are cooking for someone who prefers milder cheese.
Getting Ahead
You can caramelize the onions a day ahead and keep them in the fridge, which turns this into a mostly hands off weeknight dinner. The assembled casserole also freezes well before the final cheese step, so you can make two at once and save one for a night when cooking feels impossible.
- Let frozen casseroles thaw overnight in the fridge before baking.
- Always add the cheese and croutons fresh so they do not get soggy.
- Taste the broth before pouring it in because salt levels vary wildly between brands.
This is the kind of dish that makes your house smell like you spent all day cooking even though you barely did. Share it with someone who needs a warm bowl of something good tonight.
Recipe FAQs
- → How do I get deeply caramelized onions?
-
Cook thinly sliced onions slowly over medium-low heat with a little butter and oil, stirring frequently. Allow natural sugars to brown without rushing; patience yields a sweet, deeply flavored base.
- → Can I use different rice types?
-
Long-grain white rice works well for this bake. Shorter-grain or brown rice may require adjusted liquid and longer cooking time; check doneness and add hot broth if needed during baking.
- → How can I make it vegetarian or vegan?
-
Use vegetable broth and plant-based butter to keep it vegetarian. For a vegan finish, swap Gruyère and Parmesan for vegan cheese alternatives and use dairy-free butter.
- → Is it okay to prepare ahead of time?
-
Yes. Assemble up to the covered-bake step, refrigerate, and bake from cold adding a few extra minutes. For best texture, add the cheese and croutons near the end of baking.
- → What cheese substitutes work well?
-
Gruyère offers a nutty melt; Swiss or mozzarella are milder swaps. Finish with a small amount of grated Parmesan or a nutty alternative for extra depth.
- → How can I make it gluten-free?
-
Use gluten-free bread for the croutons and verify that your broth and any pre-shredded cheeses are labeled gluten-free to avoid cross-contamination.