The new law will take three years to come into effect
Sex outside marriage has been banned in Indonesia - for locals and tourists.
Anyone who is found guilty of breaking the new law puts themselves at risk of a year in prison.
Meanwhile couples living together who aren't married can be put behind bars for 6 months.
It will take three years to come into effect, but some Indonesians fear it'll scare tourists away from holiday spots like Bali.

Rescue Operation Continues After 160 Dead In Colombian Earthquake
Twenty People Believed To Have Been Killed In Major Earthquake In Cambodia
Six Killed In School Shooting Near Bangkok In Thailand
Reports Of Iran And Oman Working Towards Deal To Reopen Strait Of Hormuz
EU Home Affairs Ministers Meet To Discuss Protection Of Borders From Illegal Migration
Donald Trump Says "Board of Peace" Has Reached An Agreement For Disarment Of Hamas
Daniel Kinahan Set To Face Trial In Ireland
"All Of Europe" Could Be On Fire In Coming Days, Says EU Agency, As Two Firemen Die In Greece