cheese and onion

title 1
cheese and onion
⏱️ cook time 30 minutes
🍽️ servings 4
⚡ Difficulty easy

intro

Velvety caramelized onions folded into rich, sharp melted cheddar, baked to a golden bubbly crust—this timeless British side is cozy, simple, and pure comfort on a plate.

Ingredients

Yellow onions 2 large (400g total)
Mature sharp cheddar cheese 200g
Unsalted butter 25g
All-purpose plain flour 1 tbsp (10g)
Whole milk 100ml
English mustard powder 1 tsp
Freshly grated nutmeg 1/4 tsp
Flaky sea salt 1/2 tsp
Freshly ground black pepper 1/4 tsp
Fresh curly parsley 1 tbsp (chopped, for garnish)

Steps

1

Prep onions and cheese

Set the end-grain maple cutting board on the center-left of the counter. Use the stainless steel chef knife to peel 2 large yellow onions, halve them through the root end, then slice into uniform 5mm thick half-moons. Position the box grater to the right of the board, then coarsely grate 180g of the mature sharp cheddar; finely grate the remaining 20g and set it aside in the clear glass ramekin for the top crust. Collect sliced onions and coarse grated cheese in separate small piles on the cutting board, discarding onion papery skins.

Step 1
step1:Prep onions and cheese
2

Caramelize the onions

Set the 24cm stainless steel skillet on the black induction stovetop over medium-low heat. Add 25g unsalted butter, and once melted and lightly foaming (about 1 minute), add all sliced onions. Toss with the grey silicone spatula to coat every slice in butter. Cook for 18-20 minutes, stirring every 3 minutes, until onions are completely soft, translucent, and pale golden at the edges, with no crisp raw white pieces remaining. Season with half the measured flaky sea salt and black pepper once softened. Do not turn the heat too high, as burnt onions will add a bitter flavor to the final dish.

Step 2
step2:Caramelize the onions
Step 2
step2:Caramelize the onions
3

Make creamy cheese base

Sprinkle 1 tablespoon of all-purpose flour evenly over the caramelized onions in the skillet. Stir continuously with the silicone spatula for 2 full minutes to cook out the raw flour taste, so no floury aftertaste remains. Slowly pour in 100ml whole milk, stirring constantly, until the mixture thickens into a light, velvety coating that clings to the onion slices (about 3 minutes). Stir in 1 teaspoon English mustard powder and 1/4 teaspoon freshly grated nutmeg for depth, then fold in the 180g of coarsely grated cheddar until fully melted and smooth, with no lumps of unmelted cheese remaining.

Step 3
step3:Make creamy cheese base
4

Fill baking dish evenly

Remove the skillet from the stovetop heat. Position the matte cream ceramic baking dish on the counter directly in front of the stovetop. Scrape all of the cheese and onion mixture from the skillet into the baking dish, using the silicone spatula to spread it into a smooth, even layer across the dish, taking care not to leave mounds that will burn unevenly under heat.

Step 4
step4:Fill baking dish evenly
5

Top with reserved cheese

Take the finely grated reserved 20g of cheddar from the glass ramekin, and sprinkle it in an even, thin layer across the entire top surface of the cheese and onion mixture. This fine grate will melt faster and create a crisp, bubbly top crust without overcooking the filling below.

Step 5
step5:Top with reserved cheese
6

Broil to golden bubbly

Preheat the oven broiler (grill) to high, with a rack positioned 15cm below the heating element. Carefully place the baking dish on the rack, and broil for 5-7 minutes, watching constantly to avoid burning. The dish is done when the top cheese is fully melted, bubbling across the entire surface, and dotted with deep, rich golden-brown spots. Use the quilted cream oven mitts to carefully lift the hot dish out of the oven, as the ceramic will be very hot to touch.

Step 6
step6:Broil to golden bubbly
Step 6
step6:Broil to golden bubbly
7

Garnish and rest to serve

Set the hot baking dish back on the soapstone counter and let it rest for 3 minutes to allow the filling to set slightly, so it does not run when served. Finely chop 1 tablespoon of fresh curly parsley, and sprinkle it evenly across the golden top for a bright, fresh color contrast. Serve warm.

Step 7
step7:Garnish and rest to serve

Tips

1.Slice onions to a uniform 5mm thickness: slices that are too thin will burn quickly during caramelization, while overly thick slices will stay crunchy and raw, disrupting the dish’s signature smooth, creamy texture.
2.Use a mix of coarse and finely grated cheese: coarsely grated cheddar melts smoothly into the filling for a velvety base, while the finely grated top layer creates an evenly browned, crisp crust without extra cooking time that would make the filling rubbery.
3.Don’t skip the 3-minute rest after baking: this short pause lets the hot cheese sauce set slightly so it holds its shape when served instead of running across the plate, and cools the dish to a pleasant eating temperature rather than scalding hot.

✨ You May Also Like

Side Dishes
🍜 India

Velvety, aromatic all-purpose curry sauce perfect for tossing with roasted veggies, grilled protein, or rice for fast, cozy, flavorful meals.

⏱️ 25 minuteSide Dishes ★ 4.8
Side Dishes
🍜 Spain

Tender, starchy boiled yuca tossed in bright, garlicky citrus mojo sauce—an iconic, zesty side that pairs beautifully with roasted pork, grilled meats, and rice and beans.

⏱️ 40 minuteSide Dishes ★ 5
Side Dishes
🍜 United States

Tender, paper-thin potato flatbread, a beloved Norwegian-American Minnesota Christmas staple, griddled until softly spotted and served warm with butter.

⏱️ 1 hour 30Side Dishes ★ 4.6
Side Dishes
🍜 United States

Rich, deeply savory cured salt pork, a long-lasting kitchen staple perfect for frying crispy as a side or adding umami to stews, beans, and chowders.

⏱️ 7 days (2Side Dishes ★ 4.9
Side Dishes
🍜 United States

Crispy, tangy classic Southern fried green tomatoes with a crunchy cornmeal crust, served hot for a nostalgic, comforting summery bite.

⏱️ 25 minuteSide Dishes ★ 4.9
Side Dishes
🍜 United States

Moist, golden-crusted savory muffins with sweet corn, zesty jalapeño, and melted cheddar, perfect for pairing with smoky summer grilled fare.

⏱️ 30 minuteSide Dishes ★ 4.9

cheese and onion:Frequently Asked Questions

1.Do I need to caramelize the onions first, or can I just toss raw onions into the bake? ▾
You absolutely need to caramelize the onions first—raw onions will release harsh, watery liquid as they bake, making the final dish runny and giving it a sharp, bitter bite instead of that deep, sweet, mellow flavor that makes this recipe iconic. Cook them low and slow in butter for 25 to 30 minutes until deep golden and soft before folding them into the cheese base.
2.Can I use pre-shredded cheddar instead of grating my own block of mature sharp cheddar? ▾
I strongly recommend grating your own cheddar for the best texture. Pre-shredded cheese is coated in anti-caking agents like potato starch that prevent it from melting smoothly, leading to a grainy, slightly greasy final bake. Freshly grated mature sharp cheddar melts into that luxuriously velvety pull we all want from this dish.
3.What’s the best onion to use for this recipe, and can I swap in sweet onions instead of yellow onions? ▾
Yellow onions are ideal here because they have the perfect balance of sharp, savory bite that breaks down into sweet, complex caramelization without tasting cloying. You can swap in sweet onions if that’s what you have, but cut your caramelization cook time by 5 to 7 minutes so they don’t turn overly soft or sugary.
4.Why does my cheese sauce sometimes turn grainy when I’m making the roux base? ▾
Grainy cheese sauce almost always comes from two missteps: adding your milk too fast when building the roux, or stirring in cheese over heat that’s too high. Whisk milk in a little at a time to keep the base smooth, then take the pan off the heat before folding in grated cheddar so it melts gently without seizing.
5.Can I use low-fat milk instead of whole milk for a lighter version of this bake? ▾
You can use 2% milk if you’re in a pinch, but I don’t recommend skim or most non-dairy milks for the classic texture. Whole milk has just enough fat to create a rich, creamy béchamel base that coats the caramelized onions perfectly without feeling thin, watery, or artificially thick after baking.
6.How do I get that perfect golden, bubbly top crust without burning the cheese? ▾
For that ideal crispy, golden top, bake the dish uncovered in a 375°F oven for 20 to 25 minutes, and keep a close eye on it during the last 5 minutes. If you want extra crunch, toss a handful of extra grated cheddar and a pinch of paprika on top right before baking, but skip heavy breadcrumbs for the classic profile.
7.Is this dish supposed to have a firm, sliceable texture or a soft, scoopable consistency? ▾
Classic Baked Cheese and Onion should be soft, scoopable, and hold its shape just enough when you serve it, not firm like a quiche or sliceable like a pastry pie. If it’s too runny, you may have undercooked your roux; if it’s rubbery, you likely baked it too long or used too much flour.
8.Can I make this recipe ahead of time for a holiday dinner or potluck? ▾
Absolutely! You can assemble the entire dish—caramelized onions, cheese sauce, and all—in your baking dish, cover it tightly, and store it in the fridge for up to 24 hours before baking. Add 5 to 7 minutes to your bake time if you’re putting it in the oven straight from the fridge to ensure even heating.
9.What should I serve with Classic Baked Cheese and Onion to make a full meal? ▾
This rich, savory side pairs beautifully with simple roasted proteins like roast chicken, seared pork sausages, baked ham, or grilled steak. It’s a natural fit for Sunday-style dinners, served alongside roasted potatoes, steamed green beans, and a dollop of tangy apple chutney to cut through the richness.
10.I don’t have all-purpose plain flour—can I use a gluten-free flour blend for the roux? ▾
Yes, a 1:1 all-purpose gluten-free flour blend works perfectly as a swap for regular AP flour to make this dish gluten-free. Just make sure your blend contains xanthan gum to help thicken the béchamel properly, and cook the roux for 2 to 3 minutes to get rid of any raw flour taste.
11.Why do my caramelized onions always burn before they get soft and golden? ▾
Burnt caramelized onions almost always mean your heat is too high. Cook sliced onions in melted unsalted butter over medium-low heat, stirring every few minutes, and don’t rush the process—they need 25 to 30 minutes to break down slowly. If they start to stick, add a tiny splash of water to deglaze the pan.
12.Can I add extra mix-ins like bacon, herbs, or breadcrumbs to this recipe? ▾
The classic recipe is intentionally simple, but you can absolutely customize it to your taste! Crispy crumbled bacon, a pinch of fresh thyme or nutmeg, a handful of caramelized leeks, or a light panko topping all work beautifully—just don’t overload the base so the sharp cheddar and sweet onion flavor stays front and center.
13.How do I store leftovers, and how long will they keep in the fridge? ▾
Let leftover baked cheese and onion cool completely to room temperature, then cover the baking dish tightly with plastic wrap or transfer leftovers to an airtight container. It will keep well in the fridge for 3 to 4 days, and you can reheat portions in the microwave or the whole dish in a 350°F oven until bubbly.
14.My bake came out really greasy on top—what did I do wrong? ▾
A greasy top usually means you used a cheddar with too high a moisture content, or you heated the cheese to too high a temperature while making the sauce. Stick to a firm, mature sharp cheddar (not soft young cheddar or processed cheese) and melt it off the heat to prevent fat from separating and pooling as it bakes.
15.Can I freeze Classic Baked Cheese and Onion for later quick meals? ▾
You can freeze this dish for up to 3 months, but note that the texture may be slightly less creamy after thawing, as dairy-based sauces can sometimes separate a bit. Assemble it unbaked, wrap it tightly in two layers of plastic wrap and foil, and thaw it completely in the fridge before baking for best results.
16.Do I need to use unsalted butter, or can I use salted butter instead? ▾
Unsalted butter is preferred because it lets you control the exact salt level of the dish, which is extra important since sharp cheddar already has a fair amount of natural salt. If you only have salted butter on hand, just skip adding extra salt to the roux and sauce, and taste as you go to avoid over-seasoning.
17.What size baking dish is best for this recipe to get the right ratio of creamy center to crispy top? ▾
A 9-inch square baking dish or 2-quart oval casserole dish is ideal for this recipe. This size gives you a 1.5 to 2 inch deep layer of the cheese and onion mixture, which means you’ll get plenty of soft, creamy interior paired with a generous amount of golden, bubbly crust across the entire top.

Comments (14)

2 days ago

OMG this was SO good! I threw this together last minute for our weeknight family dinner and even my super picky 7 year old asked for seconds. I used sharp cheddar like the recipe said and the caramelized onions? *Chef’s kiss* Total game changer for easy weeknight meals. 10/10 will make again for our next neighborhood potluck!

yesterday

Wait did you add any extra breadcrumb topping? I’m making this for a work potluck Friday and wondering if that would make it hold up better for travel!

yesterday

So glad your family loved it! A light panko breadcrumb topping tossed in melted butter works great if you want a little extra crunch and structure for potluck travel – just add it the last 10 minutes of baking so it doesn’t burn!

3 days ago

As a guy who can barely boil water without messing it up, this recipe was perfect for me. Super easy, only took 30 minutes total, and my roommate said it tasted like something from a fancy pub. I did add a little extra garlic powder because I put that on everything, no regrets.

2 days ago

Love the garlic powder hack! That’s such a great easy add for extra depth – so happy you and your roommate enjoyed it, even as a beginner cook!

1 week ago

Made this for meal prep this week and it reheats like a dream! Portioned it out with some roasted broccoli and it’s the perfect cozy lunch to look forward to after cold morning hikes. Only thing I’ll do different next time is use a mix of cheddar and gruyere for extra nuttiness.

5 days ago

Wait, I’ve been making baked cheese and onion for years and this version is way simpler than my old family recipe? I was skeptical at first because the ingredient list is so short, but the flavor is insane. My partner ate half the pan in one sitting lmao.

3 days ago

Right?! I thought I was missing steps when I read the directions too but it totally delivers. The slow onion cook while the oven preheats is the secret I guess!

yesterday

Has anyone tried making this dairy free? My youngest is lactose intolerant but he’s been begging for something cheesy and oniony after smelling the version I made for the rest of the family last night. The regular version is incredible by the way, my oldest two kids fought over the last bite.

2 hours ago

I made it last week with dairy free sharp cheddar shreds and a splash of oat milk, it worked perfectly! Just make sure you get the melting kind of dairy free cheese, not the weird crumbly stuff.

30 minutes ago

Great tip from Erica! We’ve tested this with a few dairy free cheese blends and the ones formulated for melting work best – you can also swap the regular butter for plant based butter without losing any flavor!

2 weeks ago

This was pretty good! I loved how fast it came together, but my onions came out a little crunchier than I wanted even after following the cook time exactly. Maybe my oven runs hot? Not sure, but I’ll cook the onions a little longer next time before adding the cheese.

1 week ago

Sorry the onions were crunchier than you preferred! Oven temps can vary a lot, so if your onions aren’t as soft as you like after the initial bake, you can give them an extra 5 minutes covered with foil before adding the cheese layer to help them soften faster without burning.

1 week ago

Made this for our game night watch party last weekend and it was gone in 10 minutes. Served it with crusty bread slices for dipping and everyone was asking for the recipe. SO good.

30 minutes ago

Wait this is so budget friendly? I got all the ingredients for like $6 at the campus grocery store and it fed me for 3 days. Way better than the microwave meals I’ve been living off of this semester. No notes, 10/10.

5 minutes ago

So stoked this works for your college budget! It’s such a versatile, low-cost meal – you can toss in leftover cooked veggies or diced ham if you have them lying around to change it up too!

5 days ago

I added a layer of sautéed spinach and a sprinkle of nutmeg like I do for my mac and cheese, and oh my gosh it took this to the next level. The sweetness of the onions pairs so well with the earthy spinach. Highly recommend that add-in if you have extra veggies in the fridge!

3 days ago

Oh the nutmeg addition sounds chef’s kiss! I’m always looking for ways to sneak extra veggies into my meals, I’m definitely trying the spinach trick next time I make this.

2 days ago

That sounds absolutely delicious! Nutmeg is such an underrated spice for cheesy dishes, and the spinach adds such a nice pop of color and nutrition. Thanks for sharing the hack!

2 days ago

Made this as a side for our Sunday steak dinner and it was the star of the show tbh. Who knew something so simple could hit that hard. Will be a regular on our dinner rotation from now on.

2 hours ago

Quick question – can I make this in a cast iron skillet instead of a glass baking dish? I only have my cast iron handy right now and I’m craving this for dinner tonight.

30 minutes ago

Absolutely! Cast iron works perfectly for this recipe – just keep an eye on the edges the last few minutes of baking, since cast iron can get a little hotter than glass dishes and may crisp the edges faster.

1 week ago

I’ve been making a version of this since I was a newlywed in the 70s, and let me tell you – this recipe is the real deal. Tastes exactly like the one my mom used to make for Sunday suppers after church. I brought it to my church potluck last week and the ladies in my bible study all asked for the copy of the recipe. Excellent work!

5 days ago

Aww this makes me so happy! My grandma used to make this too but I lost her recipe when we moved last year. I can’t wait to try this to bring back those memories.

3 days ago

That means the world to hear, Pat! These classic, simple recipes are the ones that hold so many family memories, and we’re so glad this one lives up to the version you know and love.

5 minutes ago

Full transparency: I forgot to pre-sauté the onions a little like I thought I was supposed to and just dumped everything in the pan, and it still came out amazing? The onions cooked down perfectly in the oven while the cheese got all bubbly. 30 minutes start to finish, zero stress. Exactly what I needed after a long work day.

just now

Wait that’s such a win! I’m the queen of skipping recipe steps so this gives me confidence I can’t mess this up even when I’m half paying attention after work.

3 days ago

This is such a great cozy comfort food that doesn’t leave me feeling super heavy after eating it. I paired it with a side arugula salad for a perfect balanced weeknight meal, and my boyfriend said it’s better than the version he gets at our local British pub. Will absolutely make again.