America Shaped/Stories/Wars Conflict

WARS CONFLICT

The Codebreakers, the Drydock, and the Trap: How America Won Midway

In June 1942, intelligence, emergency shipyard work, and hard choices at sea helped the U.S. Navy stop Japan’s advance in the central Pacific.

American codebreakers identified Midway as Japan’s target, Pearl Harbor returned USS Yorktown to service, and U.S. dive-bombers found the opening that destroyed four Japanese carriers.

America Shaped•September 23, 2026•6 min read
AI-generated historical illustration related to The Battle of Midway: How America Turned the Pacific War
Illustration of A period map of the central Pacific showing Midway Atoll, Pearl Harbor, Point Luck, and the opposing carrier approaches, paired with a small archival inset of USS Yorktown at Pearl Harbor.AI-generated illustration by America Shaped

In May 1942, a report about a failed freshwater condenser at Midway helped settle a question that mattered to the U.S. Pacific Fleet: was the Japanese objective known as “AF” actually Midway Atoll?

Analysts at Station HYPO in Pearl Harbor had read enough of Japan’s JN-25B communications traffic to conclude that an attack was coming. To test their conclusion, Midway sent an unencrypted message that its freshwater condenser had failed. Japanese traffic soon reported that AF was short of water. AF was Midway. [2][3][4]

That intelligence gave Admiral Chester W. Nimitz an opening. Rather than wait for a Japanese attack near Hawaii, he positioned American carrier forces northeast of Midway. Between June 4 and 7, the Battle of Midway cost Japan four fleet carriers and the United States the carrier USS *Yorktown* and the destroyer USS *Hammann*. It stopped Japan’s major eastward expansion in the Pacific and shifted the strategic balance of the war. [1][2]

Station HYPO Gives Nimitz a Target

Station HYPO did not produce a complete script for the coming battle. Its cryptanalysts worked from partial decrypts, traffic analysis, and judgment. But Commander Joseph J. Rochefort’s team established a persuasive case that Japan would strike Midway in early June and that its carrier force would be central to the operation. Lieutenant Commander Edwin T. Layton helped translate that intelligence into an operational estimate for Nimitz. [3][4]

Nimitz sent Task Force 16, centered on *Enterprise* and *Hornet*, and Task Force 17, centered on *Yorktown*, toward a rendezvous northeast of Midway known as Point Luck. Japan expected an assault on Midway to draw the remaining American carriers into battle. The American fleet was already waiting. [1][2]

Japan’s plan also included operations in the Aleutian Islands, stretching its forces across a broad area. The United States, by contrast, could concentrate its limited carrier strength near the objective it expected Japan to attack. [2][6]

On June 3, a PBY Catalina patrol aircraft sighted part of the Japanese force west of Midway. Before dawn the next day, Vice Admiral Chūichi Nagumo launched 108 aircraft from *Akagi*, *Kaga*, *Sōryū*, and *Hiryū* against the atoll. The strike damaged Midway’s installations but did not stop the island from responding. [1][2]

The Carrier Japan Did Not Expect

*Yorktown* arrived at Pearl Harbor after sustaining serious damage during the Battle of the Coral Sea. Shipyard workers and Navy personnel concentrated on the repairs needed to return the carrier to service. In roughly 72 hours, *Yorktown* was ready to sail. [1][2]

The work did not erase the ship’s recent damage, but it put a third American carrier into the fight. Instead of facing two U.S. carriers, Nagumo’s four-carrier force would face *Enterprise*, *Hornet*, and *Yorktown*. [1]

Rear Admiral Frank Jack Fletcher, aboard *Yorktown*, held tactical command at Midway. Rear Admiral Raymond A. Spruance commanded Task Force 16 after Admiral William F. Halsey was sidelined by illness. Their forces waited northeast of the atoll as the Japanese attack unfolded. [1]

The episode showed the practical importance of repair capacity. Intelligence identified the coming battle; the Pearl Harbor shipyard ensured that *Yorktown* could take part in it.

The Attacks That Opened the Door

Nagumo’s staff faced competing demands on June 4. A follow-up strike on Midway appeared necessary, but a scout report then identified American carrier vessels. Japanese crews had to shift the reserve force from a land-attack mission to an anti-ship mission while also maintaining fighter patrols over the fleet. [6]

American attacks came in fragments. Midway-based aircraft and carrier torpedo squadrons found the Japanese carriers but achieved little direct damage. Hornet’s Torpedo Squadron 8, led by Lieutenant Commander John C. Waldron, attacked without fighter cover. Its slow TBD Devastators were nearly wiped out. Torpedo Squadrons 6 and 3 suffered severe losses as well. [1][6]

Those attacks did not automatically produce the later dive-bomber success. Japanese fighters and antiaircraft fire destroyed most of the torpedo planes. Still, the repeated low-level attacks added pressure to a force already handling reconnaissance, rearming, and fighter operations. [6]

Meanwhile, American dive-bombers searched over open ocean. Lieutenant Commander C. Wade McClusky, leading *Enterprise*’s air group, continued beyond the expected search area and followed the wake of the Japanese destroyer *Arashi*. The decision led his aircraft toward Nagumo’s carriers. [6]

Around 10:25 a.m. on June 4, dive-bombers from *Enterprise* and *Yorktown* struck *Akagi*, *Kaga*, and *Sōryū*. Within minutes, all three carriers were burning from fatal hits. [1]

Why the Japanese Carriers Burned

A popular version of Midway holds that American dive-bombers found Japanese strike aircraft lined up on flight decks, ready to launch. Later study of Japanese operational records challenges that picture. The flight decks were being used for fighter operations, while strike aircraft were largely below in hangar spaces as crews worked through changing orders. [6]

That does not lessen the effect of the American attack. Bombs penetrated relatively thin flight decks and detonated amid aircraft, fuel systems, and munitions in enclosed hangars. Fires spread beyond the ability of damage-control parties to contain them. [6]

The surviving carrier, *Hiryū*, remained capable of striking back. Under Rear Admiral Tamon Yamaguchi, it launched two counterattacks that hit *Yorktown* and left the American carrier disabled. Later that afternoon, American dive-bombers found *Hiryū* and set it ablaze. [1]

By the next day, all four of Nagumo’s carriers were lost. The heavy cruiser *Mikuma* was also sunk during the wider battle. Japan lost more than 3,000 personnel, including experienced aviators and carrier specialists; U.S. losses were about 307 men. [1][5]

A Victory With Limits

The battle did not end on June 4. On June 6, the Japanese submarine I-168 torpedoed the crippled *Yorktown* and the destroyer *Hammann*, which was alongside assisting the carrier. *Hammann* sank immediately. *Yorktown* remained afloat for a time before foundering on June 7. [1][5]

Admiral Isoroku Yamamoto ordered a general retreat on the night of June 4–5. Spruance did not drive his carriers westward into a night engagement with Japanese surface forces. On June 5 and 6, he broke off pursuit rather than risk his remaining carriers in night combat or expose them to aircraft operating under Wake Island’s protection. [1]

The decision reflected the limits of the American victory. The United States had inflicted a major defeat, but the Pacific War was far from over. Its remaining carriers were still scarce, and Japan remained a formidable opponent.

Midway stopped Japan’s major eastward offensive expansion. The loss of four carriers was severe, but the loss of veteran aviators and skilled carrier personnel was harder to replace. Japan could build or convert ships; rebuilding experienced air groups and the teams that sustained carrier operations took far longer. [2][5]

Midway was not simply a lucky break. Codebreakers provided warning, Pearl Harbor returned *Yorktown* to the fleet, and American crews found an opening amid confusion at sea. The battle did not end the war, but it changed which side would increasingly set its pace.

Frequently Asked Questions

What role did Station HYPO play in the Battle of Midway?

Station HYPO read portions of Japanese JN-25B traffic and concluded that “AF” was Midway. The freshwater-supply deception helped confirm the identification, allowing Nimitz to position carrier forces northeast of the atoll before the Japanese attack. [2][3][4]

Why were Japanese carriers vulnerable to American dive-bombers?

Japanese strike aircraft were not simply lined up on flight decks awaiting launch. Fighter operations occupied the decks while aircraft below were being rearmed. Bombs that penetrated the decks ignited aircraft, fuel, and munitions in enclosed hangar spaces, creating fires that overwhelmed damage-control efforts. [6]

Which aircraft carriers were sunk at Midway?

Japan lost *Akagi*, *Kaga*, *Sōryū*, and *Hiryū*. The United States lost *Yorktown*, which was first disabled by Japanese carrier aircraft and later torpedoed by submarine I-168. [1][5]

TIMELINE

Key moments

May 10–20, 1942Station HYPO cryptanalysts break JN-25B messages pointing to an assault on objective 'AF'; the water condenser ruse confirms 'AF' is Midway.
May 27–30, 1942USS Yorktown arrives at Pearl Harbor damaged from Coral Sea and is repaired in 72 hours; Task Forces 16 and 17 sortie toward Midway.
June 3, 1942 (09:04)An American PBY Catalina patrol plane spots the Japanese Midway Occupation Force transport group west of the atoll.
June 4, 1942 (04:30)Vice Admiral Nagumo launches 108 aircraft to strike Midway Atoll; U.S. carriers begin positioning for an air strike against Kidō Butai.
June 4, 1942 (06:30–07:00)Japanese air wing bombs Midway's installations; marine and land-based American aircraft mount ineffective, costly counterattacks.
June 4, 1942 (07:15–07:45)Nagumo orders reserve aircraft rearmed from torpedoes to land bombs; order reversed after scout plane spots American carrier vessels.
June 4, 1942 (09:18–10:00)American Devastator torpedo squadrons (VT-8, VT-6, VT-3) attack without fighter cover and are nearly annihilated by Japanese Zeros and antiaircraft fire.
June 4, 1942 (10:22–10:28)SBD Dauntless dive-bombers from Enterprise and Yorktown deliver fatal bomb hits on Akagi, Kaga, and Sōryū.

Sources

  1. Battle of Midway — Naval History and Heritage Command
  2. The Battle of Midway — The National WWII Museum
  3. CAPT Joseph J. Rochefort, USN — National Security Agency
  4. Station Hypo — Commander, Navy Region Hawaii
  5. The Battle of Midway — National Museum of the Pacific War
  6. Shattered Sword: The Untold Story of the Battle of Midway — Potomac Books / University of Nebraska Press

RELATED STORIES

Continue exploring

Wars ConflictThe Lend-Lease Program: How America Armed the Allies Before Entering World War IIRead story →Wars ConflictThe Gulf of Tonkin Resolution and the Escalation of VietnamRead story →Wars ConflictFranklin D. Roosevelt and America's Road Into World War IIRead story →