Article 338 of the Algerian Penal Code
The UK Home Office note (July 2026, updated 19 August 2026) cites Article 338 of the 1966 Penal Code: up to two years in prison and a fine of 2,000 dinars for homosexual acts, for men and women alike.
Article 333 and public indecency
The same note refers to amended Article 333: public indecency between people of the same sex carries up to three years in prison and a fine of up to 10,000 dinars. A public display of affection can therefore have criminal consequences.
What Washington writes, in different terms
For the US Department of State (advisory of 25 August 2026), being gay or lesbian is not illegal, but consensual acts are. It cites six months to three years for "acts against nature" and two months to two years for a "homosexual act".
Two sources, penalties presented differently
The State Department's ranges, with fines of 500 to 10,000 dinars, do not exactly match the Home Office's presentation. Keep the shared essentials in mind: consensual acts between same-sex adults can lead to prison, and prosecution for indecency remains possible.
Entrapment through dating apps
The FCDO and the US Department of State warn that, in some countries, fake profiles are used to entrap LGBT+ people on popular apps and that meeting places are monitored. In Algeria, where these acts are criminalised, this risk must be taken very seriously.
Sextortion: threats to reveal your orientation to loved ones
A conversation that quickly turns intimate, a request for photos, then a threat to send them to your family or employer: this is the classic sextortion pattern. Do not pay, cut off contact, keep the evidence and talk to someone you trust.
Digital hygiene for LGBT+ Algerians
Use a pseudonym, no photos of your face or your neighbourhood, and switch off precise location. Protect your phone with a passcode, delete sensitive conversations and never share an image that could identify you.
Taimi and inclusive apps: at what cost?
Taimi presents itself as an app open to the whole LGBTQ+ spectrum, restricted to over-18s. Using it in Algeria exposes you to the risks described above: an unknown contact may be a trap. Never give your name or your address.
Alert a trusted friend before each Algerian date
Before any meeting, tell a trusted friend the time, the place and the supposed identity of the person, and agree on a check-in message. If anything seems wrong, leave immediately, even if it makes the situation awkward.
Foreign travellers and the embassy
Travellers should keep their embassy's contact details. If arrested, the US Department of State advises asking for the embassy to be informed; British consular services say they do not judge anyone. Americans can enrol free of charge in the STEP programme.
The situation in neighbouring Morocco
Morocco also criminalises consensual same-sex relations, according to the US Department of State. Before crossing the border or meeting a Moroccan partner, read our LGBT+ page on Morocco.
Other Algerian guides
The general framework, civil registration and security alerts are covered in the main guide to dating in Algeria. People leaving a heterosexual marriage will also find legal pointers in the page on Algerian divorce.
Official sources on the LGBT+ situation in Algeria
- Home Office britannique, note pays Algérie: Country policy and information note on sexual orientation in Algeria, citing Articles 333 and 338 of the Penal Code.
- FCDO, conseils pour l'Algérie: UK government safety section stating that same-sex acts are illegal.
- Département d'État, fiche Algérie: Level 2 advisory detailing penalties for homosexual acts and prosecutions for public indecency.
- Taimi: Inclusive LGBTQ+ app for over-18s, to be used with extreme caution in Algeria.
Reducing the risks as an LGBT+ person in Algeria
- Read the official British and American advice before any stay or meeting.
- Use a pseudonym and photos that show neither your face nor your neighbourhood.
- Verify a contact's identity in several ways before agreeing to meet.
- Tell a trusted friend the place and time of every date.
- Never pay in response to a threat to share images, and keep evidence of the blackmail.
- Carry the number of your embassy or consulate with you.
Legal status in Algeria according to the sources
| Key point | What the source says | Source and date |
|---|---|---|
| Same-sex sexual acts | Illegal | FCDO, accessed 9 October 2026 |
| Article 338 of the Penal Code | Up to 2 years in prison and DZD 2,000 | Home Office, July 2026 |
| Amended Article 333 | Up to 3 years and DZD 10,000 for public indecency | Home Office, July 2026 |
| Being gay or lesbian | Not illegal in itself, acts criminalised | US Department of State, 25 August 2026 |
| Recognition of couples | Not mentioned in our sources | Research of 9 October 2026 |
What to have for a stay
- Passport, with a copy kept separately
- Emergency number for the embassy or consulate
- Details of a trusted contact outside Algeria
- Travel insurance including legal assistance if possible
Careless moves with serious consequences
- Sending money or gift cards to a contact who threatens to reveal your orientation to your loved ones.
- Sharing photos in which your face, your home or your workplace can be recognised.
- Agreeing to meet in an isolated place with someone known only through an app.
- Showing affection in public in the belief that the law applies only to residents.
- Leaving your phone without a lock code, with private conversations and photos open to anyone.
Questions about homosexuality in Algeria
Is homosexuality illegal in Algeria?
Sexual acts between people of the same sex are, according to the UK government. The US Department of State specifies that being gay or lesbian is not illegal in itself, but that consensual acts are punished with prison sentences and fines.
What is the penalty for homosexuality in Algeria?
According to the Home Office, Article 338 provides for up to two years in prison and a 2,000-dinar fine, and Article 333 up to three years for public indecency. Washington cites six months to three years for acts against nature, and two months to two years for a homosexual act.
Does Algerian law apply to lesbians?
Yes. The Home Office, citing Human Dignity Trust, states that Article 338 of the Penal Code applies to men and women alike. The same precautions on discretion and data protection therefore apply to all LGBT+ people.
Is it risky to use a gay app in Algeria?
Yes. British and American authorities report that, in some countries, fake profiles are used to entrap LGBT+ people. In a country that criminalises these acts, a date can lead to blackmail or arrest.
Useful platforms and organisations
Rainbow Railroad – Crisis Response FundOrganisation helping LGBTQI+ people at risk reach safety, notably through an emergency crisis response fund.
Human Rights Watch – LGBT Rights in AfricaHuman Rights Watch analysis of progress and setbacks for LGBT people's rights in several African countries.
eSafety Commissioner – Reporting romance scamsResource from Australia's online safety regulator explaining where and how to report a romance scam.
Indicative list: AfriqueRencontres.com has no commercial link with these organisations. Never send money to someone you only know online.
Official sources
FCDO, conseils aux voyageurs LGBT+gov.uk
Département d'État, voyageurs gays et lesbienstravel.state.gov
Information up to date as of October 2026. AfriqueRencontres.com does not arrange meetings and never asks for money: never transfer money to someone you know only online.
