Shallots
10.0best for quicheStronger, use less and mince fine
Onions in Quiche contributes flavor, color, and body to the custard filling. The replacement should pre-cook similarly to avoid watering out the filling.
Stronger, use less and mince fine
Shallots go in at 0.75 cup and sweat in 7 minutes rather than 10 because of their smaller size and higher sugar. They distribute more evenly through the rich custard than diced onion, letting you pour a thinner layer and still bake to a confident jiggle at 175°F in the blind-baked crust.
Sweet and aromatic when diced and sauteed; classic mirepoix swap in soups
Carrots swap 1:1 but bring 88% water versus onion's 85%, so pre-sauté 12 minutes until the edges turn golden and no moisture releases into the pan — otherwise the custard won't set tender in the 45-minute bake. Grate fine so the wedge slices clean and doesn't tunnel through the cream-and-egg filling.
Diced bell pepper adds sweetness and crunch; good aromatic base in stir-fries
Bell pepper replaces 1:1 but holds 92% water — far more than onion — so you must roast at 400°F for 20 minutes until charred, then peel and dice, before stirring into the egg mixture. Skipping this step weeps water into the custard during bake and leaves the crust soggy instead of crisp under the golden slice.
Stronger flavor, use slightly less
Leeks substitute at 0.75 cup and bring a silkier melt than onion into the custard thanks to their lower fiber. Whites only, sliced into 1/4-inch rings, sweated 8 minutes in butter. They pair classically with the rich cream filling and bake to a soft-set jiggle without the stringiness dark-green leek parts would bring to a slice.
Mild anise when raw, sweet onion-like cooked
Fennel swaps 1:1 but its anise oils survive a 45-minute bake and can dominate a quiche, so pair only with neutral cheeses like gruyère, not sharp cheddar. Dice 1/4 inch, sweat 10 minutes until pale and soft, cool 5 minutes before pouring into the custard so the egg yolks don't scramble on contact with hot fennel.
Aromatic base vegetable, milder but similar role
Mild sweet bulk for braises and stews when sauteed; won't build the same aroma base
Strong allium, use few cloves for aromatic base
Use 1 tsp onion powder per small onion; provides concentrated flavor without bulk or moisture
Mild onion flavor, best added at end raw
Onions in quiche custard carry a hidden 85% water content that will weep out during the 45-minute bake and leave the filling with a soggy bottom unless you pre-cook them. Sweat 1 cup diced onion in butter for 10 minutes over medium-low until they go soft and pale gold, then spread them on a plate to cool for 5 minutes before you stir them into the egg and cream — hot onions will scramble the yolks on contact.
Blind bake the crust 15 minutes at 400°F so it seals against the rich filling, then pour the custard to within 1/4 inch of the rim. The quiche is set when the center shows a slight jiggle at 175°F internal; onion-heavy fillings need 5 extra minutes past a plain custard because the onion water raises the total mass.
Unlike onions in soup where soft texture is welcome whole, in a quiche wedge you want the pieces small enough not to tunnel through the tender custard when you slice.
Don't pour hot sautéed onions into the egg-and-cream custard — they'll scramble the yolks on contact and ruin the set before it enters the crust.
Avoid skipping the blind bake; raw onion juice plus custard on unbaked pastry produces a gummy bottom that never goes golden.
Reduce onion to 3/4 cup if you're going past 9 inches of crust, because extra water raises the jiggle point and pushes the rich filling past its set window.
Don't slice the quiche while the center jiggles deeply; wedges collapse because the onion-laden custard needs 15 minutes of carryover to finish setting.
Skip layering raw onion rings on top — they char before the tender custard reaches internal set and bitter the golden surface.