Onion Pie Recipe: A Cajun-Inspired Savory Cheese Dish
Onion pie is the kind of dish that surprises people. They hear "onion," and they're not sure - but then they take one bite, and everything changes. Sweet, slow-cooked onions folded into a creamy, cheesy custard filling, baked into a buttery saltine cracker crust, and flavored with Gruyere cheese and a touch of Cajun seasoning. It's rich, savory, and oh, so satisfying!

As an Amazon Associate, I earn from qualifying purchases through links on Louisiana Woman Blog. Thanks!
This recipe is inspired by a recipe in an old Cajun cookbook I stumbled across, and the moment I read it, I knew I had to make it. There's something special about finding a recipe like that - tucked away in the pages of a well-loved book, just waiting to be rediscovered.
I had a pile of onions in the pantry, a block of cheese in the refrigerator, and dried beef bouillon in the pantry, and something told me these ingredients belonged together in that pie. I added Cajun seasoning because that's just what we do around here, and the result has been on repeat ever since. Those ingredients marry in the most wonderful way - the beef bouillon and melted Gruyere cheese create a flavor that tastes just like French onion soup baked into a pie. One bite and you'll understand why it's the kind of dish that feels fancy enough for company but simple enough for a Tuesday night supper.
If you're new to savory pie, don't let that word "pie" intimidate you. This one comes together without any fuss. The saltine cracker crust is pressed right into the pie pan - no rolling, no chilling, no stress. My Crawfish Pot Pie works the same way and is equally satisfying when you're in the mood for something hearty and comforting.
Another savory pie that's popular with friends and family is my Old-Fashioned Chicken Pot Pie. It's easy to make from scratch and well worth the effort.
Jump to:
What Is Onion Pie?
Onion pie is a savory custard dish made with slow-cooked onions, eggs, cream, and cheese baked into a salty cracker crust. It's not a sweet pie - think of it more like a quiche, but heartier and with a little Southern soul baked right in.
This version uses Gruyere cheese, which melts beautifully and has a slightly nutty flavor that pairs wonderfully with sweet sautéed onions. The beef bouillon cube adds a rich, savory depth that really makes the filling sing. Together, the Gruyere and bouillon give this pie a flavor that's wonderfully reminiscent of French onion soup - that same deep, savory, cheesy goodness you know and love, but baked into a slice of pie.
The Cajun seasoning gives it just enough warmth to remind you where this recipe comes from.
It works beautifully as a main dish alongside a simple salad, or as a side dish next to grilled or roasted meats. It's also a wonderful addition to a brunch spread. For more ideas to serve alongside main dishes, browse through these Vegetable recipes for inspiration.
More Savory Classics You'll Love
Ingredients

Important Ingredient Notes
Onions - Three large onions sound like a lot, and it is! But they cook way down. You want them soft and sweet, not browned and caramelized like French onion soup. Give them time and gentle heat. Vidalia onions work beautifully here.
Gruyere cheese - This is worth seeking out. Gruyère has a creamy, slightly nutty flavor that pairs well with onions. It melts smoothly into the custard and adds a richness that other cheeses just don't quite match. It's also one of the two key ingredients that give this pie that irresistible French onion soup flavor. If you truly can't find it, Swiss cheese is the closest substitute.
Beef bouillon cube - One small cube makes a big difference here. It deepens the onions' flavor and gives the filling a savory, almost meaty quality without any actual meat in the dish. This is the other half of that French onion soup magic - don't skip it!
Saltine crackers - These form the crust, and it's a brilliant one. Crushed with your hands (do not process into a powder) and mixed with melted butter, they press right into the pan and bake up with a satisfying, salty crunch. No rolling pin needed.
Half and half - This is what gives the custard its creamy, silky texture. Don't swap it for regular milk or the filling won't set up as richly.
See recipe card for quantities.
How to Make Onion Pie
Making this pie is straightforward and relaxed. Don't let the number of steps scare you away. Here's how it comes together:

- Melt 2 tablespoons of butter in a large skillet on the stove.
- Sauté onions in the butter on medium heat until tender and clear, about 15-20 minutes; do not caramelize the onion; some browning may occur.

- Stir in the garlic and cook for 1 minute; you don't want to burn it.
- Add seasonings and stir together.
- Stir in the crushed beef bouillon cube.
- Remove the pan from the heat and allow the onions to cool slightly.

- Preheat the oven to 350°F and prepare a 9" pie plate; spray the pie plate generously with cooking spray. (A metal pan may cause the pie to stick a bit, but it makes a crisp, sturdy pie.)
- Melt the 6 tablespoons of butter in a medium microwave-safe bowl.
- Stir in the crushed crackers until they are evenly coated with the butter.

- Firmly press the cracker crumbs into the pie plate, spreading them evenly and up the sides. A small, rounded bowl or measuring cup can help in pressing the crumbs down. Keep in mind that this crust will be loose, so don't expect it to hold tightly to the rim of the pie plate. As the pie bakes, the saltine crust will firm up and transfer from pie pan to plate quite well.

- Place the cooked onions evenly in the pie crust.

- Beat the eggs in a medium-sized bowl.
- Add half-and-half and cheese to the eggs and stir together.

- Pour the egg mixture evenly over the onions.

- Bake in the preheated oven for 35 minutes or until golden on top.
HINT: The pie will puff up slightly in the oven and settle back down as it cools. That is completely normal and a good sign!
Substitutions
This recipe is flexible, and that's one of the things I love about it.
- No saltines? Use Ritz crackers instead.
- No Gruyere? Swiss cheese, like in a French onion soup, works well and has a similar mild, nutty quality. The original recipe in the Cajun cookbook calls for Parmesan cheese, and the traditional Southern Vidalia onion pie uses cheddar cheese.
- No half and half? A mix of heavy cream and whole milk gets you close. Avoid low-fat options here.
- Want to add meat? A handful of cooked, crumbled bacon or diced ham stirred into the filling is a wonderful addition.
- Vegetarian version? Simply swap the beef bouillon cube for a vegetable bouillon cube. It still adds saltiness and great depth.
My Easy Layered Southern Cornbread Salad is another recipe where you can make easy swaps and still land on something truly delicious. Don't be afraid to make a recipe your own.
Storage
Let the pie cool completely before covering it. Store leftovers in the refrigerator, tightly covered, for up to 3 days. Reheat individual slices in the microwave or warm the whole pie in a 325°F oven. It tastes just as good the next day - maybe even better once the flavors have had time to settle in.
Top Tips
Don't chop the onions into fine pieces; you want them chunky. Slicing them into rounds doesn't work here, either, as it will make every bite stringy.
Don't rush the onions. This is the most important step in the whole recipe. Slow, gentle heat is what transforms raw, sharp onions into something sweet and silky. If you try to speed things up over high heat, they'll brown on the outside before they're truly cooked through. Give them 15 minutes or more over medium-low heat, and you'll be rewarded.
You can cook the onions a day in advance and refrigerate them. That makes putting this pie together the next day very quick and easy - a wonderful little timesaver when you're planning ahead for company or a holiday meal.
Crush the crackers by hand. I find that stacking about 8 at a time first, then crushing them with both hands, does the trick. Smash them some more in the bowl before adding the melted butter, if needed.
How to Make a Saltine Cracker Pie Crust in Minutes is the answer when you want a homemade pie without the fuss of traditional pastry dough. It comes together with just two ingredients, takes only minutes to press into the pan, and bakes up crispy and buttery every single time.
If you love big onion flavor like I do, you'll want to bookmark this too. Kayla at The Farmstyle has a wonderful homemade Lipton Onion Soup mix recipe that is easy to make and great to keep on hand. It's a timesaver for so many recipes!
FAQ
Yes! You can bake it fully, let it cool, cover it, and refrigerate it for up to two days. Reheat it gently in a 325°F oven for about 15 minutes until warmed through.
Custard-based pies don't freeze as well as other dishes. The texture can become watery after thawing. This one is best enjoyed fresh or within two days.
It's lovely alongside a simple green salad, roasted vegetables, a bowl of soup, or a ham. My Cabbage Soup With Andouille Sausage is a wonderful pairing on a cool evening.
It will crumble a bit; this is normal. The mixture should hold together well enough when you press it. Add another tablespoon of melted butter if you like.
You can! A regular unbaked pie shell works fine if you prefer. But I'd encourage you to try the saltine crust at least once. It's easy, and it adds a wonderful salty flavor that complements the sweet onions beautifully.
📖 Recipe
Onion Pie Recipe: A Cajun-Inspired Savory Cheese Dish
- Prep Time: 25 minutes
- Cook Time: 35 minutes
- Total Time: 1 hour
- Yield: 8 slices 1x
- Category: vegetables
- Method: Baking
- Cuisine: Cajun
- Diet: Vegetarian
Description
This onion pie recipe is rich, creamy, and easy to make, with a buttery saltine-cracker crust, Gruyère cheese, and a touch of Cajun seasoning. It tastes similar to a French onion soup.
Ingredients
- 2 tablespoons butter
- 3 large onions, chopped into medium chunks, not fine (this measures approximately 4 ½ cups)
- 2 cloves garlic, pressed
- 1 cube dried beef bouillon, crushed
- ½ teaspoon Cajun seasoning
- ½ teaspoon dried Italian seasoning
- 1 ¾ cups crushed saltine crackers, 1 tube
- 6 tablespoons melted salted butter
- 2 eggs
- 1 cup half-and-half
- 1 ½ cups gruyer cheese
Instructions
- Melt butter in a large saucepan on the stove.
- Cook onions in the butter until tender and clear, about 15-20 minutes.
- Stir in the garlic; cook for 1 minute.
- Add seasonings and stir.
- Stir in the crushed beef bouillon cube.
- Let the onions cool slightly.
- Preheat the oven to 350°F and prepare a 9" pie plate with spray oil.
- Melt butter in a medium microwave-safe bowl.
- Stir in the cracker crumbs until evenly coated with the butter.
- Spray a 9" pie plate with spray oil
- Press cracker crumbs into the pie plate and spread out evenly, going up the sides of the plate.
- Place the onions evenly in the pie crust.
- Beat the eggs in a medium-sized bowl.
- Add half-and-half and cheese to the eggs and stir together.
- Pour the egg mixture evenly over the onions.
- Bake in the preheated oven for 35 minutes or until golden on top.
Notes
- Don't chop the onions into fine pieces; you want them chunky. Slicing them into rounds doesn't work here, either, as it will make every bite stringy.
- Don't rush cooking the onions; you want them to sweeten while being thoroughly cooked.
- Spray the pie plate generously with cooking spray; a metal pan may cause the pie to stick a bit, but it makes a crisp, sturdy pie.
- Crush the crackers by hand. I find that stacking about 8 at a time first, then crushing them with both hands, does the trick. Smash them some more in the bowl before adding the melted butter, if needed.
- This crust will be loose, so don't expect it to hold tightly to the rim of the pie plate. As the pie bakes, the saltine crust will firm up and transfer from pie pan to plate quite well.
- By the time the crust is made, the onions are cooled enough to add to the pie shell.
- The pie will puff up as it bakes and settle down after it cools.
- Allowing the pie to cool a bit before cutting helps achieve cleaner cuts and easier release from the pie.
Don't forget to Pin me!

You know I love hearing from you. Be sure to sign up for my emails to keep in touch. Leave a question or comment below, and don't forget to follow me on Facebook and Instagram and pin my recipes to Pinterest.
Have a nice day!
There are men and women who make the world better just by being the kind of people they are. They have the gift of kindness or courage or loyalty or integrity. It really matters very little whether they are behind the wheel of a truck or running a business or bringing up a family. They teach the truth by living it."
James Garfield












Comments
No Comments