It is possible for an egg with a shell to explode in an air fryer if the temperature is too high. To prevent this, keeping the temperature below 300°F (149°C) when cooking eggs in the air fryer is best. Additionally, it is best to use room-temperature eggs as they are less likely to crack or explode in the hot air environment.