The Pacific War grew out of Japan's unfinished Second Sino-Japanese War. To cut off China's supplies and secure resources, Japan moved into French Indochina in 1940–1941. The United States, Britain and the Dutch responded by freezing Japanese assets and halting oil sales, which threatened to immobilize Japan's fleet within months. Its leaders chose to seize the oil of the Dutch East Indies by force and to cripple the American navy first.
On 7–8 December 1941 Japan struck Pearl Harbor in Hawaii and, almost simultaneously, Malaya, Hong Kong and the Philippines. Within six months it had taken Singapore, the Dutch East Indies and Burma and stood on the borders of India and the approaches to Colonial Australia, organizing its conquests as the Greater East Asia Co-Prosperity Sphere.
The advance was halted in mid-1942. At the Battle of Midway in June, American carrier aircraft sank four Japanese aircraft carriers, a loss Japan's industry could not replace. A long struggle for Guadalcanal followed. From 1943 American forces advanced by 'island hopping', capturing selected islands for airfields and bypassing strong garrisons, while Submarines (U-boats) destroyed the merchant shipping that carried Japan's oil and food. British, Indian and African troops fought the Japanese in Burma, and China continued to tie down a large Japanese army.
The fighting was exceptionally brutal, sharpened by racial hatred on both sides. Japanese soldiers, taught that surrender was dishonorable, commonly fought to the death, and prisoners of war and civilians under Japanese occupation were treated with great cruelty. In the United States, about 120,000 people of Japanese descent, most of them citizens, were confined in internment camps. As American forces neared Japan in 1944–1945, kamikaze pilots crashed their planes into ships, and the battles for Iwo Jima and Okinawa cost tens of thousands of lives; on Okinawa perhaps 100,000 civilians died.
From bases in the Mariana Islands, B-29 bombers carried out the Firebombing of Cities of Japanese cities and then the Atomic Bombings of Hiroshima and Nagasaki. With the Soviet Union invading Manchuria, Japan surrendered, signing the instrument aboard an American battleship in Tokyo Bay on 2 September 1945.
The war ended the Empire of Japan, which was occupied and reshaped under American direction (Japan since 1945). Korea was divided at the 38th Parallel, and across Southeast Asia nationalists resisted the return of European rule, opening the era of Decolonization.