StMU Research Scholars

Featuring Scholarly Research, Writing, and Media at St. Mary’s University

March 11, 2020

Code Breakers Ride the Wave to the Midway

USS Yorktown Hit by Torpedo during Battle of Midway

Sunday, December 7, 1941 promised blue skies and warm temperatures at Pearl Harbor on the island of Oahu, Hawaii. Just prior to 8:00 a.m., the course of America’s history changed when the Japanese dropped bombs across the naval station from 350 planes. The unanticipated attack began on the U.S. Naval Yard and Battleship Row. More than 2,400 servicemen died and at least 1,200 were injured, four battleships sunk and four more took on extensive damage. Significant damage occurred to other parts of the Pacific fleet. The following day the United States of America declared war on Japan. For the next six months, the United States tried to gain the upper hand against Japan, but lost ground due to the lack of resources to carry out an attack against the Japanese Imperial Navy. The tide began to turn in May 1942.1

Admiral Chester W. Nimitz commanded the Pacific Fleet, replacing Admiral Husband Kimmel. Nimitz, a Texas native, said that “Pearl Harbor’s blame did not rest on any one person. Staff officers, who expected to be sacked by the new fleet commander, were stunned when he (Nimitz) explained he still considered them first rate. No one was more surprised or heartened by Nimitz’s words than Lt. Cmdr. Edwin Layton, Kimmel’s chief intelligence officer. Layton felt that he let Kimmel down and assumed he would be let go by his successor.”2

Nimitz leveraged the intelligence team led by Layton and one of Layton’s men, Lt. Cmdr. Joseph Rochefort, a cryptanalyst. Rochefort, like his superior, Layton, was fluent in Japanese. He led the combat intelligence unit at Pearl Harbor. Their unit succeeded in deciphering the Japanese code. On June 1, 1939, the Japanese had introduced what American cryptanalysts called JN-25. JN simply meant Japanese Navy and the 25 represented the number of revisions. JN-25 consisted of more than 33,000 words, phrases, and letters, and was the primary code the Japanese used to send military, as opposed to diplomatic, messages.3

JN-25 – Japanese Naval Code | Courtesy of Wikimedia Commons

The intelligence unit worked twenty-four hours a day, seven days a week for months trying to decipher the code. “To disguise the codes for frequently repeated words, such as battleship or attack, each five-digit code number in a message was altered by adding on a different five-digit number from the cipher table, which had 100,000 possible combinations. The sender then transmitted the message along with a numerical key, indicating the location of the cipher numbers in a table. To decipher the message, the officer receiving it used an identical cipher table and code-book to reverse the process.”4

Battle of Midway Article
Rochefort – Officer in Charge of the Code Breakers | Courtesy of Wikimedia Commons

The code-breaking consumed Rochefort and his men. They promised to avenge the deaths from Pearl Harbor. This single focus kept the men determined and concentrated on their goal.  Rochefort and “his team of code breakers, mathematicians, linguists, and traffic analysts (specialists who used various techniques to determine the origin and destination of a message) were helped by the fact that the Japanese grew more confident and less careful in early 1942, as their stunning early triumphs instilled in them what they later called victory disease.”5 The team slowly made progress in breaking the codes. By April 1942, the combat intelligence unit was able to read about a third of the JN-25 code words and made educated guesses about Japanese naval plans.6

The Japanese were scheduled to change their special naval code on May 1. The task of distributing new codebooks was a challenge for the Japanese. They had to coordinate the change over a vast territory and transition the entire fleet to the new codebooks by a certain date. Due to the logistics, the distribution of the codebooks were delayed for one month. The decision to delay the distribution gave the U.S. Navy the break they needed. “The delay was a fatal error, for it allowed the Station Hypro cryptologists and analysts at Pearl Harbor to crack about 90% of it. In one of the biggest intelligence coups of the war, Rochefort and his team predicted the Japanese fleet was about to attack the Pacific island of Midway.” Part of the guess was based on the Japanese code for the target, indicated by the letters AF. But was “AF” actually Midway? “The analysts devised a means of finding out. Station Hypo directed the marines on the island to transmit a false message complaining that their freshwater condensers were causing trouble. When Midway complied, Japanese eavesdroppers intercepted the seemingly routine piece of information and promptly relayed it by code to higher headquarters and the Combined Fleet: AF was low on water. That message was heard in turn by the Americans, and it confirmed Midway was the target.”7

Admiral Chester Nimitz| Near 1942 | Courtesy of Wikimedia Commons

Admiral Nimitz then made plans based on an assumed attack at Midway. He had the forces needed to turn Midway into a stronghold. “Nimitz made a quick personal visit to the island, then dispatched orders to pack it with five thousand troops, a hundred planes—there was no room for more—and thickets of guns. If the Japanese tried to come ashore, it would cost them.”8

To understand how the Battle of Midway evolved, one must also understand the Japanese Imperial Navy and one of its highest ranking officers, Admiral Isoroku Yamamoto, commander in chief of the Combined Fleet of the Imperial Japanese Navy. The Japanese military leaders were embarrassed by the U.S. “Doolittle Raid” bombing of Tokyo in April 1942. The Japanese wanted revenge with a decisive attack that would end the war. A master strategist and knowledgeable of the U.S. Navy, Yamamoto chose Midway. Success at Midway would give Japan greater control of its perimeter and more command of the waters. Yamamoto also knew that the Americans would send any remaining aircraft carriers to protect their naval base at Midway. With the element of surprise on their side, the plan was for the large Japanese force to bomb the base at Midway and then attack and disable the U.S. fleet. As part of their protocol, Yamamoto’s naval officers met to rehearse the invasion. The war games concluded and the officers convinced themselves the attack plan was solid and that they could not fail.9

Admiral Yamamoto | Near 1942 | Courtesy of Wikimedia Commons

The Japanese launched an attack on the Aleutian Islands in Alaska in the early morning hours of June 3. The Japanese hoped to draw some U.S. naval forces in that direction; however, Yamamoto lacked some important information. He did not know that the Americans had cracked Japan’s naval code. The Americans saw the attack on the Aleutians for what it was—a diversion.10

As the battle approached, Admiral Nimitz initiated his plan that started with the confirmation of the “AF” code by Rochefort’s team. Admiral Nimitz ordered the Rear Admiral commanders of the USS Enterprise, the USS Hornet, and the USS Yorktown dispatched to the Midway Island. Admiral Yamamoto was unaware that the third carrier, the USS Yorktown, was ready for battle. Yamamoto’s intelligence was that the Yorktown was sunk after the Battle of the Coral Sea. The carrier, however, had been repaired in 48 hours of its arrival at Pearl Harbor. The third carrier was an advantage for Admiral Nimitz.11

June 4, 1942 at 4:30 a.m., the Japanese began their air attacks on the U.S. Navy at Midway Island. The U.S. aircrafts were damaged, but the airfields were not completely destroyed.  At 7:15 a.m., the Japanese prepared for a second attack of the base when a Japanese scout plane saw the American fleet. When Vice Admiral Nagumo, commander of the Japanese Akagi, learned this unexpected news, he reversed his earlier decision of attacking Midway and instead ordered the planes to be rearmed with torpedoes instead of bombs. Rear Admiral Fletcher of USS Yorktown, in overall command of the American forces, ordered planes released from the USS Enterprise and USS Hornet at 7:00 a.m. The attack was not well coordinated. The losses between the two U.S. carriers were significant. Only six torpedo bombers returned, and only 14 of 82 airmen survived.12

Later in the morning, the U.S. Navy’s luck changed when other groups of dive bombers from the USS Enterprise and the USS Yorktown directly hit three Japanese carriers.  Each of these Japanese carriers had bombs and torpedoes on their decks and the carriers burst into flames. This was the pivotal break that the U.S. Navy needed. The battle continued on for two more days. Admiral Yamamoto ordered his defeated fleet to return to base on the morning of June 5th. The Americans continued the fight and damaged more enemy destroyers and cruisers. The afternoon of June 6th, the Japanese submarine I-168 further damaged the USS Yorktown. The U.S. Navy attempted to keep the trusted carrier afloat for more than 48 hours. During the early morning hours of June 7th, the USS Yorktown rolled over and sank.13

There is much debate on the strategies that were deployed at Midway. When the strategies of the admirals are discussed, historians cite that the Japanese commanders were slow to react to the changing battle circumstances. Lessons learned stated that the Japanese were overconfident in their superior force and underestimated the determination of the U.S. Navy. The Japanese commanders were not encouraged to adjust to Yamamoto’s detailed plan during their training exercises and could not respond quickly with the surprised American attack. Admiral Nimitz expected more autonomy from his commanders. He emphasized the ultimate objectives of sinking the enemy’s aircraft carriers and used calculated risk to achieve that goal. This direction allowed the U.S. commanders to react to the unexpected during the battle. In the end, U.S. Pacific fleet lost 340 men, one aircraft carrier, one destroyer, and 145 aircraft. The Japanese lost more than 3,000 men, four aircraft carriers, one heavy cruiser, and 228 aircraft. Many of the Japanese killed were their best pilots and crews, a loss that could not be overcome.14

The American victory at Midway marked a turning point in the Pacific Theater. It was the first major defeat of the Japanese Navy in 350 years. It was the beginning of the end to Japan’s actions in the Pacific. Over the next three years, the U.S. forces slowly pushed the Japanese back to their mainland islands. The gains that Japan had fought for were lost.15 The Battle at Midway was successful due to the code breakers, the leadership of Admiral Nimitz, and the dedication of the servicemen of the United States Navy.

  1. Stephen G. Hyslop, Eyewitness to World War II: Unforgettable Stories From History’s Greatest Conflict, ed. Neil Kagan (Washington, DC: National Geographic Partners, 2018), 52.
  2. Stephen G. Hyslop, Eyewitness to World War II: Unforgettable Stories From History’s Greatest Conflict, ed. Neil Kagan (Washington, DC: National Geographic Partners, 2018), 121.
  3. Encyclopedia of Espionage, Intelligence, and Security Online, s.v. “World War II, United States Breaking of Japanese Naval Codes,”  http://www.faqs.org (accessed February 4, 2020).
  4. Stephen G. Hyslop, Eyewitness to World War II: Unforgettable Stories From History’s Greatest Conflict, ed. Neil Kagan (Washington, DC: National Geographic Partners, 2018), 124.
  5. Stephen G. Hyslop, Eyewitness to World War II: Unforgettable Stories From History’s Greatest Conflict, ed. Neil Kagan (Washington, DC: National Geographic Partners, 2018), 123-124.
  6. Stephen G. Hyslop, Eyewitness to World War II: Unforgettable Stories From History’s Greatest Conflict, ed. Neil Kagan (Washington, DC: National Geographic Partners, 2018), 125.
  7. Donald A. Davis, Lightning Strike (New York: St. Martin Press, 2005), 99-100.
  8. Donald A. Davis, Lightning Strike (New York: St. Martin Press, 2005), 100.
  9. Barbara D. Krasner, “The Battle of Midway,” Cobblestone, May/June 2014, 26-31.
  10. Barbara D. Krasner, “The Battle of Midway,” Cobblestone, May/June 2014, 26-31.
  11. Barbara D. Krasner, “The Battle of Midway,” Cobblestone, May/June 2014, 26-31.
  12. Barbara D. Krasner, “The Battle of Midway,” Cobblestone, May/June 2014, 26-31.
  13. Barbara D. Krasner, “The Battle of Midway,” Cobblestone, May/June 2014, 26-31.
  14. Barbara D. Krasner, “The Battle of Midway,” Cobblestone, May/June 2014, 26-31.
  15. Barbara D. Krasner, “The Battle of Midway,” Cobblestone, May/June 2014, 26-31.

Tags from the story

Admiral Chester W. Nimitz

Battle fo Midway

U.S. Navy

WWII

Recent Comments

Giselle Garcia

This was an overall interesting article about the Battle of Midway. I wasn’t aware of the codebreakers that gave the American navy an advantage over the Japanese for that battle. It’s amazing that the codebreakers were able to decode the Japanese messages about attacking Midway and were able to surprise the Japanese navy. Another advantage that the Americans had was their third carrier, which the Japanese didn’t know about and ultimately helped the Americans at Midway, leading them to victory.

reply

13/03/2020

12:34 pm

Antonio Holverstott

The codebreakers played a significant role in helping the US to win the Second World War. Without them, the war might look different and similar to the attack on Peral Harbor in Hawaii. Also, the people in actual combat contributed to the success of the United States by quickly correcting mistakes before the Japanese took advantage of these miscalculations by the US Navy.

reply

14/03/2020

12:34 pm

Mia Hernandez

This was a very interesting article to read. I’d previously heard about the Battle of Midway, but I wasn’t very familiar with the codebreakers that were a very important tool to the American navy. It’s incredible to think that these codebreakers were able to decipher the messages being intercepted from the Japanese and from that they were able to surprise the Japanese armies at Midway, leading to an American victory.

reply

20/03/2020

12:34 pm

Genesis Moro Otero

Reading this article helped me refresh on the information I had read before about the battle of Midway. Codebreakers were such an important part/ key of the history of WWII. How they were able to decode the Japanese messages, giving the US an advantage. The advantage that would then lead them to surprise the Japanese armies and lead the US to victory.

reply

22/03/2020

12:34 pm

Nelly Perez

Interesting how there was a team of coders who worked on deciphering a message after the attack on Pearl Harbor. Rochefest and his team worked hard. They wanted to avenge the deaths of the victims in the attack. Around April, they managed to get through the codes by 90% to find that the Japanese’s next plan was to attack somewhere else.

reply

22/03/2020

12:34 pm

Raul Colunga

The Battle of Midway was a fascinating event because of not only the code breakers themselves but also the coincidences that benefited us. It was lucky that the distribution of the new code books were delayed, but also the Japanese Navy was on radio silence. The Japanese admirals were not able to communicate with each other that their plans were not going as they intended.

reply

24/03/2020

12:34 pm

Aiden Dingle

Pearl Harbor was a massive wake-up call for the U.S. It sparked many advancements for the war effort, especially against the Japanese in the Pacific Theater. I think that the U.S. had incredible luck to decipher the Japanese Naval Codes just in time to prepare for the battle of Midway. Almost everything was in favor of the American forces for the battle of Midway just because of the Japanese errors from just after Pear Harbor to the start of the battle of Midway. The U.S. was extremely luck, to the point that I think that if the Japanese didn’t run into the logistical errors of deploying their new Code Book, the war in the Pacific may have turned out very different.

reply

29/03/2020

12:34 pm

Davis Nickle

These are the kinds of stories from World War Two that I like to hear about. These lesser known figures and roles were just as important to the success of the Allies as the soldiers on the ground and the generals planning out battles. The job of code breaker must have been an unforgiving one, I doubt I could even begin to comprehend the processes that those men had to go through just to find out one word. The most interesting article was that I had never known that the US learned about the planned attack on midway through an “intelligence Coup”, this was a seriously fascinating read.

reply

30/03/2020

12:34 pm

Thiffany Yeupell

When thinking about the World Wars, most minds think of the major battles that have made their names in history. But it’s the little details that make such battle memorable for the victors. For the Battle of Midway, the codebreakers played an essential part that led to victory, for had they failed to crack the code, Midway may be downplayed and be recognized as a successful ambush by the Japanese. But success was on the side of the codebreakers and with the strategic planning and communication with Admiral Nimitz, the probability of American victory was higher and eventually attained.

reply

31/03/2020

12:34 pm

Kendall Guajardo

I have never heard about the Battle of Midway but it certainly was a great story. There was great persistence by the U.S Navy and Admiral Nimitz to stay ahead of the battle. We hear about the great leadership exhibited but knowing that code breakers essentially leveraged this battle is insane. They put in such hard work to be able to read valuable information needed for coming up with a better strategy than previously. I think Rochefort and his team were integral to the mission and they wanted to win after what happened at Pearl Harbor. The intelligence, dedication, and motivation was all there, the plan was almost too perfect.

reply

24/04/2020

12:34 pm

1 2

Leave a Reply