Few things capture the heart of Mexican comfort food like a freshly made torta de jamón. This humble ham sandwich, typically served on a crusty telera or bolillo roll, is a nostalgic favorite for many who grew up enjoying it in lunchboxes, at markets, or as a quick after-school snack.
While its ingredients are simple, the torta de jamón delivers big on flavor and texture. The bread is slightly crisp on the outside and soft on the inside, providing the perfect base for layers of savory goodness. Traditional versions begin with a generous slather of mayonnaise, followed by thinly sliced ham. From there, the sandwich becomes a canvas for personal taste.
Classic toppings include lettuce, tomato, avocado, sliced onion, and pickled jalapeños for a bit of kick. Some variations add a smear of refried beans, while others include a slice of cheese or even a fried egg for extra richness. A dash of hot sauce or a squeeze of lime often brings everything together with a bright, tangy finish.
The beauty of this sandwich lies in its versatility. It’s quick to prepare and adaptable to whatever you have on hand, which makes it a go-to option for busy weekdays or impromptu meals. Despite its simplicity, a well-made torta de jamón can be deeply satisfying.
In many parts of Mexico, you’ll find tortas sold at street stalls or casual eateries, often wrapped in paper and served warm. They’re perfect for grabbing on the go, yet comforting enough to enjoy at the table with a cold drink or a side of chips.
Whether you’re discovering it for the first time or revisiting a childhood favorite, the torta de jamón is a reminder that the best meals are often the simplest. It’s a sandwich with soul, layered with flavor, and made with love.

Ingredients
- 6 slices Ham
- 1 onion
- 2 cloves garlic
- 3 tbsp olive oil
- Salt and pepper to taste
- 6 slices Cheese
- 4 eggs
- 1 cup milk
- 1 cup flour
- 1 tsp baking powder
- 1 tbsp butter
Instructions
- Chop the onion and garlic finely.
- In a pan, heat the olive oil and sauté the onion and garlic until golden brown.
- Season with salt and pepper to taste.
- Add the sliced ham to the pan and cook for a few minutes until heated through.
- In a separate bowl, whisk together the eggs, milk, flour, and baking powder.
- Add the onion, garlic, and ham mixture to the egg mixture and stir to combine.
- Grease a baking dish with butter and pour the egg mixture into the dish.
- Arrange the cheese slices on top of the mixture.
- Bake in a preheated oven at 180°C (350°F) for 40-45 minutes or until the top is golden brown.
- Remove from the oven and let cool for a few minutes before serving.
- Slice and enjoy!
5/5! My grandma used to make this back in the day. Brings back memories!
I loved my grandma’s cooking too! This recipe definitely sounds similar. Can’t wait to try it out! 😍
No sé si fue mi horno, pero a 180°C tardó casi 60 minutos. Se veía dorada antes, pero por dentro todavía estaba blanda. Aun así rica y fácil, solo paciencia.
I don’t like ham but I tried it. Swapped it for turkey and it worked too!
This recipe is just like my grandma’s! Brings back memories! ❤️
That’s so sweet! I love recipes that remind us of our loved ones. Can’t wait to try this! ❤️
This Torta de Jamón is AMAZING! I made it for brunch and everyone loved it. Will definitely make again.
So good!
I am not sure why you put milk in eggs, seemed weird. Didn’t turn out right for me.
This torta is absolutely delicious! My family devoured it in minutes!
Looks good but I kinda doubt my kids would eat it. They can be picky.
I’m so glad to hear that! It’s one of my family favorites too.
I’m not a big fan of ham. Can I use bacon instead?
This was easy peasy! I didn’t have onions so I used chives instead.
Yumm!!! 😍😋 Best thing I’ve made all week.
I didn’t have all the ingredients, so I used bacon instead. Still came out amazing! Yum!
Not sure about mixing flour directly with eggs—mine turned lumpy for a moment. I whisked harder and it was fine after. Taste was good, just stressful at the start 😅
I’ve had that exact lumpy moment before too—eggs + flour can totally do that if you don’t whisk aggressively at first. Your fix sounds right. Next time I’d try whisking the dry stuff into the wet a little more gradually, but yeah… stressful only for a minute 😅
Hmmm, I think I’d rather whisk the flour into the milk first, not straight into the eggs. Otherwise it clumps like scrambled eggs with flour lol. But if it tasted good, maybe mine is just overthinking it.
I made it for a brunch and it was a hit! Everyone was asking for the recipe. Thanks! 🌟
So glad it was a hit! This recipe is definitely a crowd pleaser. 😋
Such a simple recipe. My kids loved it! Thanks for sharing!
Isn’t this just a fancy omelette? Not sure why it needs so many ingredients.
I was a bit hesitant to try this because I’ve never had jamón before, but WOW! It turned out great. Will definitely make again!
Pretty solid recipe, though my batter felt a bit thick before baking. I added a splash more milk and that helped a lot. Otherwise flavors were good—ham + garlic is a winner.
Yum! I just love cheese and ham together! My kids gobbled it up.
eh, too eggy for me. I know it’s called torta but like… needs more seasoning. still, i ate it all 😅
I was skeptical at first, but it turned out better than I thought. Will make again!
I used turkey ham instead and it was still good, but I think I missed out on the flavor.
Not bad, but I think it could use some more spices or something. Just a bit bland for me.
Why put eggs in a Torta? Sounds wrong. I stick to the traditional recipe. 🤷♂️
I don’t like onions. Can I leave them out? Or will it ruin the whole thing?
Very easy recipe! My kids loved it. I added some veggies too, like spinach. Gonna try with turkey ham next time.
Sounds good, but I think turkey ham might change the flavor too much. Ham is ham, right? But I guess veggies are cool if you like them. 🤷♂️
That’s great to hear! Adding veggies sounds like a tasty twist. My kids also enjoy it with extra ingredients. Definitely gonna try the turkey ham next time too!
Made this last night and it turned out super comforting. The garlic-onion base smells amazing, and the cheese on top gets perfectly melty. I baked mine closer to 45 minutes for a darker golden crust.
I followed it mostly, but I used smoked ham and it got kinda salty. Next time I’ll go lighter on the salt step. Still tasty and the texture was like a savory custard.
Ugh yeah smoked ham + “salt to taste” is a trap 😅 Glad it was still tasty though—savory custard texture sounds spot on. Next time you could skip some of the salt in step 3 since the ham is already salty.
This was super easy to make! My kids loved it. Will def make it again! 😍
Pretty simple and budget-friendly. I used leftover deli ham and whatever cheese I had. Worked great, and the whole kitchen smelled amazing while it baked.
This is not a torta! A torta is sweet, this is just a ham pie.
Very nice recipe! Only thing: my batter looked too runny before baking, but it set up after 45 minutes anyway. Maybe my onion was extra juicy.
Why do u use so many eggs? I think it’s too much.
Made this tonight—super tasty and the texture was perfect. The cheesy top browned nicely. Will definitely repeat.
So glad it worked out for you! 😄 I love when the cheesy top browns like that. Do you bake it in the same dish every time or try different ones?
Looks good on paper, but I think 1 cup flour is too much? Mine felt kinda dense. Maybe I packed the flour too tight. Anyone else notice that?
So good! I swapped the ham for turkey bacon, and it was bomb!!
Followed the steps exactly, and it came out delicious. Next time I might sauté the onion a touch longer for deeper flavor. Cooling for a few minutes helped it set.
This looks like a fritatta! What’s the difference tho? Either way, I’m excited to make it! ⭐⭐⭐⭐⭐
I’m skeptical about mixing flour directly—kinda worried it’d be heavy. Surprisingly, it didn’t—came out fluffy enough.
Just OK. I expected more flavor. Next time maybe I’ll add more spices or something.
This is such a good ‘use what you have’ recipe. I swapped the ham for turkey deli slices and it was still great. Would pair it with a salad for sure.
What is a Torta? Is it like a cake? I’m confused. But I wanna try it.
A torta, in this case, is more like a savory dish rather than a sweet cake. It’s kind of like a frittata with ham and cheese! Sounds delicious!
This is sooo good! I didn’t have olive oil so I used canola—still came out great. Also I added a little extra pepper because… why not.
Why do we bake it? Isn’t this just a frittata? I don’t get it.
This recipe needed more salt! It was kinda bland. Next time, I’ll add more spices.
Yum! I want to make this again but my oven is busted. Can I use the microwave?
I’m not a fan of ham, can I substitute it with turkey? Anyone tried that?
Too much ham for my liking, I would reduce it next time. 😕
I followed this recipe but it turned out too oily. What did I do wrong?
This is a fantastic recipe! So easy and delicious. I added some bell peppers for a pop of color!
I’m not sure about this… my friend said she made it and it flopped. Maybe I’ll try it anyway.
I made it and it came out too soggy. Not sure what I did wrong…
This was DELICIOUS!!! I added some peppers for a kick. 10/10 highly recommend!
Pretty good, but I think 40-45 min might be a little short for my oven. I gave it closer to 55 and it set better. Flavor is nice though—garlic really shows up.
Good call on the time! Every oven runs a bit different—55 min totally sounds right if it wasn’t setting at 40-45. Glad the garlic flavor came through though; it really is doing the heavy lifting.
My grandma used to make something really similiar, but she put potatoes in it. I might try that way!
Potatoes? Wow, that sounds interesting! I bet it will add a nice texture. Let us know how it turns out!
This was a hit! My family loved it, especially the cheesy top. Will make again!
Tasty! But what’s up with the baking time? Mine took almost an hour! Maybe my oven is slow?
I tried this recipe, but it was too salty for my taste. Next time, I’ll cut down on the seasoning. ⭐⭐⭐
I agree! It can be really salty sometimes. Just adjust next time, and it should be perfect! ⭐⭐⭐⭐⭐
Isn’t this just a fancy omelette? I prefer my eggs scrambled.
I think it’s a bit more than just an omelette! The cheese and ham make it special. Give it a try!
Not bad, but I’m skeptical about using that much garlic (2 cloves). It was noticeable. Next time I’d use less, or sauté it shorter so it stays sweeter.
Nah I actually love the garlic bite in this. If it’s noticeable to you, maybe your cloves were extra strong or you minced too fine? I’d just add a tiny splash more milk too.
I get what you mean—2 cloves can be a lot if the garlic isn’t mellowed. I’ve found sautéing just until fragrant (not super golden) really helps keep it sweet and not harsh.
Seems kind of basic? I don’t know if this is really worth it. Maybe try more spices?
This looks delicious! Can’t wait to try it out this weekend.
Yum! I love tortas! This one sounds amazing. Let me know how it turns out!
The ham gets super chewy cooked like this. Not my favorite. I prefer it fried first.
Chewy ham? No way! Sounds nasty. I think frying first would make it better like you said. Gonna try your way next time.
I totally get what you mean! Frying it first does add a nice texture. Have you tried it that way? Would love to know how it turns out!
Honestly, not sure what all the fuss is about. Mine turned out kinda bland. Maybe it needs more spice?
It was ok but bland for me. I added extra pepper and a pinch of oregano and it improved. Also my onion didn’t brown much, so maybe I undercooked that step.
Glad it still worked for you! The onion step really matters for flavor—if it doesn’t brown, it can come out pretty flat. Next time I’ll try cooking it a bit longer before adding the ham.
Tried it yesterday and it was a hit with my family! Will definitely make again. Thanks!
This recipe is simple, but I think it lacks some flavor. Maybe add some spices?
I totally agree! A pinch of cayenne or some herbs could really elevate this dish. Maybe thyme or paprika?
I made this for brunch and it was a hit! Even the picky eaters went back for seconds. 😊⭐️⭐️⭐️⭐️⭐️
I’m not sure about the baking powder—why is it there? I did it anyway, and it rose a little but not much. Still edible and not bad.
This was super easy to make! My family loved it!
I’m glad your family loved it! It’s a great recipe for a quick dinner.
Super easy? I bet it was just a lot of mixing. Not sure if my kids would eat ham though.
Uff, la harina + baking powder con tanto líquido no me convencía. Probé y sí, cuajó, pero el sabor para mí quedó medio plano. Le faltó más sal o alguna especia (pimentón, nuez moscada, algo).
¡Sí, te entiendo! A mí me pasa parecido cuando no se potencia el condimento. Yo le sumo una pizca más de sal y, si tengo, nuez moscada o pimentón ahumado, queda más “con cuerpo”.
Yo lo hice tal cual y no me quedó plano… capaz depende de la marca de la harina o el jamón/queso. Igual ojo con pasarte de baking powder, pero probar con más especias suena bien.
Y’all, this is super good. Can’t believe how easy it was. My kids ate it all!
Great recipe! Made this with my grandma’s recipe adjustments and it’s gold! 💛
So glad to hear you enjoyed it! Grandma knows best! 💖
The instructions say 180°C for 40-45 minutes—mine took like 60. I was worried I ruined it but the top finally browned and the center cooked through. So just watch it, not the clock.
This was heavenly! My family devoured it in minutes. 5 stars!!
I accidentally used sour cream instead of milk, but it still turned out pretty decent. Go figure!
Looks good but I don’t have any baking powder. Can I use baking soda instead? Help!
Okay but mine came out a little too eggy and not as set as I expected. Maybe my oven runs cool? Still tasted good though.
Hmm maybe you used more milk/flour than the recipe? Or whisked too much? I notice it gets eggier if I don’t cook the onion/ham mix long enough, like it still has moisture. Still, glad it tasted good 😅
That sounds like an underbake thing—if your oven runs cool, the eggs won’t set as well. Next time try 190°C and give it closer to 50 min, and make sure the center doesn’t jiggle too much when you gently move the pan.
Yum! I added some bell peppers and it was super tasty. Thanks for the recipe!
Glad you liked it! Bell peppers are a great addition, I’ll have to try that next time. 😊
Not sure about that. Torta de Jamón should be classic without extra stuff. Just saying.
Was okay, but I prefer my eggs scrambled. This was weird to me.
No thanks. I don’t like mixing meat and eggs! Gross! 🤮
I tried it and got compliments from everyone. The cheese top was golden and it held together for slicing. My family asked me to make it again for Sunday.
Tasty and filling! Next time, I might throw in some spinach or something. ⭐⭐⭐⭐
Never tried ham and eggs like this before! It was surprisingly good. Maybe add some peppers next time? ⭐⭐⭐⭐
Tasted fantastic! I added some jalapeños for a kick. Will make again!
Sounds delicious! Adding jalapeños is a great idea. I’ll have to try that next time!
Honestly I was skeptical because it’s basically ham + egg + flour, but it turned out better than expected. The milk makes it tender.
Tasted so good, but my husband said it looked like a pizza gone wrong. LOL.
I don’t think adding milk to a torta is a good idea… it turned out kinda soggy.
I think the milk is just to keep it moist! Maybe try reducing the amount next time? 🤔
Yo cambié el jamón por pavo y salió decente, aunque no sabe igual. También se me quemó un poquito la cebolla por quererla dorar mucho, así que ojo con ese paso.
Did I read wrong? Baking powder in eggs? Seems strange to me. Idk about this…
Yeah, I thought that was weird too. But baking powder helps make it fluffy! Give it a try before judging!
So easy to make! Perfect for brunch or lunch. I added some peppers for extra crunch. Delicious!
I don’t know, it just felt off. Maybe too much ham? I expected more flavor.
Lol “torta” but I ate it like a pie. Quick, salty, and good. Would do again with cheddar.
La mezcla me quedó un poco más líquida de lo esperado (usé harina normal, no sé). Igual cuajó bien y el queso arriba hizo que quedara doradito. Volvería a repetir ajustando la cantidad de harina.
This was super easy to make! My kids loved it, and I’ll definitely be making it again. ⭐⭐⭐⭐⭐
I tried making this but the eggs turned out weird. Maybe I did something wrong? Too much milk, I guess.
Do you really need that much cheese? Seems like overkill. I might skip it next time.
I think the cheese is what makes it delicious! Can’t skip the flavor, right?
Literally took longer than the cook time to prep! Uh, no thanks.
Easy peasy! But I may have confused teaspoons for tablespoons… Oops! Isn’t that crucial?
I didn’t have milk, so I used water instead. It turned out okay, but I’m sure milk would’ve been better. ⭐⭐⭐
Who needs milk anyway! Water works just fine. Plus, jamón has a lotta flavor, so it probably didn’t matter much. Wish I could try it! 😋
Using water instead of milk? That’s brave! I wouldn’t have thought of that. It’s good to experiment, but I agree, milk usually makes things creamier. ⭐⭐⭐⭐
Made this for dinner and it turned out super comforting. The cheesy top is the best part—golden and kind of gooey. I used a little extra pepper and it really popped.
What even is a torta? I thought this was a cake recipe. So confused!
The baking time was off for me. Mine took almost an hour! 🙁
I messed up the baking time and it burnt a little 😭 but still tasted okay. Just use a timer, folks!
Burnt?! How do you mess that up? Just keep an eye on it next time! 😂
Oh no! I hate when that happens! But at least it tasted okay! Using a timer can really help, just gotta remember! 😊
Only 6 slices of cheese? I think that’s not enough! 😄
This torta is amazing! My family loved it and it was so easy to make.
I’m so glad to hear you loved it! It’s one of my family favorites too.
Looks good but I dunno, seems too simple? Is it really that good?
Yummy! I added some hot sauce for extra kick. Delicious! 🔥
Really? Hot sauce with a cake? Seems strange to me. Aren’t you supposed to eat this sweet?
Hot sauce? Good idea! I never thought of that. I might try it next time! 🌶️
Made this today—super comforting. The ham + cheese combo is perfect, and the bake time at 180°C worked really well for me. I let it cool 10 minutes and it sliced much neater.
1-2-3 y ya? Jaja. Mentira, estuvo mejor de lo que pensé pero tuve que improvisar porque no tenía baking powder. Usé bicarbonato y vinagre y funcionó raro.
¡Jajaja! Igual te salió mejor de lo que pensabas. Lo del bicarbonato con vinagre es re-truco casero: no sube igual que el baking powder, pero si te “funcionó raro” entonces vas bien. La próxima prueba reduciendo un poquito el vinagre o usando más bicarbonato muy poco a poco.
My family loves ham bakes, so I’m biased, but this feels like comfort food. Also, the baking powder amount seems right.
Totally agree—this does sound like serious comfort food. I also like that it’s simple ingredients-wise. I’ve found 1 tsp baking powder is usually enough for a set, not super cakey.
Yum! I added some veggies too. Zucchini made it better!
Made this tonight and it came out super comforting. The ham + cheese combo is perfect, and the bake time was spot on. I let it cool a bit longer like it says—slicing was cleaner.
Not gonna lie, I’m skeptical of any recipe that says 40–45 minutes at 180°C and then “perfect” every time. My oven runs hot/cold, so I’d start checking at 30–35. Still sounds good though—maybe I’ll try it and see if cooling longer really helps the slices hold.
Yes!! This is exactly what I needed on a busy night—comfort food for real. I love that the ham + cheese actually stays the star instead of getting lost. Also, I always second-guess baking times, so “spot on” is super reassuring.
Seems too simple? Like, just dump everything and bake? I was skeptical, but wow it works. The top got golden and the inside was nice and soft. Will make again.
Right?? I thought it would be one of those “too easy to work” recipes, but the golden top + soft inside is spot on. I added a little extra pepper and it was even better. Definitely making again too.
Simple but delicious! My kids love it! Thanks for sharing! 👏
Mine didn’t set as nicely as I expected—more like a soft custard than a sliceable torta. I think I may have overmixed or my oven runs hot. Still tasted good though!
Hice esto tal cual y quedó súper jugosa. El toque del jamón con el ajo se siente bien equilibrado. La próxima le pongo un poquito de orégano porque me encanta, pero base 10/10.
I didn’t cool it enough and when I sliced it, it was kinda runny. Tasted great though. Lesson learned: wait a bit.
I dunno, the instructions were kinda confusing. Are you supposed to mix the ham in the egg mix? I left it out. 🤷♂️ ⭐⭐
1 cup flour + 4 eggs + 1 cup milk… seems weird math? 😅 But it actually turned out. I’d recommend letting it cool longer so it doesn’t crumble when slicing.
Wow, this is a game changer! So good with extra cheese!
Just made this and it’s awesome! Easy to follow and tasted great. Perfect brunch dish!
This was a total hit at my dinner party! Everyone loved it. Definitely making again!
Glad to hear it was a hit! This sounds delicious. Can’t wait to try it myself!
Really? I thought it sounded kinda weird with ham and cheese in a cake. But I guess if everyone liked it, maybe I’m wrong!
I’m not sure about the flour amount—mine seemed a bit thick, but it still baked nicely. The texture was like a savory quiche, which I actually liked.
Disaster. My eggs didn’t set. What did I do wrong? So sad.
I like the idea, but 1 cup flour seems like a lot with 1 cup milk. Mine was a bit thick and I had to stir longer. Still good, just different from what I expected.
This looks sooo good! Can’t wait to try it. 🥰
I tried it and it came out kinda… weird? Like not fully set in the middle, even after 45 min. Maybe my oven runs cold or I used too much flour? Still ate it though 😅
I thought it would be better. Too salty for me. Not gonna make it again.
Made this tonight and wow—super comforting. The golden top and the ham + cheese combo is perfect. I did add a little extra pepper because I can’t help myself.
Lol, I thought it was supposed to be a cake! Learning a lot here.
Ham? Why not turkey?
Ham’s the traditional way! Plus, it gives it a nice flavor. Turkey is for Thanksgiving!
Turkey would taste better! Ham is kinda basic.
Um, does anyone else think there’s too much ham? I’m more of a veggie guy… ⭐⭐
I totally get you! Maybe try adding some veggies like spinach or bell peppers to balance it out? 🥬
Too much ham? Nah, 6 slices is just enough! But if you wanna skip the meat, good luck makin it taste good. 😂
Tried it and it tasted great, but I forgot to preheat long enough and the top stayed pale. Lesson learned 🙃
I don’t know, it seems like too much ham. Maybe it’s better with just cheese?
I followed the recipe exactly, and I swear it tastes like an upgraded quiche. The texture was nice—set but still tender. Will definitely repeat.
Not bad. But I think the onion cooked too quickly—maybe my heat was too high? Also I wish there was more baking powder, like maybe double…
Yeah, I’ve had that happen too—if the pan is too hot, the onion goes sweet fast but doesn’t soften evenly. Next time I’ll lower to medium and cook a bit longer.
My family said it tastes like something you’d buy at a bakery (in a good way). I used pre-chopped garlic and it was still flavorful.
Love hearing that! “Bakery” is the best compliment 😄 I also find the sautéed onion/garlic really makes it taste more rich, even with pre-chopped garlic.
Yummy, but way too much garlic for my taste.
I get what you mean! I love garlic, but sometimes it can be overwhelming. Maybe try reducing it next time?
Garlic? Too much? Nah, that’s the best part! More garlic, more flavor! 😋
Looks easy enough, but can you use any kind of cheese?
Me gusta que sea una torta salada, pero siento que le falta algo de humedad/sabor. Le agregué un chorrito de crema y ya quedó perfecto. Con la receta sola estaba bien, pero meh.