Code talkers worked in teams of two—one to handle the radio and the other to do the coding.

Corbis Historical/Getty Images

The Code That Couldn’t Be Broken

During World War II, a group of young Navajo men created an unbreakable code that helped the U.S. defeat Japan and win the war in the Pacific

For 12 years, Sam Sandoval was forbidden to speak his own language. Like many generations of Navajos, he was sent away from his home in New Mexico to a boarding school as a child. There, he was forced to abandon much of his native culture and speak only in English. Sandoval and his friends “used to sneak away and talk Navajo,” he says.

Then, on Dec. 7, 1941, Japanese planes attacked the U.S. naval base at Pearl Harbor, Hawaii. The assault killed more than 2,400 Americans and plunged the U.S. into World War II (1939-45) against Japan and its allies. Like millions of other Americans after Pearl Harbor, Sandoval signed up to defend his country, enlisting in the Marines at age 19.

But he wouldn’t be an ordinary recruit. To his surprise, the Marines chose him for an experiment: to help devise and use a secret code based on the Navajo language. Sandoval would become part of a legendary group of some 400 Navajos known as the code talkers. Their unbroken code helped turn the tide in key battles in the Pacific Ocean (see map) and win the war against Japan.

For 12 years, Sam Sandoval was forbidden to speak his own language. Like many generations of Navajos, he was sent away from his home in New Mexico to a boarding school as a child. There, he was forced to abandon much of his native culture and speak only in English. Sandoval and his friends “used to sneak away and talk Navajo,” he says.

Then, on Dec. 7, 1941, Japanese planes attacked the U.S. naval base at Pearl Harbor, Hawaii. The assault killed more than 2,400 Americans. This caused the U.S. to enter World War II (1939-45) in the fight against Japan and its allies. Like millions of other Americans after Pearl Harbor, Sandoval signed up to defend his country. He enlisted in the Marines at age 19.

But he wouldn’t be an ordinary recruit. To his surprise, the Marines chose him for an experiment. They sought to devise and use a secret code based on the Navajo language. Sandoval would become part of a legendary group of some 400 Navajos known as the code talkers. Their unbroken code helped turn the tide in key battles in the Pacific Ocean (see map) and win the war against Japan.

The War in the Pacific, 1941-45

The U.S. entered World War II after the Japanese attack on Pearl Harbor, Hawaii, on December 7, 1941. The war in the Pacific became a series of grueling battles over key islands. The code talkers served in some of the fiercest fighting.

Jim McMahon

A Complex Language

The U.S. was at a huge disadvantage when it entered World War II in December 1941. The Pearl Harbor attack had crippled the Navy’s fleet in the Pacific Ocean. By the spring of 1942, the powerful Japanese military controlled much of the Pacific, threatening Australia, an American ally, and drawing ever closer to the U.S. itself.

For the U.S. and its allies, winning the war in the Pacific would be a massive operation. Communication was among the biggest challenges. Relaying battle plans and controlling troop movements over thousands of miles of ocean required servicemen to talk by radio—and in code so that the enemy couldn’t understand. But the Japanese were highly skilled at deciphering codes. It seemed that they could anticipate the Americans’ every move.

In Los Angeles, California, a man named Philip Johnston thought of a solution. The son of Christian missionaries who worked with the Navajo, Johnston had grown up on the tribe’s reservation, a huge 27,000-square-mile area in New Mexico, Arizona, and Utah. He knew the Navajo language was very complex. Because there was no widely used written version, almost no non-natives could understand it. Johnston contacted Marine officers with the idea of developing a code based on Navajo. 

To most Navajos, that idea would have seemed highly ironic. For years beginning in the 1860s, the U.S. government had forced Navajo children to attend boarding schools designed to replace their native ways—and language—with more “American” ones. Even after they didn’t have to, many Navajo parents sent their kids to those schools because they were better than the ones on the reservation.

The U.S. was at a huge disadvantage when it entered World War II in December 1941. The Pearl Harbor attack had weakened the Navy’s fleet in the Pacific Ocean. By the spring of 1942, the powerful Japanese military controlled much of the Pacific. That threatened Australia, an American ally, and put the Japanese even closer to the U.S. itself.

For the U.S. and its allies, winning the war in the Pacific would be a huge operation. Communication was among the biggest challenges. Sending battle plans and controlling troop movements over thousands of miles of ocean required servicemen to talk by radio. They had to speak in code so that the enemy couldn’t understand. But the Japanese were highly skilled at deciphering codes. It seemed that they knew the Americans’ every move. 

In Los Angeles, California, a man named Philip Johnston thought of a solution. He was the son of Christian missionaries who worked with the Navajo. Johnston had grown up on the tribe’s reservation, a huge 27,000-square-mile area in New Mexico, Arizona, and Utah. He knew the Navajo language was very complex. There was no widely used written version. As a result, almost no non-natives could understand it. Johnston contacted Marine officers with the idea of developing a code based on Navajo. 

To most Navajos, that idea would have seemed highly ironic. For years beginning in the 1860s, the U.S. government had forced Navajo children to attend boarding schools. The schools aimed to replace native ways and language with more “American” ones. Even after they didn’t have to, many Navajo parents sent their kids to those schools because they were better than the ones on the reservation.

Devising the Code

Now Navajos were being asked to use their once-forbidden language to help protect the U.S. In early 1942, the Marines started a project at Camp Pendleton near San Diego, California, with 29 young men. The Navajos were first given 211 common terms used in battle. For each, they devised a code word with a unique Navajo spin (see “Code of Battle,” below). For example, they called fighter planes, which were smaller and lighter than bombers, hummingbirds.

On top of this, the coders expanded their word list by spelling out English words and place names with a code based on Navajo words. For example, they would replace the English letter A with the Navajo for ant: wol-la-chee. In total, their vocabulary would include more than 800 terms. 

The Navajos memorized the entire list, allowing them to be incredibly fast at transmitting messages. In field tests, they could send a four-line message in 20 seconds. (A standard coding machine took 30 minutes.) Best of all, no one other than the code talkers—not even other Navajos—could understand the messages.

Military officials were impressed. But would the code work on the battlefield?

Now Navajos were being asked to use their once-forbidden language to help protect the U.S. In early 1942, the Marines started a project at Camp Pendleton near San Diego, California, with 29 young men. The Navajos were first given 211 common terms used in battle. For each, they devised a code word with a unique Navajo spin see “Code of Battle,” below). For example, they called fighter planes, which were smaller and lighter than bombers, hummingbirds.

On top of this, the coders expanded their word list by spelling out English words and place names with a code based on Navajo words. For example, they would replace the English letter A with the Navajo for ant: wol-la-chee. In total, their vocabulary would include more than 800 terms.

The Navajos memorized the entire list. That allowed them to be incredibly fast at transmitting messages. In field tests, they could send a four-line message in 20 seconds. A standard coding machine took 30 minutes. Best of all, no one other than the code talkers could understand the messages. Not even other Navajos knew what they were saying.

Military officials were impressed. But would the code work on the battlefield?

Joe Rosenthal/AP photo

U.S. Marines raise a flag during the Battle of Iwo Jima in 1945. Americans took the island from Japan in fierce fighting and “the entire operation was directed by Navajo code,” an officer said.

A Trial by Fire

They soon found out. In July 1942, the Japanese invaded Guadalcanal in the Solomon Islands, giving them an air base even closer to Australia. Alarmed, U.S. military officials organized a hurried invasion of the island. On August 7, the first wave of Marines stormed the beach in what would be a six-month ordeal. In November, the code talkers joined them.

The fighting was brutal. Marines trudged through thick jungle, facing death at every step. Because of the jungle tree line, U.S. planes couldn’t see where to bomb Japanese positions or drop supplies. The code talkers and their radios were often the only lifeline the Marines had to medicine, ammunition, food, and one another.

Chester Nez, one of the original 29 code talkers, later wrote about working nonstop for 24 hours at a time, crammed into a foxhole. He described his first radio transmission, calling in an attack on a Japanese machine gun that had his patrol pinned down.

“A runner approached, handing me a message written in English. [I transmitted the message to another code talker:] ‘Enemy machine gun nest on your right. Destroy.’ Suddenly, just after my message was received, the Japanese gun exploded, destroyed by U.S. artillery.”

They soon found out. In July 1942, the Japanese invaded Guadalcanal in the Solomon Islands. That gave them an air base even closer to Australia. Alarmed, U.S. military officials organized a hurried invasion of the island. On August 7, the first wave of Marines stormed the beach in what would be a six-month ordeal. In November, the code talkers joined them.

The fighting was brutal. Marines trekked through thick jungle, facing death at every step. Because of the jungle tree line, U.S. planes couldn’t see where to bomb Japanese positions or drop supplies. The code talkers and their radios were often the only lifeline the Marines had to medicine, ammunition, food, and one another. 

Chester Nez, one of the original 29 code talkers, later wrote about his experience. He worked nonstop for 24 hours at a time, crammed into a foxhole. He described his first radio transmission, calling in an attack on a Japanese machine gun that had his patrol pinned down. 

“A runner approached, handing me a message written in English. [I transmitted the message to another code talker:] ‘Enemy machine gun nest on your right. Destroy.’ Suddenly, just after my message was received, the Japanese gun exploded, destroyed by U.S. artillery.”

Taking Iwo Jima

Working so quickly with a code the enemy couldn’t crack made the Navajos a valuable new weapon. By the time the Japanese finally withdrew from Guadalcanal in February 1943, the code talkers had proved themselves.

But the fighting was far from over. The war in the Pacific became a relentless series of battles over strategic islands, leading up to a possible U.S. invasion of Japan. Sam Sandoval went through training in 1942 and soon was “in the thick of it,” as he would say. He would see action at Guadalcanal, Bougainville, Peleliu, Guam, and Okinawa—some of the most fearsome battles of the war.

Working so quickly with a code the enemy couldn’t crack made the Navajos a valuable new weapon. The Japanese finally withdrew from Guadalcanal
in February 1943. By that time, the code talkers had proved themselves.

But the fighting was far from over. The war in the Pacific became a relentless series of battles over strategic islands, leading up to a possible U.S. invasion of Japan. Sam Sandoval went through training in 1942 and soon was “in the thick of it,” as he would say. He would see action at Guadalcanal, Bougainville, Peleliu, Guam, and Okinawa. Some of the most fearsome battles of the war happened in those places.

‘What we did truly represents who we are as Americans.’

In each engagement, the code talkers were crucial. One of the bloodiest fights was over the island of Iwo Jima, beginning in February 1945. In the month it took the Marines to take the island, the battle claimed the lives of some 6,800 Americans and 22,000 Japanese.

“The entire operation was directed by Navajo code,” Signal Officer Major Howard Connor later said. “They sent and received over 800 messages without an error. Were it not for the Navajo code talkers, the Marines would never have taken Iwo Jima.

In each engagement, the code talkers were crucial. One of the bloodiest fights was over the island of Iwo Jima, beginning in February 1945. It took a month for the Marines to take the island. In that time, the battle had claimed the lives of some 6,800 Americans and 22,000 Japanese. 

“The entire operation was directed by Navajo code,” Signal Officer Major Howard Connor later said. “They sent and received over 800 messages without an error. Were it not for the Navajo code talkers, the Marines would never have taken Iwo Jima.”

AP Photo

After the war, Navajos returned to poor reservations, like this one in Arizona, shown in 1948.

The war dragged on until August 1945, when the U.S. dropped two atomic bombs on the Japanese cities of Hiroshima and Nagasaki. (The U.S. and its allies had already prevailed in Europe, after Germany’s surrender that May.) Sandoval still remembers the greatest message he ever decoded, on August 14: “The Imperial forces of Japan have surrendered.”

Soon the code talkers would begin coming home, but not to the post-war economic boom that the rest of the U.S. enjoyed. Instead, the Navajos headed back to their reservations, where jobs and opportunity were scarce.

To make matters worse, the code talkers couldn’t reveal what they had done. The U.S. government had declared their operation top secret. The Navajo code wasn’t declassified until 1968.

The war dragged on until August 1945. That month, the U.S. dropped two atomic bombs on the Japanese cities of Hiroshima and Nagasaki. The U.S. and its allies had already prevailed in Europe, after Germany’s surrender that May. Sandoval still remembers the greatest message he ever decoded, on August 14: “The Imperial forces of Japan have surrendered.”

Soon the code talkers would begin coming home, but not to the post-war economic boom that the rest of the U.S. enjoyed. Instead, the Navajos headed back to their reservations, where jobs and opportunity were scarce.

To make matters worse, the code talkers couldn’t reveal what they had done. The U.S. government had declared their operation top secret. The Navajo code wasn’t declassified until 1968.

Patrick Frilet/REX/Shutterstock

Code talkers reunite at a Navajo fair in Window Rock, Arizona, 2007.

Celebrating the Code Talkers

Today, more than 75 years after their first mission in 1942, the Navajos are recognized as national heroes. In a White House ceremony held by President Trump to honor them last November, 90-year-old code talker Peter MacDonald said that their act of patriotism crossed all boundaries of language and culture. “What we did,” he said, “truly represents who we are as Americans.”  

Sandoval is also proud of his service to the country, of being a Navajo,
and of his unique part in using a military code that was never cracked
by the enemy.

“Many have tried throughout the world to break that code,” he says. “No one can.”

Today, the Navajos are recognized as national heroes. It’s been more than 75 years since their first mission in 1942. President Trump held a White House ceremony to honor them last November. During it, 90-year-old code talker Peter MacDonald said that their act of patriotism crossed all boundaries of language and culture. “What we did,” he said, “truly represents who we are as Americans.”

Sandoval is also proud of his service to the country, of being a Navajo, and of his unique part in using a military code that was never cracked by the enemy.

“Many have tried throughout the world to break that code,” he says. “No one can.” 

Code of Battle

In devising their code, the Navajos used descriptive phrases in their own language as substitutes for common battle terms and other words in English. For example, the code for artillery was be-al-doh-tso-lani, Navajo for many big guns. Here are some other examples.

Jim McMahon
videos (1)
Skills Sheets (5)
Skills Sheets (5)
Skills Sheets (5)
Skills Sheets (5)
Skills Sheets (5)
Leveled Articles (1)
Text-to-Speech