Gemini 4 (officially Gemini IV) was the second crewed spaceflight in NASA's Project Gemini, occurring in June 1965. It was the tenth crewed American spaceflight (including two X-15 flights at altitudes exceeding 100 kilometers (62 mi; 54 nmi)). Astronauts James McDivitt and Ed White orbited the Earth 66 times in four days, making it the first US flight to approach the five-day flight of the Soviet Vostok 5. The highlight of the mission was the first space walk by an American, during which White floated free outside the spacecraft, tethered to it, for approximately 23 minutes.
The flight also included the first attempt to make a space rendezvous as McDivitt attempted to maneuver his craft close to the Titan II upper stage which launched it into orbit, but this was not successful.