Where is sex before marriage illegal?
Indonesia is the latest country to ban sex outside of wedlock

Indonesia’s parliament has approved a new criminal code that bans sex outside of marriage, with a jail term of up to a year as punishment.
The new law “applies equally to locals and to foreigners living in Indonesia, or visiting holiday destinations such as Bali”, said the BBC.
Laws against sex outside of wedlock have also hit the headlines because Qatar, the host of the 2022 football World Cup, has a long-standing ban on sex between unmarried people.
Subscribe to The Week
Escape your echo chamber. Get the facts behind the news, plus analysis from multiple perspectives.

Sign up for The Week's Free Newsletters
From our morning news briefing to a weekly Good News Newsletter, get the best of The Week delivered directly to your inbox.
From our morning news briefing to a weekly Good News Newsletter, get the best of The Week delivered directly to your inbox.
Here are the countries that have legislated against sex outside of marriage.
Qatar
The nation’s “Zina laws” that criminalise unmarried sex are “based on Islamic legal tradition that classifies sex outside of marriage, pregnancy out of wedlock, and adultery as crimes that are punishable by imprisonment of up to one year”, said Read Nigeria Network.
After any sentence is served, the offender can be deported, according to UK government advice.
Saudi Arabia
In the Gulf state, the authorities require four people to have witnessed the actual act of extra-marital penetration. If this requirement is met, flogging is a common punishment.
A free daily email with the biggest news stories of the day – and the best features from TheWeek.com
However, noted Sky News, in 2019 the Saudis allowed foreign men and women to share hotel rooms without proving they are married “in a move away from its traditionally strict social code and in order to grow its tourism industry”.
The Philippines
Adultery is defined as consensual sexual intercourse between a married woman and a man who is not her husband, as well as a man cohabiting with a woman who is not his wife. Both are considered crimes under the Revised Penal Code of the Philippines, according to the Sexual Rights Initiative.
Iran
The Iranian Islamic penal code stipulates that “the penalty for fornication is flogging, that is 100 strokes of the lash, for unmarried male and female offenders”, according to Article 83, with stoning also on the statute book as a punishment.
However, noted IranWire, since 2013 Iranian judges have been permitted to “replace a sentence of stoning to death” with “execution by hanging at their discretion”.
Afghanistan
Taliban officials are using a manual that prohibits sex outside of marriage – which the penal code adopted by the previous government also prohibited, said Human Rights Watch.
In August 2010, a couple were stoned to death in Kunduz province in northern Afghanistan after being found guilty of adultery, reported The Guardian.
Pakistan
Premarital sex and adultery are crimes under the Hudood Ordinances, which sets a maximum penalty of death for adultery. However, it is believed that imprisonment and corporal punishment have been the most serious punishments imposed for the offence to date.
Sudan
Under the country’s Sharia law, premarital sex and adultery are punishable by stoning the accused to death.
In 2012 Intisar Sharif Abdallah, a mother of one, was found guilty of adultery and sentenced to death by stoning. However, noted Amnesty International, the court of appeal overturned the sentence and she walked free after charges were dropped at her retrial.
Egypt
A married woman who commits adultery can be imprisoned for up to two years, said the Sexual Rights Initiative. Any husband who commits adultery in the marital house can be jailed for up to six months.
In 2017 Doaa Salah, an Egyptian TV presenter, was sentenced to three years in prison for merely discussing premarital sex on TV, reported The Guardian. She was convicted of “outraging public decency” in conservative Egyptian society.
Malaysia
Legislation in Malaysia makes it illegal for unmarried Muslims to meet behind closed doors or engage in premarital sex, under the threat of up to six months in prison.
Sharia laws apply to Muslims, who account for nearly two-thirds of Malaysia’s population, in all personal matters. However, non-Muslims are covered by civil laws and are not subject to Islamic courts.
In 2009, 26 unmarried Muslim couples were arrested in hotel rooms during Operation Valentine. The following year, three Malaysian women were caned for having sex outside marriage, said The Guardian.
Chas Newkey-Burden has been part of The Week Digital team for more than a decade and a journalist for 25 years, starting out on the irreverent football weekly 90 Minutes, before moving to lifestyle magazines Loaded and Attitude. He was a columnist for The Big Issue and landed a world exclusive with David Beckham that became the weekly magazine’s bestselling issue. He now writes regularly for The Guardian, The Telegraph, The Independent, Metro, FourFourTwo and the i new site. He is also the author of a number of non-fiction books.
-
July 5 editorial cartoons
Cartoons Saturday’s political cartoons include an extrajudicial detainment camp, 'alligator Alcatraz', and tax cuts for billionaires.
-
5 explosively funny cartoons about the 4th of July
Cartoons Artists take on liberty and justice for all, a terrifying firework, and more
-
Jeff in Venice: a "triumph of tackiness"?
In the Spotlight Locals protest as Bezos uses the city as a 'private amusement park' for his wedding celebrations
-
IAEA: Iran could enrich uranium 'within months'
Speed Read The chief United Nations nuclear inspector, Rafael Grossi, says Iran could be enriching uranium again soon
-
One year after mass protests, why are Kenyans taking to the streets again?
today's big question More than 60 protesters died during demonstrations in 2024
-
Iran nukes program set back months, early intel suggests
Speed Read A Pentagon assessment says US bombing of Iranian nuclear sites only set the program back by months, not years. This contradicts President Donald Trump's claim.
-
Trump says Iran and Israel agreed to ceasefire
Speed Read This followed a night of Israeli airstrikes on Tehran and multiple waves of missiles fired by Iran
-
How developed was Iran's nuclear program and what's left now?
Today's Big Question Israel and the United States have said different things about Iran's capabilities
-
Trump gives himself 2 weeks for Iran decision
Speed Read Trump said he believes negotiations will occur in the near future
-
What would a US strike on Iran mean for the Middle East?
TODAY'S BIG QUESTION A precise attack could break Iran's nuclear programme – or pull the US and its allies into a drawn-out war even more damaging than Iraq or Afghanistan
-
US says Trump vetoed Israeli strike on Khamenei
Speed Read This comes as Israel and Iran pushed their conflict into its fourth day