Baked onions au gratin turns humble onions into a rich, caramelized side dish that pairs well with roasts, steaks, or even a simple green salad. The slow baking softens the onions until they’re sweet and tender, while a creamy cheese sauce and golden breadcrumb topping add indulgence. This recipe uses a 9×13-inch baking dish and serves six to eight people.
Ingredients
- 4 large yellow onions (about 2 1/2 pounds / 1.1 kg), peeled and sliced into 1/4-inch thick rings
- 3 tablespoons (42 g) unsalted butter, plus more for greasing the dish
- 2 tablespoons (16 g) all-purpose flour
- 1 1/2 cups (360 ml) whole milk, warmed
- 1 cup (120 g) shredded Gruyère cheese (or Swiss cheese)
- 1/2 cup (60 g) shredded sharp cheddar cheese
- 1/2 teaspoon salt
- 1/4 teaspoon black pepper
- 1/4 teaspoon ground nutmeg (optional)
- 1/2 cup (50 g) plain breadcrumbs
- 2 tablespoons (28 g) unsalted butter, melted (for topping)
- 2 tablespoons (8 g) chopped fresh parsley (for garnish, optional)
Instructions
- Preheat your oven to 375°F (190°C). Grease a 9×13-inch baking dish with butter.
- In a large skillet over medium heat, melt 3 tablespoons of butter. Add the sliced onions and cook, stirring occasionally, until they are soft and just starting to brown, about 10-12 minutes. Do not let them burn; reduce heat if necessary. Remove from heat and set aside.
- In a medium saucepan over medium heat, melt 3 tablespoons of butter. Whisk in the flour and cook for 1 minute, stirring constantly, until the mixture is bubbly and golden.
- Gradually whisk in the warm milk. Continue whisking until the sauce thickens and comes to a gentle simmer, about 3-4 minutes. The sauce should coat the back of a spoon.
- Remove the saucepan from heat. Add the Gruyère and cheddar cheeses, salt, pepper, and nutmeg (if using). Stir until the cheese is completely melted and the sauce is smooth.
- Spread the cooked onions evenly in the prepared baking dish. Pour the cheese sauce over the onions, making sure they are well coated.
- In a small bowl, mix the breadcrumbs with the melted butter. Sprinkle the breadcrumb mixture evenly over the top of the casserole.
- Bake for 25-30 minutes, until the sauce is bubbly and the top is golden brown. If the top browns too quickly, cover loosely with foil for the last 10 minutes.
- Let the dish rest for 5 minutes before serving. Garnish with fresh parsley if desired.
Tips
- Choose the right onion: Yellow onions are ideal because they become sweet and mellow when cooked. Sweet onions like Vidalia also work, but reduce the sugar in the sauce if you use them because they are naturally sweeter.
- Slice evenly: For even cooking, slice the onions into uniform 1/4-inch rings. Thicker slices will take longer to soften; thinner slices may turn to mush.
- Make ahead: You can assemble the casserole (without the breadcrumb topping) up to 24 hours in advance. Cover and refrigerate. When ready to bake, add the topping and increase the baking time by about 10 minutes, since you’re starting from cold.
- Don’t skip the rest: Letting the casserole rest for 5 minutes after baking allows the sauce to set slightly, making it easier to serve and preventing it from running all over the plate.
Serving Suggestions
This rich, cheesy onion casserole is a fantastic side dish for roasted chicken, grilled steak, pork chops, or a holiday ham. It also pairs well with a simple green salad and crusty bread for a lighter meal. For a vegetarian main, serve it alongside a hearty lentil stew or roasted vegetables.
Variations
- Add herbs: Stir in 1 teaspoon of fresh thyme leaves or 1/2 teaspoon of dried rosemary with the onions for extra flavor.
- Use different cheeses: Swap the Gruyère for smoked Gouda, fontina, or a mix of your favorite melting cheeses. Blue cheese adds a bold kick.
- Make it gluten-free: Use gluten-free all-purpose flour in the sauce and gluten-free breadcrumbs for the topping.
- Add a protein: Fold in 1 cup of cooked, diced ham or crumbled bacon before baking for a heartier dish.
Storage and Reheating
Store any leftover baked onions au gratin in an airtight container in the refrigerator for up to 4 days. To reheat, place individual portions in the microwave for 1-2 minutes, or reheat the entire casserole in a 350°F (175°C) oven for 15-20 minutes, until heated through. The topping will lose some of its crunch upon reheating; you can sprinkle fresh breadcrumbs on top before reheating if you like.
Frequently Asked Questions
Can I use pre-sliced onions? Yes, pre-sliced onions from the store work fine. Just check that they are sliced to about the same thickness as you would cut them yourself, and adjust the cooking time if they are thicker or thinner.
Can I make this dairy-free? Yes, you can substitute the butter with a plant-based butter, the milk with unsweetened almond or oat milk, and the cheese with dairy-free shredded cheese. The sauce may be slightly less creamy, but it will still be delicious.
Why is my sauce lumpy? Lumps usually form if the milk is added too quickly or if the flour isn’t cooked enough. Make sure to whisk constantly when adding the milk, and cook the flour-butter mixture (roux) for at least 1 minute before adding the liquid.
Can I freeze this dish? Yes, you can freeze the baked casserole for up to 2 months. Let it cool completely, then wrap tightly in plastic wrap and foil. Thaw overnight in the refrigerator before reheating in the oven at 350°F (175°C) until hot and bubbly. The texture of the onions may soften slightly after freezing.
What if I don’t have Gruyère? Swiss cheese, Emmental, or even a good-quality Jarlsberg are excellent substitutes. You can also use all cheddar, but the flavor will be sharper.
Can I use a different size baking dish? Yes, you can use a 2-quart (8-cup) baking dish, such as an 8×8-inch square or a 10-inch round. The baking time may be slightly longer because the casserole will be deeper. Check for doneness by inserting a knife in the center; it should come out hot and the top should be golden.