Zeljanica: A coil pie of thin pastry filled with wilted spinach, onion, white cheese and egg, baked crisp and golden.
Total time: 1 h 25 min·Serves: 6 wedges·Difficulty: Medium·Cuisine: Bosnian
Why it works
- Wrung-out greens. Spinach is about 90 percent water, so squeezing it dry keeps the filling creamy instead of soupy and the layers crisp.
- Two cheeses. Salty white cheese gives sharpness and a soft cottage-style cheese adds body, so the filling is neither dry nor too salty.
- Egg as a binder. Beaten eggs set around 70 °C (160 °F) and hold the filling together so it slices in clean wedges.
- Oil between the layers. A film of fat on each sheet separates the thin dough into flaky layers that crisp in the oven.
Zeljanica is the Bosnian green pie: spinach or other greens, onion and white cheese, rolled in thin pastry and baked in a coil. Along with sirnica and krompiruša, it is one of the best-loved pita of Bosnian cuisine, and a meatless one.
This version uses ready-made thin sheets, so you can have it in the oven in 30 minutes. Our main dishes and family meal pages suit it for a weekend lunch or an easy supper with yogurt.
Zeljanica
Ingredients
Equipment
Method
- Heat 2 tbsp oil in a large skillet over medium heat and fry the onion for 5 minutes until soft and translucent.
- Add the spinach in batches and cook for 3 minutes, until wilted and the liquid has largely evaporated.
- Tip it onto a towel, cool for 10 minutes, then wring out until almost no liquid drips.
- Mix the spinach, both cheeses, eggs and pepper in a bowl; taste before salting, since the cheese is salty.
- Heat the oven to 200 °C (400 °F) and oil the tray.
- Stack 3 sheets, brushing each with oil, and spoon one third of the filling in a line along a long edge.
- Roll into a firm rope, then coil it from the center of the tray; make two more ropes and attach them to the spiral.
- Brush the top with oil, cover loosely with foil, and bake for 15 minutes.
- Remove the foil and bake for 20 to 25 minutes more, until deep golden and a probe in the center reads 74 °C (165 °F).
- Brush with melted butter, sprinkle with the hot water, cover with a towel for 10 minutes, then cut into wedges.
Notes
🔥 DayNightCook Chef’s Secrets
- Technique. Wilt the spinach, cool it, then wring it out in a clean towel until almost no liquid drips. Excess water turns to steam in the oven and soaks the pastry from inside, leaving a pale, soggy base.
- Avoid this. Do not leave the pastry sheets uncovered while you work. Thin dough dries in minutes and cracks when rolled. Keep unused sheets under a barely damp towel and work with one stack at a time.
- Pro move. Cover the pie with foil for the first 15 minutes of baking, then uncover. The trapped steam softens the inner layers while the filling cooks, and the open phase then browns the top to a crisp, golden crust.
☀ Day version and ☾ Night version
☀ Day version (about 1 hr): Use frozen chopped spinach, thawed and squeezed very dry, and bake as three straight rolls on a tray instead of coiling. They cook a few minutes faster and slice like a log. The filling is a little darker and milder than with fresh greens.
☾ Night version: Use a mix of fresh spinach and chard or wild greens, coil the pie in a round tray, and brush the top with melted butter before serving. Cut into wedges and serve with cold yogurt and a tomato salad. Ayran or sparkling water with lemon suits it as a non-alcoholic drink.
Substitutions
Swiss chard, nettles, young beet greens or wild greens can replace part of the spinach; cook tougher leaves a minute longer. Bosnian fresh cheese can be replaced with feta plus ricotta. See our cheese guide for what each type does in the oven. For the pastry, thawed phyllo is the simplest widely sold option, though yufka is a bit sturdier. Our vegetable cooking guide helps with the greens.
Common mistakes
- Wet filling. Water from the spinach soaks the pastry. Wring it dry.
- Too much salt. Feta and brined cheese vary wildly; taste the filling before adding any.
- Overbrushing with oil. Too much makes the pie greasy and heavy. Use a thin film.
- Cutting hot. The filling needs 10 minutes to set; slice too early and it spills. For pastry problems, see soggy or tough pastry.
Variations
The same method gives sirnica with a filling of cheese and egg only, and krompiruša with seasoned potato and onion. Some cooks mix chopped scallions or dill into the greens, or add a spoon of sour cream to the filling. A round tray is common, though rectangular trays are used in many homes.
Storage and reheating
Cool within 2 hours and refrigerate, covered, for up to 3 days. Reheat wedges in a 180 °C (350 °F) oven for 12 to 15 minutes until the center reaches 74 °C (165 °F). The crust will not be as crisp as on the first day. See our leftovers guide for safe reheating.
What to serve with it
Cold plain yogurt or sour milk is the classic partner. Add a salad of tomato, cucumber and onion, and pickled peppers on the side. For a fuller meal, serve with a bowl of soup first.
Origin and authenticity
Layered or rolled pies filled with greens and cheese are found across the Balkans, Turkey and Greece, and zeljanica is a staple of Bosnian home baking. The name comes from the Slavic word for greens, zelje. It is commonly eaten for breakfast or lunch, often with yogurt. Neighboring countries make versions under similar names, so the Bosnian version is best described as one local form of a shared pie tradition, rather than a singular invention. Authenticity: Traditional
FAQ
What is zeljanica?
Zeljanica is a Bosnian pie of thin pastry rolled around cooked greens, such as spinach, with onion, cheese and egg.
Is zeljanica the same as spanakopita?
They are close relatives, but zeljanica is usually rolled and coiled and uses Bosnian-style cheese, while spanakopita is Greek and often layered with feta and herbs.
Can I use frozen spinach?
Yes. Thaw it fully and squeeze it very dry; frozen spinach holds a lot of water.
Why is the bottom of my pie soggy?
Usually wet spinach or too little baking time. Wring the greens out and bake until deep golden.
Can I make it ahead?
Yes. Assemble and refrigerate for up to 12 hours before baking, or bake and reheat on the next day.
Sources
- USDA FoodData Central, spinach, feta, cottage cheese and egg entries (nutrition estimate)
- Harold McGee, On Food and Cooking (Scribner, 2004), on leafy vegetables and egg coagulation
- Alan Davidson, The Oxford Companion to Food (Oxford University Press), for general background on pies and pastries of the region
- USDA Food Safety and Inspection Service, leftovers and reheating guidance
Ivan Ivanov is the founder of Supreme Commerce OOD and editor-in-chief of DayNightCook. He chooses the dishes and topics and reviews the recipes and guides before they go live. Recipes are researched from published cookbooks, food-history sources and official food-safety guidance (USDA, EFSA, UK FSA), and every recipe lists its sources. Some content is prepared with the help of AI tools and checked under our AI Transparency Policy.
Clear steps, real sources, food that works at home
- Sources under every recipeCookbooks, food history and official food-safety guidance
- Metric and clear timingsGrams, millilitres and real cooking times
- Honest about authenticityEach recipe notes how close it is to the original
