Place trivet, egg rack, or steamer basket into the Instant Pot.
Pour in 1 ½ cups of cold water. Do not use hot water.
Place the eggs into the Instant Pot, on the trivet. You can stack the eggs on top of each other. Use as many eggs as you would like but do not stack the eggs so high that they reach the max fill line in the pot.
Close the lid and move the valve to the seal position.
Pressure cook on high pressure for 5 minutes. If your Instant Pot has the egg button, you can push that instead of setting to 5 minutes.
Once the pressure cook time has finished, naturally release the pressure for 5 minutes.
After 5 minutes, quick release the remaining pressure and then remove the lid.
Using tongs, remove the eggs from the Instant Pot and place in a bowl of ice water for 5 minutes.
Your hard boiled eggs are done! Peel and serve!
Video
Notes
Are hard boiled eggs better in the Instant Pot or Air Fryer? You can make hard boiled eggs in the Instant Pot under pressure or you can choose to air fry them. I personnally have had better, more consitent results with pressure cooking hard boiled eggs than with air frying them.
What is the egg button for on the Instant Pot? The egg button on the Instant Pot is a pre-set that is used for hard-boiling eggs. When used, the Instant Pot sets the timer for 5 minutes. If you have the egg setting on your Instant Pot, you can use it. If not, just set the Instant Pot to pressure cook on high for 5 minutes. If you want soft-boiled eggs, set the timer to 4 minutes instead of 5.
How to store hard boiled eggs? Hard boiled eggs can be stored in the fridge with or without their shells on them. The shells protect the eggs and keep them good longer, and they don't absorb the odors and flavors of foods in the refrigerator as much as peeled eggs do. Store peeled eggs in a sealtight container or ziplock bag to keep them fresh longer. Hard boiled eggs should last about a week in the refrigerator.