Persian-Style Cheesy Spaghetti (اسپاگتی با پنیر) — Buttery thyme-garlic comfort pasta
A nostalgic Iranian home dish, Espageti ba Panir turns spaghetti into a buttery, fragrant comfort meal. Dried thyme and gentle garlic perfume the pasta, while melted cheese makes it rich and cozy.

Printable Recipe Card
Servings: 4 · Total: 20 min · Difficulty: easy
Ingredients (quick list)
- 320 g Spaghetti (dry)
- 3000 ml Water
- 18 g Salt (For salting the pasta water)
- 70 g Butter
- 2 tsp Dried thyme
- 1 tsp Garlic powder
- 0.5 tsp Black pepper (Freshly ground if possible)
- 120 ml Pasta cooking water (Reserved from the pot)
- 120 g Grated mozzarella (For melt and stretch)
- 60 g Grated Parmesan (For salty, savory depth)
Steps (summary)
- Bring 3000 ml water to a rolling boil in a large pot, then add 18 g salt and stir until dissolved. Add 320 g spaghetti and cook…
- Before draining, scoop out 120 ml of the starchy pasta water and set it aside. Drain the spaghetti well, but do not rinse it, b…
- Return the pot to low heat and add 70 g butter, letting it melt gently without browning. Stir in 2 tsp dried thyme, 1 tsp garli…
- Add the drained spaghetti back to the pot and toss thoroughly to coat every strand in the thyme-garlic butter. Pour in the rese…
- Turn the heat to the lowest setting and add 120 g grated mozzarella and 60 g grated Parmesan. Toss for 60–90 seconds until the…
Cultural Background
Espageti ba Panir is a beloved quick comfort in many Iranian kitchens, especially for busy weeknights and student meals. Its thyme-and-butter fragrance echoes familiar Persian pantry flavors while using an accessible pasta base.
Equipment
💡 Tips
- Keep the heat low when adding cheese so it melts smoothly instead of clumping; 60–90 seconds of gentle tossing is enough.
- If the pasta looks dry, add 15–30 ml extra hot pasta water at a time (up to 60 ml) to restore gloss and silkiness.
- For a more Iranian home-style aroma, lightly crush the dried thyme between your fingers before adding it to the butter.
⚠️ Common Mistakes
❌ Rinsing the spaghetti after draining
✅ Fix: Do not rinse; keep the starch so the butter and cheese emulsify into a cohesive coating.
❌ Adding cheese over high heat and getting clumps or oily separation
✅ Fix: Lower the heat fully and toss with a splash of hot pasta water to melt the cheese gently and smoothly.
❌ Skipping reserved pasta water
✅ Fix: Reserve at least 120 ml; it is the key to a glossy sauce that clings instead of pooling butter at the bottom.
🧊 How to Store
Cool leftovers within 1 hour, then refrigerate in an airtight container for up to 3 days. Reheat in a pan over low heat with 30–60 ml water per serving, tossing until glossy and hot; avoid high heat or the cheese may separate.
📅 Make Ahead
Grate the cheeses and pre-mix the dried thyme, garlic powder, and black pepper up to 2 days ahead, storing airtight. Cook the pasta fresh for best texture, but leftovers reheat well with a little water.
🍽️ Pairs Well With
- Shirazi salad
- torshi
- pickled cucumbers
- fresh herbs (sabzi khordan)
- a squeeze of lemon.
Regional Variations
- Some Iranian households add 1 tbsp tomato paste (briefly fried in butter) for a faint rosy color and deeper savoriness.
- A common variation includes 1 tsp turmeric in the butter for a warmer color and aroma.
- For extra comfort, some mix in 2 beaten eggs off-heat (tempered with a little hot pasta water) to create a creamy, carbonara-like coating.
Ingredients
- 11.5 ozSpaghetti (dry)
- 12.5 cupWater
- 18 gSalt (For salting the pasta water)
- 2½ ozButter
- 2 tspDried thyme
- 1 tspGarlic powder
- ½ tspBlack pepper (Freshly ground if possible)
- ½ cupPasta cooking water (Reserved from the pot)
- 4¼ ozGrated mozzarella (For melt and stretch)
- 2⅛ ozGrated Parmesan (For salty, savory depth)
🔄 Substitutions
- Grated mozzarella→ Grated low-moisture Kashkaval
- Grated Parmesan→ Grated aged sheep-milk cheese
- Butter→ Olive oil
Instructions
- 1
Bring 3000 ml water to a rolling boil in a large pot, then add 18 g salt and stir until dissolved. Add 320 g spaghetti and cook until al dente, about 9–11 minutes, stirring in the first minute to prevent sticking.
- 2
Before draining, scoop out 120 ml of the starchy pasta water and set it aside. Drain the spaghetti well, but do not rinse it, because the surface starch helps the butter and cheese cling.
- 3
Return the pot to low heat and add 70 g butter, letting it melt gently without browning. Stir in 2 tsp dried thyme, 1 tsp garlic powder, and 0.5 tsp black pepper, blooming the spices for 30–45 seconds so their aroma opens up.
- 4
Add the drained spaghetti back to the pot and toss thoroughly to coat every strand in the thyme-garlic butter. Pour in the reserved 120 ml pasta water in a thin stream while tossing, creating a glossy, lightly emulsified sauce.
- 5
Turn the heat to the lowest setting and add 120 g grated mozzarella and 60 g grated Parmesan. Toss for 60–90 seconds until the cheese melts and threads through the pasta, then remove from heat and rest 1 minute so the sauce thickens slightly before serving.
🪪 Recipe Passport
Cultural Background
Espageti ba Panir is a beloved quick comfort in many Iranian kitchens, especially for busy weeknights and student meals. Its thyme-and-butter fragrance echoes familiar Persian pantry flavors while using an accessible pasta base.
Regional Variations
Researched from multiple sources and validated by the Zaffaron editorial team. Every recipe is tested for accuracy, measurements, and cultural authenticity.
Nutrition per serving
Pairs well with
If you enjoyed this recipe, here are a few related Zaffaron recipes to try next.
Does your family make this differently?
Every family has their own version. Maybe your grandmother adds a secret ingredient, or your aunt has a completely different technique. Preserve your family's version — with their name on it, forever.
You Might Also Like

Golden Turmeric Potato and Spinach Casserole (غراتان سیبزمینی و اسفناج) — Mediterranean-Inspired Layered Gratin
Persian · Main Courses · 70 min

Borani Kadu (بورانی کدو) — Saffron-Infused Zucchini and Yogurt Dip
Persian · Appetizers · 40 min

Mixed Vegetable Rice (برنج با مخلوط سبزیجات) — Persian-Style Aromatic Pilaf
Persian · Rice Dishes · 75 min

Bosnian Meat Burek (Burek) — Coiled Beef Pie with Jufka
Bosnian · Main Courses · 70 min

Finnish Fish-Rye Pie (Kalakukko) — Savonian Rye Loaf with Vendace and Pork
Finnish · Main Courses · 405 min

Sac Kavurma (Saç Kavurma) — Thin-Sliced Turkish Meat Sautéed with Onions
Turkish · Main Courses · 38 min

Turkish Shish Kebab (Şiş Kebap) — Charcoal-Grilled Marinated Lamb Skewers
Turkish · Kebabs · 37 min

Azerbaijani Milk Rice Porridge (Südlü Sıyıq) — Creamy Breakfast Bowl
Azerbaijani · Rice Dishes · 40 min
Reviews
Cooked this recipe?
Tap the stars to rate it — that's all it takes. A few words are welcome but optional.
No ratings yet. Cooked this one? Be the first to rate it — it takes one tap.