The 30 September Movement attempts a coup against the Indonesian government, which is crushed by the military under Suharto and leads to a mass anti-communist purge, with over 500,000 people killed.

The Indonesian mass killings of 196566, also known as the Indonesian genocide,:4 Indonesian Communist Purge, or Indonesian politicide (Indonesian: Pembunuhan Massal Indonesia & Pembersihan G.30.S/PKI), were large-scale killings and civil unrest that occurred in Indonesia over several months, targeting Communist Party of Indonesia (PKI) party members, communist sympathisers, Gerwani women, ethnic Javanese Abangan, ethnic Chinese, atheists, alleged "unbelievers" and alleged leftists, often at the instigation of the armed forces and government, which were supported by Western NATO countries, such as the United States and the United Kingdom.:157 It began as an anti-communist purge following a controversial attempted coup d'tat by the 30 September Movement. According to the most widely published estimates at least 500,000 to 1.2 million people were killed,:3 with some estimates going as high as two to three million. The purge was a pivotal event in the transition to the "New Order" and the elimination of PKI as a political force, with impacts on the global Cold War. The upheavals led to the fall of President Sukarno and the commencement of Suharto's three-decade authoritarian presidency.

The abortive coup attempt released pent-up communal hatreds in Indonesia; these were fanned by the Indonesian Army, which quickly blamed the PKI. Additionally, the intelligence agencies of the United States, United Kingdom and Australia engaged in black propaganda campaigns against Indonesian communists. During the Cold War, the United States, its government, and its Western allies had the goal of halting the spread of communism and bringing countries into the sphere of Western Bloc influence. Britain had additional reasons for seeking Sukarno's removal, as his government was involved in an undeclared war with the neighbouring Federation of Malaya, a Commonwealth federation of former British colonies.

Communists were purged from political, social, and military life, and the PKI itself was disbanded and banned. Mass killings began in October 1965, in the weeks following the coup attempt, and reached their peak over the remainder of the year before subsiding in the early months of 1966. They started in the capital, Jakarta, and spread to Central and East Java, and later Bali. Thousands of local vigilantes and Army units killed actual and alleged PKI members. Killings occurred across the country, with the most intense in the PKI strongholds of Central Java, East Java, Bali, and northern Sumatra. It is possible that over one million suspected PKI members and alleged communist sympathizers were imprisoned at one time or another. Sukarno's balancing act of "Nasakom" (nationalism, religion, and communism) unravelled. His most significant pillar of support, the PKI, was effectively eliminated by the other two pillarsthe Army and political Islam; and the Army was on the way to gaining unchallenged power. In March 1967, Sukarno was stripped of his remaining authority by Indonesia's provisional parliament, and Suharto was named Acting President. In March 1968, Suharto was formally elected president.

The killings are skipped over in most Indonesian history textbooks and have received little attention by Indonesians due to their suppression under the Suharto regime, as well as receiving little international attention. The search for satisfactory explanations for the scale and frenzy of the violence has challenged scholars from all ideological perspectives. The possibility of returning to similar upheavals is cited as a factor in the "New Order" administration's political conservatism and tight control of the political system. Vigilance and stigma against a perceived communist threat remained a hallmark of Suharto's doctrine, and it is still in force even today.Despite a consensus at the highest levels of the U.S. and British governments that it would be necessary "to liquidate Sukarno", as related in a CIA memorandum from 1962, and the existence of extensive contacts between anti-communist army officers and the U.S. military establishment training of over 1,200 officers, "including senior military figures", and providing weapons and economic assistance the CIA denied active involvement in the killings. Declassified U.S. documents in 2017 revealed that the U.S. government had detailed knowledge of the mass killings from the beginning and was supportive of the actions of the Indonesian Army. U.S. complicity in the killings, which included providing extensive lists of PKI officials to Indonesian death squads, has previously been established by historians and journalists. A top-secret CIA report from 1968 stated that the massacres "rank as one of the worst mass murders of the 20th century, along with the Soviet purges of the 1930s, the Nazi mass murders during the Second World War, and the Maoist bloodbath of the early 1950s."

The Thirtieth of September Movement (Indonesian: Gerakan 30 September, abbreviated as G30S, also known by the acronym Gestapu for Gerakan September Tiga Puluh, Thirtieth of September Movement) was a self-proclaimed organization of Indonesian National Armed Forces members who, in the early hours of 1 October 1965, assassinated six Indonesian Army generals in an abortive coup d'état, resulting in the unofficial but more accurate name of Gestok, for Gerakan Satu Oktober, or First of October Movement. Later that morning, the organisation declared that it was in control of media and communication outlets and had taken President Sukarno under its protection. By the end of the day, the coup attempt had failed in Jakarta. Meanwhile, in central Java there was an attempt to take control over an army division and several cities. By the time this rebellion was put down, two more senior officers were dead.

In the days and weeks that followed, the army, socio-political, and religious groups blamed the coup attempt on the Communist Party of Indonesia (PKI). Soon a mass purge was underway, which resulted in the imprisonment and deaths of actual or suspected Communist Party members and sympathizers. Under the New Order, the movement was usually referred to as "G30S/PKI" by those wanting to associate it with the PKI, and this term is also sometimes used by the current government.Investigations and questioning of Suharto's version of the events were long obstructed in Indonesia. While the CIA initially believed that Sukarno orchestrated all of it, several outside sources found inconsistencies and holes in the army claims, notably Benedict Anderson and Ruth McVey who wrote the Cornell Paper that challenged it.