Place eggs in pot large enough to hold them in a single layer. Add cold water to cover eggs by at least 1 inch. Heat over high heat just to boiling. Turn off the heat and cover the pot.
Remove the pot from the burner and let the eggs stand in the hot water about 15 minutes for Large eggs (12 minutes for Medium eggs; 18 for Extra Large). Let them sit for less time (about 6 minutes) if you’d like soft-boiled eggs.
To cook in an electic pressure cooker:
Place the rack inside the pot of the electric pressure cooker. Place the eggs on the rack. Add the water.
Secure the lid and turn on the pressure valve. Turn on the machine and press the manual button. Set the time to 5 minutes.
Meanwhile place the ice in a large bowl and add water to create an ice water bath.
When the machine beeps, release the pressure immediately.
To cook in an air fryer:
Preheat the air fryer to 250 degrees.
Place the eggs in a single layer in the basket. Insert the basket into the fryer.
Cook for 12 to 15 minutes, depending on how done you like your eggs. Try 7 to 8 minutes for soft-boiled.
Once the eggs are cooked:
Remove the eggs from the pot or basket and place them in the bowl of ice water. Once the eggs are cooled, use them in recipes. Refrigerate for up to a week.
Notes
Cooked eggs are good, refrigerated for up to 1 week. Do not leave cooked eggs at room temperature for longer than 2 hours.