This comforting casserole layers deeply caramelized yellow onions with garlic and thyme, coats long‑grain rice, then bakes it in savory broth until tender. After a foil-covered bake the dish is unsealed, topped with Gruyère and Parmesan and toasted bread croutons, and returned to the oven to melt and crisp for a bubbling, golden finish.
The first time I made this, my kitchen smelled like a tiny bistro in Paris. I was trying to recreate French onion soup without the tedious ladling and individual crocks. This rice version became my weeknight solution to those intense, caramelized onion cravings.
Last winter my neighbor came over during a snowstorm and we ate this standing by the counter watching the flakes fall. Something about bubbling cheese and caramelized onions makes people linger in the kitchen longer than they planned.
Ingredients
- 2 large yellow onions: Thinly slice them yourself because pre-cut onions never caramelize quite the same way
- 2 cloves garlic: Minced fresh because garlic powder misses the point here
- 1 cup long-grain white rice: Rinse it until the water runs clear or you will end up with gummy soup instead of fluffy grains
- 2 tablespoons unsalted butter: Use the real thing along with olive oil for the best onion flavor foundation
- 1 cup shredded Gruyère cheese: The classic choice but Swiss works in a pinch
- 1/4 cup grated Parmesan cheese: Adds that salty depth that makes everything taste more expensive
- 2 1/4 cups low-sodium beef or vegetable broth: Low sodium is crucial because the cheese brings plenty of salt on its own
- 1/4 cup dry white wine: Optional but deglazing the pan captures all those caramelized onion bits
- 1 tablespoon olive oil: Combines with butter to prevent burning during the long onion cook time
- 1 teaspoon fresh thyme leaves: Dried works but fresh makes the kitchen smell incredible
- 1/2 teaspoon salt: Adjust at the end since tastes vary wildly
- 1/4 teaspoon black pepper: Fresh ground makes a noticeable difference
- 1 cup French bread croutons: Toast them yourself for that perfect crunch contrast
Instructions
- Caramelize the onions:
- Heat olive oil and butter in a large skillet over medium-low heat. Add sliced onions with a pinch of salt and cook stirring frequently for 25 minutes until deeply golden brown.
- Add aromatics:
- Stir in garlic and thyme and cook for just 1 minute until fragrant. Deglaze with white wine if using scraping up any browned bits from the pan bottom.
- Toast the rice:
- Stir in the rice coating it thoroughly with the onion mixture and cook for 2 minutes. This step develops nutty flavor that you cannot skip.
- Assemble and bake:
- Transfer everything to a greased casserole dish and pour in the broth. Season with salt and pepper then cover tightly with foil and bake at 375°F for 30 minutes.
- Create the cheese crust:
- Remove foil fluff the rice and sprinkle both cheeses on top. Add croutons and bake uncovered for 10 to 12 minutes until cheese melts and bubbles.
- Let it rest:
- Wait 5 minutes before serving. This gives the rice time to reabsorb any remaining liquid for the perfect texture.
This recipe has saved me more times than I can count when unexpected guests show up and I need something impressive but manageable. The way it transforms simple ingredients into something that feels restaurant quality still amazes me.
Making It Your Own
I have found that adding a splash of Worcestershire sauce to the broth creates this incredible umami boost that people cannot quite identify. My sister prefers adding a tablespoon of balsamic vinegar to the onions during the last five minutes of caramelizing for a subtle sweetness that works beautifully with the salty cheese.
Perfect Pairings
A simple green salad with sharp vinaigrette cuts through the richness perfectly. If I am serving this as a main course I will often roast some asparagus or Brussels sprouts on the same sheet pan while the rice bakes.
Make Ahead Magic
You can caramelize the onions up to three days in advance and keep them in the refrigerator. The entire assembled dish (before the final cheese bake step) freezes beautifully for up to two months.
- Thaw overnight in the refrigerator before the final baking step
- Add an extra 5 to 10 minutes to the bake time if cooking from cold
- The croutons stay crunchier if you add them during the last 5 minutes of baking
This is the kind of comfort food that makes any random Tuesday feel like a special occasion worth celebrating.
Your Recipe Questions Answered
- → How long should I caramelize the onions?
-
Cook sliced yellow onions over medium-low heat for about 25 minutes, stirring frequently until they are deeply golden and sweet; patience develops the best flavor.
- → Can I use vegetable broth instead of beef broth?
-
Yes—use vegetable broth to keep the dish vegetarian; beef broth adds extra savory depth. Taste and adjust seasoning when switching broths.
- → How do I prevent the rice from becoming soggy?
-
Rinse the long-grain rice, briefly toast it with the caramelized onions to coat, and follow the 2 1/4 cups liquid per cup rice ratio. Bake covered, then uncover to finish and let it rest before serving.
- → What are good cheese substitutes for Gruyère?
-
Swiss offers a similar melt and nutty note; mozzarella or a mild cheddar work for creaminess. Finely grate the cheese so it melts evenly and browns nicely.
- → How can I make this dish vegan?
-
Swap butter for plant-based spread, choose a vegetable broth and dairy-free melting cheese, and use vegan or gluten-free toasted bread for the topping if needed.
- → What’s the best way to reheat leftovers?
-
Warm covered in a 350°F oven until heated through, or microwave with a splash of broth to restore moisture; add fresh cheese or briefly broil to refresh the topping.