Anti-Japanese sentiment in the United States has existed since the late 19th century, during the Yellow Peril. Anti-Japanese sentiment peaked during the Second World War and again in the 1970s-1980s with the rise of Japan as a major economic power.
In the United States, anti-Japanese sentiment had its beginnings well before World War II. Racial prejudice against Asian immigrants began building soon after Chinese workers started arriving in the country in the mid-19th century, and set the tone for the resistance Japanese would face in the decades to come. Although Chinese were heavily recruited in the mining and railroad industries initially, whites in Western states and territories came to view the immigrants as a source of economic competition and a threat to racial "purity" as their population increased. A network of anti-Chinese groups (many of which would reemerge in the anti-Japanese movement) worked to pass laws that limited Asian immigrants' access to legal and economic equality with whites. Most important of these discriminatory laws was the exclusion of Asians from citizenship rights. The Naturalization Act of 1870 revised the previous law, under which only white immigrants could become U.S. citizens, to extend eligibility to people of African descent. By designating Asians as permanent aliens, the law prohibited them from voting and serving on juries, which, combined with laws that prevented people of color from testifying against whites in court, made it virtually impossible for Asian Americans to participate in the country's legal and political systems. Also significant were alien land laws, which relied on coded language barring "aliens ineligible for citizenship" from owning land or real estate, and in some cases from even entering into a temporary lease, to discourage Asian immigrants from establishing homes and businesses in over a dozen states. These laws were greatly detrimental to the newly arrived immigrants, since many of them were farmers and had little choice but to become migrant workers.
After the Chinese Exclusion Act of 1882 stopped immigration from China, American labor recruiters began targeting Japanese workers, triggering a rapid increase in the country's Japanese population, which in turn triggered the movement to decrease their number and restrict their economic and political power. Some cite the formation of the Asiatic Exclusion League as the start of the anti-Japanese movement in California, where, along with the Japanese American population, the exclusion movement was centered. Their efforts focused on ending Japanese immigration and, as with the previous anti-Chinese movement, nativist groups like the Asiatic Exclusion League lobbied to limit and finally, with the Immigration Act of 1924, ban Japanese and other East Asians from entering the U.S. However, in the process they created an atmosphere of systematic hostility and discrimination that would later contribute to the push to incarcerate 120,000 Japanese Americans during World War II.