Skip to main content
Tuesday, November 17, 2026Nov 17

Indonesia’s Parliament votes to ban sex outside of marriage

Activists hold up posters during a rally against Indonesia's new criminal law in Yogyakarta, Indonesia, Tuesday, Dec. 6, 2022. The country's parliament passed the long-awaited and controversial revision of its penal code Tuesday that criminalizes extramarital sex for citizens and visiting foreigners alike. Writings on the posters read "Reject the revised penal code" and "Revised criminal law shackles press freedom." (AP Photo/Slamet Riyadi)
Activists hold up posters during a rally against Indonesia's new criminal law in Yogyakarta, Indonesia, Tuesday, Dec. 6, 2022. The country's parliament passed the long-awaited and controversial revision of its penal code Tuesday that criminalizes extramarital sex for citizens and visiting foreigners alike. Writings on the posters read "Reject the revised penal code" and "Revised criminal law shackles press freedom." (AP Photo/Slamet Riyadi)


JAKARTA, Indonesia (AP) — Indonesia’s Parliament unanimously passed a long-awaited revision of the country’s penal code on Tuesday that criminalizes sex outside of marriage for citizens as well as foreigners, prohibits promotion of contraception and bans defamation of the president and state institutions.

The amended code also expands an existing blasphemy law and maintains a five-year prison term for deviations from the central tenets of Indonesia’s six recognized religions: Islam, Protestantism, Catholicism, Hinduism, Buddhism and Confucianism.

Citizens can face a 10-year prison term for associating with organizations that follow Marxist-Leninist ideology and a four-year sentence for spreading communism.

The code maintains the previous criminalization of abortion but adds exceptions for women with life-threatening medical conditions and for rape, provided that the fetus is less than 12 weeks old, in line with what is already provided in a 2004 Medical Practice Law.