This post may contain affiliate links. Please read my disclosure and privacy policy.

Instant Pot hard boiled eggs turn out perfectly every time, and they are easier to peel than traditional hard boiled eggs. Whether you like the yolks a little runny or totally cooked through, I’ve got you covered in this tutorial below.

Instant Pot hard boiled eggs cut in half on a marble board

Hard Boiled Eggs Without The Green Ring

Growing up, I always thought hard boiled eggs naturally had a green ring around the yolk. I didn’t know that was the result of overcooking them!

My mom has always had the tendency to over-cook food because she’s paranoid of salmonella contamination (no raw cookie dough for me– my kids are lucky we make Edible Vegan Cookie Dough), so I didn’t know any better. But now I do.

To prevent the green ring, it’s important to place the eggs in a cold water bath immediately after cooking them. This stops the cooking process. Use the cooking times below to make sure you don’t overcook them, too.

hard boiled eggs in a bowl of ice water and peeled

How Long to Pressure Cook Eggs

I decided to do a little experiment, cooking my eggs anywhere from 2 minutes to 5 minutes in the Instant Pot, all with a 5 minute “natural release” before releasing the rest of the steam pressure. (If you’d like to watch a video tutorial showing the difference between a quick release and a natural release, watch my How to Use Your Instant Pot video.)

Below are the results of my experiments for hard cooked egg yolks.

hard boiled eggs compared by cooking times

As you can see, after 5 minutes the yolks are very well done, and after two minutes they’re softer, but still not runny. For a runny egg, use the “quick release” method, which means you immediately release the steam after the cooking cycle is over.

Soft-Cooked Eggs

If you prefer an egg with a runny or “jammy” egg yolk, you’ll want to perform a quick release instead of a natural release.

Here are the cooking times for a soft-cooked eggs in the Instant Pot:

  • 3 minutes = very runny yolk with the whites mostly set
  • 4 minutes = gooey yolk with totally set whites
  • 5 minutes = jammy yolk, with the outer part of the yellow starting to set
  • 6 minutes = slightly jammy center and slightly hard-cooked yellow edges

With all of these cooking times, you’ll perform a quick release as soon as the timer goes off. The eggs will continue to cook until you plunge them into an ice bath, so you want to work quickly if you’re looking for runnier egg yolks.

Do White and Brown Eggs Cook Differently?

I was recently asked if there was a difference between cooking eggs that come in a white or a brown shell. I usually work with brown eggs, so I bought a batch of white ones to test how they pressure cook.

brown eggs and white eggs in the Instant Pot

Following the directions in the recipe below, I cooked a batch of brown eggs and a batch of white eggs, and found that they both peel easily, and cook in the same amount of time as each other. (I tested them both at 5 minutes of high pressure cooking.) So, this method should work for whichever variety you have on hand.

How Long Do Hard Boiled Eggs Last?

You can keep them for up to one week in the fridge, either with the shell on or peeled. I find that hard boiled eggs are the easiest to peel soon after cooking them, so I like to peel them first, then store them in an airtight container in the fridge.

Do They Need to Be Refrigerated?

Yes, they do. Unlike raw eggs, which can sometimes be stored on the counter, cooking the eggs can make them more susceptible to bacteria contamination due to changes in the shell.

It’s recommended that you discard hard boiled eggs if they’ve been out on the counter for more than two hours.

hard boiled eggs cut open with the peeled shell nearby

Can You Freeze Hard Boiled Eggs?

If you make too many eggs, or your eggs accidentally freeze in the back of your fridge, keep in mind that the white part of the egg doesn’t thaw well. You can freeze the yolks to use for later use, for up to 3 months in an airtight container. (I’d peel the eggs and freeze just the yolks to make your life easier– peeling a frozen egg doesn’t sound fun.)

Which Instant Pot is Best?

I’ve found the 6-quart Instant Pot to be sufficient for every recipe I’ve made for my family. If you have more than 4 family members, you might want the 8-quart for making larger quantities.

Whether you use them for a quick breakfast, snack, or a salad topper, I hope you’ll find this method for cooking hard boiled eggs in the Instant Pot helpful.

hard boiled eggs cut open with the peeled shell nearby

Instant Pot Hard Boiled Eggs

4.62 from 21 votes
Here's how to make perfect hard boiled eggs in the Instant Pot, without a green ring around the yolk. They're easier to peel this way, too!
prep5 mins cook5 mins total10 mins


  • 4 eggs (or as many as you want to cook)


  • Fill your Instant Pot with 1 cup of water and place the metal trivet inside. (I use the one that came with my machine.)
  • Place the eggs on top of the trivet, then secure the lid onto the pot. Make sure you turn the vent at the top to the "sealing" position. Press the Manual or Pressure Cook button, then cook at high pressure for 5 minutes. (Or use just 3 or 4 minutes for a runnier yolk; see notes.) 
  • For hard-cooked egg yolks, let the pressure naturally release for 5 minutes after the cooking process is complete. When the screen on the Instant Pot reads LO:05, move the steam release valve to "venting" to quickly release the remaining pressure. Make sure your hand isn't over the top of the vent so you don't get burned by the steam. For softer egg yolks, perform a quick release, which means you'll release the pressure as soon as the cooking cycle is complete.
  • When the floating valve next to the steam release valve has dropped, it's safe to remove the lid. Use tongs or a spoon to carefully remove the hot eggs. Place the eggs in a bowl of ice water to stop the cooking process. Let them cool for 5 minutes before peeling and serving. 
  • Hard boiled eggs can be stored in the fridge for up to one week. 



Nutrition information is for 1 egg, and is just an estimate not a guarantee.
Use these guidelines for softer egg yolks:
  • 3 minutes = very runny yolk with the whites mostly set
  • 4 minutes = gooey yolk with totally set whites
  • 5 minutes = jammy yolk, with the outer part of the yellow starting to set
  • 6 minutes = slightly jammy center and slightly hard-cooked yellow edges


Calories: 77kcal | Protein: 6g | Fat: 5g | Saturated Fat: 1g | Cholesterol: 186mg | Sodium: 62mg | Potassium: 63mg | Vitamin A: 260IU | Calcium: 25mg | Iron: 0.6mg
Course: Breakfast
Cuisine: gluten-free
Keyword: Instant Pot Hard Boiled Eggs

More Helpful Instant Pot Tutorials

If you’d like to get the most out of your electric pressure cooker, be sure to try the following recipes, too. They will make you ultra-efficient at meal prepping!

Reader Feedback: What’s your favorite use for hard boiled eggs? We use them on my Vegetarian Cobb Salad!



Megan Gilmore leaning on her white countertop.

Megan Gilmore

Hi, I’m Megan. A former fast food junkie turned best-selling cookbook author. I create healthy recipes made with simple ingredients to make your life easier.

Read More

You May Also LIke

Leave a Review!

I love hearing from you! Submit your question or review below. Your email address will not be published. Required fields are marked*.

Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.


  1. What elevation are you at? I started cooking hard boiled eggs in my instant pot just after Easter (5 min high, 5 min natural release, quick release, then 5 min ice water bath). I love that the shells come off so easily, and that I can make a bunch pretty fast. But most have ended up with a good sized green ring around the yoke. I want the yoke cooked through. I am wondering if, because we are at 7,000ft, they cook faster.

    1. Interesting! I live in the Midwest, under 1,000 ft elevation. I bet that could make a difference! Usually the green ring occurs if the eggs don’t cool fast enough or are cooked for too long, so maybe try shaving off a minute of cook time next time, or skip the natural release to see how your eggs turn out. It will take some experimenting, so maybe cook only 1 or 2 eggs at a time until you figure it out!

      1. Thank you! I wondered about decreasing the cook time. When I am cooking two dozen it takes a couple minutes to get them into the ice water.

  2. this method still overcooks the eggs. I cooked mine for 3 minutes with instant steam release and it still overcooked them. If there is a green ring around the yolk, its over cooked. I will try 1 minute next time and see how it goes.

  3. Hard boiled eggs use to drive me nuts! No matter how I cooked them, I would lose half the egg when peeling. Megan’s instant pot recipe is a game changer! It is SO easy, and I get the perfect hard boiled egg every single time. Thank you!

  4. My new go-to method for hard-boiled eggs! Turns out great every time. A friend was astounded when she saw me set my eggs in the instant pot, added some water, pushed a button, and walked away. Yes, it really is that easy!