Baked Eggs with Ricotta and Onions

I discovered this recipe for baked eggs with ricotta and onions on the Food52 website. It’s a bit similar to the Turkish eggs I made and loved, but then, not really. I think I was just excited to make another unique egg dish.

This is basically a casserole, with two layers of a ricotta, onions and breadcrumbs mixture, a middle layer of ham, plus eggs cooked on top. The recipe belongs to Jay Guerrero, the sous chef at Prune in New York, who is somewhat famous for his family meals. He calls this a breakfast dish, but it can also be enjoyed as a light lunch or dinner. Or brunch.

For some extra zing, I sprinkled the eggs with cayenne pepper flakes.

Baked Eggs with Ricotta and Onions
Slightly adapted

extra virgin olive oil
2 medium yellow onions, sliced thinly
1-2 sprigs fresh thyme
2 cups coarse breadcrumbs, big enough that they look like croutons
2 cups ricotta
1 cup whole milk or heavy cream
2 egg yolks
4-5 slices good quality ham (I diced the ham)
6 eggs
kosher salt, freshly ground pepper
Add chives and cayenne pepper flakes (optional)

Take a 9×13 pan or casserole dish and oil the inside with a little olive oil. Set aside and preheat your oven to 450° F.

In a big sauté pan, heat some olive oil until shimmering, and add the onions and thyme. Toss around a little bit until the onions are coated and turning translucent, about 2 minutes. Add the breadcrumbs and toast them with the onions for a few more minutes, until they start to turn golden. Season with salt and pepper. Remove from heat and let cool as you prep the next step.

In a medium bowl, blend the ricotta with the milk/cream to loosen it up. Whisk in the two yolks until smooth. Add the breadcrumb/onion mixture.

Put half this mixture in the bottom of the pan. Put the ham down in a single layer over the breadcrumb/cheese mixture, and then top the layer of ham with the rest of the breadcrumb/cheese mixture.

Make six indents on top of the bed of ricotta, big enough that the yolks can settle into them comfortably. I a large spoon dipped in a little oil to make the indentations so as not to lose any batter. Crack your eggs into the indents and bake until the whites are done and the yolks are set to your likeness.

If using a metal sheet pan, start checking at 10 minutes, gently nudging the yolks and whites to see if they’re the consistency you like. This can be anywhere from 10-30 minutes, so be vigilant and keep checking, but it’ll likely be done before 20 minutes. For a ceramic casserole dish, do the same, but know that it might take 30 minutes in this case (still, keep checking). When you feel it’s ready, serve!

Whatever you do, don’t sit down, which is what I did. The eggs were probably 2 minutes too long in the oven for my liking. But the dish was still excellent.

For fun, I added some pickled onions. Chili onion crisp would also be good on this egg dish, as well as the chives I forgot!

My husband enjoyed the leftover baked eggs in tortillas, and made me promise I’d mention this.

About the Author: Chef Mimi

As a self-taught home cook, with many years in the culinary profession, I am passionate about all things food-related. Especially eating!


  1. Travel Gourmet June 24, 2022 at 6:39 AM - Reply

    Yummy! And I like your husband’s addition :)

    • Chef Mimi June 24, 2022 at 7:11 AM - Reply

      Yes, but here in this part of the country we put just about everything in tortillas!!!

  2. Angie@Angie's Recipes June 24, 2022 at 6:51 AM - Reply

    Eggs and ricotta are a perfect combination for me. This looks simple, but loaded with goodness and flavour too.

    • Chef Mimi June 24, 2022 at 7:10 AM - Reply

      Really good flavors. I loved the onions with the thyme.

  3. Dorothy's New Vintage Kitchen June 24, 2022 at 7:40 AM - Reply

    I love a dish like this that can easily serve as any meal of the day. Good advice to not sit down! It is sometimes hard to find that right moment with baked eggs where the whites are done but the yolks are not overcooked!

  4. Ruth June 24, 2022 at 7:51 AM - Reply

    Sounds flavorful. Bet those flakes added some zip!

    • Chef Mimi June 24, 2022 at 7:15 PM - Reply

      They did. And, I love zip!!!

  5. terrie gura June 24, 2022 at 3:37 PM - Reply

    This sounds heavenly, Mimi! Just add a mimosa. I’m good. 👍🏻

    • Chef Mimi June 24, 2022 at 7:14 PM - Reply

      This egg dish was so different (to me) and so good. I just wish I hadn’t let the eggs cook so long. How many times do I make this mistake?!!!

  6. Debra June 24, 2022 at 7:52 PM - Reply

    Please pass on to your husband that I can totally envision this wonderful concoction in a tortilla! I may do that from the very first. :-)

    • Chef Mimi June 25, 2022 at 3:07 PM - Reply

      Hahaha! He also used salsa, which to me doesn’t really go along with thyme, but he does that kind of thing quite often, and I just have to look away!

  7. Tandy I Lavender and Lime June 25, 2022 at 12:06 AM - Reply

    Glad hubby enjoyed the leftovers. This is perfect for brunch when you have time on your hands.

    • Chef Mimi June 25, 2022 at 3:06 PM - Reply

      I know of husbands who refuse to eat leftovers. I think that would be cause for divorce.

  8. Bernadette June 25, 2022 at 6:25 AM - Reply

    You had me at the mention of Prune. A fabulous recipe and I totally agree with adding a little heat to it and eating the leftovers (if there are any) in a tortilla for lunch. Yummy!

    • Chef Mimi June 25, 2022 at 3:05 PM - Reply

      We went to Prune before the pandemic, and it was very good. And this is a fabulous recipe!

  9. David Scott Allen June 25, 2022 at 5:37 PM - Reply

    Sounds like a great casserole – and who doesn’t love cheesy-egg dishes. I have a cup of ricotta in the fridge with no sense of purpose, so I think I will cut this in half-ish and we can have it for Sunday brunch tomorrow. We even have some tortillas, but I am pretty sure there will be no leftovers… :)

    • Chef Mimi June 26, 2022 at 7:56 AM - Reply

      It was a lovely combination of flavors. Have you made Turkish eggs yet? It is life changing. You will be forever indebted to me….. and Nigella.

      • David Scott Allen July 1, 2022 at 7:21 AM

        No, I haven’t made Turkish eggs yet. I will check out your recipe and remedy that as soon as possible! :)

      • Chef Mimi July 1, 2022 at 7:55 AM

        You won’t regret it, I promise!

  10. Healthy World Cuisine June 25, 2022 at 8:52 PM - Reply

    This is one hearty casserole to keep you going all morning long. Will have to give your hubby’s idea of putting it in a tortilla too. Delicious!

    • Chef Mimi June 26, 2022 at 7:55 AM - Reply

      It was so tasty. Really an interesting recipe. I wouldn’t have thought to include chunks of bread.

  11. Elena June 27, 2022 at 10:19 AM - Reply

    This sounds as if it would be delicious! Ricotta adds a great element to baked dishes. As I’m sure you’ve noted, Prune closed at the start of the pandemic. Very sad to walk around Manhattan and see so many restaurants gone.

    • Chef Mimi June 27, 2022 at 7:11 PM - Reply

      Oh goodness, I hadn’t heard that. So sad for restaurants and small businesses everywhere. I’ll read that article, thanks!

    • Chef Mimi June 27, 2022 at 7:37 PM - Reply

      Maybe Gabrielle should just become a writer! She’s incredible. Great article, thanks! You couldn’t pay me enough to own and run a restaurant, but thank goodness people do….

  12. Heidi | The Frugal Girls June 27, 2022 at 6:10 PM - Reply

    Wow… this looks absolutely incredible! What a delicious way to start the day… and fun ‘Breakfast for Dinner’ idea, too! :)

    • Chef Mimi June 27, 2022 at 7:09 PM - Reply

      Exactly! Definitely an “any meal of the day” kind of dish!

  13. Sherry M June 28, 2022 at 5:50 AM - Reply

    i love baked eggs! i used to make them with cream and bacon or ham but they are no goes for us now so it’s eggs with evaporated milk and vegetables.

    • Chef Mimi June 28, 2022 at 6:36 AM - Reply

      Well, that sounds good, too!

  14. thatskinnychickcanbake June 28, 2022 at 7:14 AM - Reply

    What a fun and tasty breakfast recipe for weekend company!!! Bill would especially love this combo!

    • Chef Mimi June 28, 2022 at 11:59 AM - Reply

      It was very very good!!!!

  15. Ben | Havocinthekitchen June 28, 2022 at 7:02 PM - Reply

    What a beautiful combination of flavours and textures! I’d definitely enjoy this for the breakfast, lunch, and dinner. And maybe even as a brunch, too :)

    • Chef Mimi June 29, 2022 at 7:35 AM - Reply

      I would, too. the addition of the coarse breadcrumbs was fascinating, but it worked!

  16. popsiclesociety June 29, 2022 at 4:31 AM - Reply

    A lovely one sheet pan meal 😋

    • Chef Mimi June 29, 2022 at 7:34 AM - Reply

      It was very good, I must say!

  17. John / Kitchen Riffs June 29, 2022 at 9:58 AM - Reply

    What an interesting dish! I don’t think I’ve ever seen a baked egg dish quite like this — such a neat idea. This would be dinner for us. :-)

    • Chef Mimi June 29, 2022 at 9:59 AM - Reply

      I know! Unique and delicious.

  18. For the Love of Cooking June 29, 2022 at 12:53 PM - Reply

    I love baked eggs and then you add onions–yes please!!!

    • Chef Mimi June 30, 2022 at 7:29 AM - Reply

      Onions and thyme. And ricotta. A fabulous dish!

  19. Cynthia M Woodman June 29, 2022 at 8:20 PM - Reply

    those eggs sound wonderful! My husband eats eggs every day, so I’m always looking for ways to switch it up!

    • Chef Mimi June 30, 2022 at 7:27 AM - Reply

      This was exceptionally good, and it would work any time of year.

  20. David @ Spiced July 5, 2022 at 9:28 AM - Reply

    I have used ricotta in a scrambled egg recipe before – it’s a surprising (but fantastic!) addition. They are some of the best eggs I’ve ever had. Great recipe with the addition of onions, ham and breadcrumbs, too!

    • Chef Mimi July 5, 2022 at 1:30 PM - Reply

      The onion and thyme really went well with the ricotta and eggs. All around a wonderful dish!!!

  21. Raymund July 5, 2022 at 9:28 PM - Reply

    That looks really good with the bread

Leave a Reply. I love 'em!