The Battle of Midway was a major naval battle in the Pacific Theater of World War II that took place 4–7 June 1942, six months after the Empire of Japan's attack on Pearl Harbor and one month after the Battle of the Coral Sea. The U.S. Navy under Admirals Chester W. Nimitz, Frank J. Fletcher, and Raymond A. Spruance defeated an attacking fleet of the Imperial Japanese Navy under Admirals Isoroku Yamamoto, Chūichi Nagumo, and Nobutake Kondō north of Midway Atoll, inflicting devastating damage on the Japanese fleet. Military historian John Keegan called it "the most stunning and decisive blow in the history of naval warfare", while naval historian Craig Symonds called it "one of the most consequential naval engagements in world history, ranking alongside Salamis, Trafalgar, and Tsushima Strait, as both tactically decisive and strategically influential".
In response to the Doolittle air raid on Tokyo, the Japanese leadership planned a "barrier" strategy to extend Japan's defensive perimeter. They hoped to lure the American aircraft carriers into a trap, clearing the seas for Japanese attacks on Midway, Fiji, Samoa, and Hawaii. The plan was undermined by faulty Japanese anticipations of the American reaction and poor initial dispositions. Crucially, U.S. cryptographers were able to determine the date and location of the planned attack, enabling the forewarned United States Navy to prepare its own ambush.
Four Japanese and three American aircraft carriers participated in the battle. The Japanese fleet carriers—, , , and , part of the six-carrier force that had attacked Pearl Harbor six months earlier—were sunk, as was the heavy cruiser . The United States lost the carrier and the destroyer , while the carriers and survived the battle fully intact.
After Midway and the exhausting attrition of the Solomon Islands campaign, Japan's capacity to replace its losses in materiel (particularly aircraft carriers) and men (especially well-trained pilots and maintenance crewmen) rapidly became insufficient to cope with mounting casualties, while the United States' massive industrial and training capabilities made losses far easier to replace.