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

Madeline Chandler

I really enjoyed reading your article about WWII. Everyone always hears about soldiers on the fronts. But it was so refreshing and interesting to read an article about the importance and intelligence of codebreakers. Also, the codebreaker’s insane help to fight the Battle of Midway and decipher the difficult Japanese codes.I think this article offered an insightful view of the importance of people that have other roles in the military. 

reply

13/04/2021

12:34 pm

Jacob Galan

This is a very interesting article. When most people think about wwii they more than likely think about Germany and the wars that happen in Europe than the wars that happen in the Pacific. Not only that, but they also think more about battles rather than what happens behind the scenes. The article discusses these code breakers and how they change the tide of the war to favor the U.S. Had not Joseph Rochefort and few others for the navy not been influence in Japanese language then the outcome of the Pacific war for the Americans could have been a whole lot different.

reply

22/01/2022

12:34 pm

Irene Urbina

Very intriguing article! It was interesting to read about the JN-25 and how it had to be decoded. It also caught my attention how codebreakers and intelligence units played a big role in the Battle of Midway and managed to decipher such difficult codes. This article opened my eyes to other battles that happened during WWII that are not talked about enough and what happened behind the scenes that led to the victory of a country.

reply

21/03/2022

12:34 pm

Ruben Becerril

I found the way this article was structured to be very well organized. Each paragraph connected to the next and the transition between the paragraphs made it easy for me to read. The Codebreakers were able to emphasize that knowledge is power. Looking at the outcome of the battle surprised me as it shows just how crucial the Codebreakers were to the battle.

reply

21/03/2022

12:34 pm

Andrew Ponce

This article is very easily enjoyable, especially with such a fascinating topic. The author chose a topic that many people already know about, but at the same time, interested to know more. Code breaking was such an important role, not only during WWll, but especially in Midway. This article truly pays tribute to those during a war that do not physically fight, but help behind the scenes in immense ways. Amazing article!

reply

21/03/2022

12:34 pm

Dylan Miller

This article was a fascinating read! As someone who has gone to Pearl Harbor, and have met with 2 veterans that fought at Pearl Harbor, and Midway, it’s great to read about the stories of the people behind the scenes that lead to the States’ victory! I enjoyed the use of pictures of the cyphers, as it helped me understand how difficult it could have been to decode them, it really allowed me to understand the severity of the time crunch that these codebreakers had to go through!

reply

24/03/2022

12:34 pm

Eliza Merrion

I found your article very interesting. I really liked how you started off by explaining how Pearl Harbor was a major loss for the US, but then going on to explain how the Code Breaker’s success in deciphering the Japanese code allowed the US to take the upper hand in the war. Overall I really enjoyed your article and I can tell a lot of good research went into it.

reply

26/03/2022

12:34 pm

Anissa Navarro

This article was very well written as it had a lot of information. I had never known such detail about the US team attempting to break codes. I like how detailed you left it and how easy it was to follow along and to retain the information.

reply

27/03/2022

12:34 pm

Veronica Lopez

Interesting article! I found it enjoyable to read and I got to learn about code breakers. I also found it fascinating how the intelligence unit worked twenty-four hours a day, seven days a week for months trying to decipher a code. I can barely stay awake finishing assignments, so I would’t be able to imagine the struggle. By the way, I loved how you included a picture of the Japanese Naval Code. I thought it looked cool.

reply

01/05/2022

12:34 pm

Andrea Tapia

I really enjoyed reading this article because of the interesting facts it included about Pearl Harbor. Every time I hear about this devastating event that happened it get’s stuck in my mind for the many lives that died that day. Especially knowing more information about what code breakers were. The fact that they worked twenty-four hours a day to about seven days a week for many months trying to break this code is insane. It imagine that it definitely was a struggle for them and I couldn’t imagine what they must of gone through to break the code. My U.S. teacher just went over this with us in class this week so it definitely was nice to get more information out of it. Also, the fact that solving this code gave the U.S. the ability to have more power in the war. Codebreaking was not just important during WWII, but also now and in the Midway. The images that you included on here really allowed me to know more about what I am reading which I thought was such a huge help!

reply

08/03/2023

12:34 pm

1 2

Leave a Reply