The Sahara Desert, the Mediterranean Sea, and the Red Sea have helped to isolate Egypt throughout history. The Cataracts of the Nile might also be mentioned, as they halted boat traffic.
There were actually 4 main natural barriers that protected ancient Egypt. 1. Deserts, or fast moving water rapids. 2. Cataracts of the Nile. 3. Mountains. 4. seas.