Nuclear weapons testing: The Romeo shot of Operation Castle is detonated at Bikini Atoll. Yield: 11 megatons.

Operation Castle was a United States series of high-yield (high-energy) nuclear tests by Joint Task Force 7 (JTF-7) at Bikini Atoll beginning in March 1954. It followed Operation UpshotKnothole and preceded Operation Teapot.

Conducted as a joint venture between the Atomic Energy Commission (AEC) and the Department of Defense (DoD), the ultimate objective of the operation was to test designs for an aircraft-deliverable thermonuclear weapon. All the devices tested, which ranged in weight from 6,520 to 39,600 pounds (2,960 to 17,960 kg), were built to be dropped from aircraft. However, ballistic casings, fins and fusing systems would have to be attached.Operation Castle was considered by government officials to be a success as it proved the feasibility of deployable "dry" fuel designs for thermonuclear weapons. There were technical difficulties with some of the tests: one device had a yield much lower than predicted (a "fizzle"), while two other bombs detonated with over twice their predicted yields. One test in particular, Castle Bravo, resulted in extensive radiological contamination. The fallout affected nearby islands including inhabitants and U.S. soldiers stationed there, as well as a nearby Japanese fishing boat (the Daigo Fukury Maru), resulting in one direct fatality, and then continued health problems for many of those exposed. Public reaction to the tests and an awareness of the long-range effects of nuclear fallout has been attributed as being part of the motivation for the Partial Test Ban Treaty of 1963.

Nuclear weapons tests are experiments carried out to determine nuclear weapons' effectiveness, yield, and explosive capability. Testing nuclear weapons offers practical information about how the weapons function, how detonations are affected by different conditions, and how personnel, structures, and equipment are affected when subjected to nuclear explosions. However, nuclear testing has often been used as an indicator of scientific and military strength. Many tests have been overtly political in their intention; most nuclear weapons states publicly declared their nuclear status through a nuclear test.

The first nuclear device was detonated as a test by the United States at the Trinity site in New Mexico on July 16, 1945, with a yield approximately equivalent to 20 kilotons of TNT. The first thermonuclear weapon technology test of an engineered device, codenamed "Ivy Mike", was tested at the Enewetak Atoll in the Marshall Islands on November 1, 1952 (local date), also by the United States. The largest nuclear weapon ever tested was the "Tsar Bomba" of the Soviet Union at Novaya Zemlya on October 30, 1961, with the largest yield ever seen, an estimated 50–58 megatons.

In 1963, three (UK, US, Soviet Union) of the then four nuclear states and many non-nuclear states signed the Limited Test Ban Treaty, pledging to refrain from testing nuclear weapons in the atmosphere, underwater, or in outer space. The treaty permitted underground nuclear testing. France continued atmospheric testing until 1974, and China continued until 1980. Neither has signed the treaty.Underground tests in the Soviet Union continued until 1990, the United Kingdom until 1991, the United States until 1992 (its last nuclear test), and both China and France until 1996. In signing the Comprehensive Nuclear-Test-Ban Treaty in 1996, these countries have pledged to discontinue all nuclear testing; the treaty has not yet entered into force because of failure to be ratified by eight countries. Non-signatories India and Pakistan last tested nuclear weapons in 1998. North Korea conducted nuclear tests in 2006, 2009, 2013, 2016, and 2017. The most recent confirmed nuclear test occurred in September 2017 in North Korea.