Flight boards

Karibu Tanzania. An independent guide to every airport in Tanzania and Zanzibar, checked against official sources.

Dress and conduct

Zanzibar Dress Code: What to Wear, Where, and the Rules Behind It

Dress modestly everywhere in Zanzibar except on the beach and inside your hotel: cover your shoulders and knees in Stone Town, villages and markets. The UK government says Zanzibari authorities can fine visitors USD 700 or more for clothing they consider inappropriate in public. The Zanzibar Commission for Tourism asks that beachwear stay on beaches and in hotel compounds, and the rules tighten during Ramadan.

  • USD 700+fine for inappropriate dress (UK)
  • 98%of Zanzibaris are Muslim
  • 7 Feb 2027Ramadan expected to start (Canada)
Narrow street in Stone Town, Zanzibar

Zanzibar is a semi-autonomous part of Tanzania with its own government, and its population is almost entirely Muslim: about 98%, according to Wikipedia’s article on the islands. That is the background to a dress code that is stricter than on the mainland and that the authorities enforce with fines. The rules are simple once you know where they apply: the beach and your hotel on one side, everywhere else on the other.

This page sets out what the UK and Canadian governments and the Zanzibar Commission for Tourism (ZCT) say, without adding rules they do not state.

Plan the rest of your Zanzibar stay

What is the dress code in Zanzibar

Cover your shoulders and knees in public places, and keep swimwear for the beach and hotel grounds. That is the common line of the three official sources:

Source What it says Date
UK government (FCDO) Dress modestly throughout Tanzania. Women in shorts or sleeveless tops away from tourist resorts in Zanzibar and Pemba, particularly Stone Town, may cause offense Page current in Nov 2026
Government of Canada In Zanzibar, dress conservatively, behave discreetly and respect religious and social traditions. Women should cover their shoulders and not wear shorts Updated 30 Oct 2026
Zanzibar Commission for Tourism Visitors and residents should dress modestly in public areas; beachwear or revealing clothing should be confined to beaches and hotel compounds Notice of 11 Feb 2026, reported by The Citizen

The ZCT notice was issued ahead of Ramadan 2026, but its dress line describes the standard that applies all year: public areas on one side, beaches and hotel compounds on the other.

Good to know: neither government publishes a separate dress rule for men beyond dressing modestly. In practice that means a shirt in town and long trousers or knee-length shorts, not swimming shorts.

Fines for inappropriate dress in Zanzibar

The UK government says Zanzibari authorities can fine visitors USD 700 or more for clothing they consider inappropriate in public. For guides and tour operators, the fine can be at least USD 1,000. The guide fine matters for visitors too: it gives your guide a reason to ask you to change before a town walk.

Press reports since 2025 have given other amounts and conditions, and they do not agree with each other. This page uses only the UK figures, the one official statement of the fines we could read. We found no published list of which garments count as inappropriate. The authorities decide case by case, which is a reason to dress on the cautious side.

By our calculation, a USD 700 fine is more than 15 times the USD 44 inbound travel insurance an adult visitor pays for Zanzibar, set out on our Zanzibar travel insurance page. A pair of long trousers is the cheaper option.

Stone Town vs beaches: where the rules change

The line runs between public areas and the beach or hotel compound, not between islands or seasons. Stone Town is where official advice is most explicit: the UK names it as the place where shorts and sleeveless tops are most likely to cause offense.

  • Stone Town: streets, markets, the waterfront, museums and shops are public areas. Cover shoulders and knees. Our Stone Town guide covers the sights.
  • Villages near the beaches: Nungwi, Kendwa, Paje and Jambiani are villages as well as beach areas. Once you leave the sand for a shop, a street or a restaurant outside your hotel, the public-area standard applies. See Nungwi and Paje.
  • The beach itself: the ZCT allows beachwear there. That does not extend to the path or road behind it.
  • Your hotel or resort: beachwear is accepted in hotel compounds. Each hotel may still have its own rules for its restaurant or lobby.
  • The airport and ferry terminals: these are public places. Arrive dressed for town, and pack the swimwear. The Zanzibar airport arrivals guide covers the formalities on landing.

Pemba is covered by the same UK warning as Zanzibar island (Unguja); see Pemba Island.

Three settings, three standards

Stone Town, villages, markets

Public areas
What official advice says
Dress modestly; shorts and sleeveless tops may offend (UK)
Practical standard
Shoulders and knees covered
Swimwear
No

Beaches

Tourist beaches
What official advice says
Beachwear confined to beaches and hotel compounds (ZCT)
Practical standard
Swimwear on the sand; cover up to leave it
Swimwear
Yes, on the beach

Hotel and resort grounds

Private
What official advice says
Beachwear allowed in hotel compounds (ZCT)
Practical standard
Follow the hotel’s own rules
Swimwear
Yes, in the grounds

What to wear in Zanzibar: a packing list

Pack light, loose clothes that cover you, plus a cover-up for the beach. The coast is hot all year, so breathable fabrics matter more than layers. The decision table below applies the official advice to common situations; it is our reading of the rules, not an official text.

If you are going to… Then wear… Because
Walk around Stone Town Long trousers or skirt, a top with sleeves UK names Stone Town; Canada asks women not to wear shorts
Swim or sunbathe Swimwear, on the beach only ZCT: beachwear confined to beaches and hotel compounds
Walk from the beach to a village shop A cover-up or sarong over swimwear The street is a public area
Visit a mosque, if visitors are admitted Long clothes, shoulders covered; a scarf for hair Respect for religious areas (UK)
Travel during Ramadan The same, applied strictly UK and ZCT ask for extra care in the holy month
Take a spice farm or village tour Town clothes, not beachwear Tours pass through public areas, and guides face fines

For the rest of the trip, including safari and Kilimanjaro, see what to pack for Tanzania.

Clothes that cover every setting
  • Loose long trousers or a long skirt for town days
  • Shirts or tops with sleeves that cover the shoulders
  • A light scarf or wrap to cover shoulders, or hair at a mosque
  • A cover-up or sarong to wear over swimwear off the beach
  • For men: long trousers or knee-length shorts, and a shirt, in town
  • Light, breathable fabrics: the coast is hot all year

Visiting mosques in Zanzibar

Neither the UK nor Canada publishes mosque rules, so ask before you enter. The UK’s advice is general: respect local traditions, and make sure your actions do not cause offense, especially during Ramadan or if you intend to visit religious areas. We found no official statement on which mosques admit non-Muslim visitors.

What follows from that advice, in practical terms:

  • Ask your guide, or someone at the entrance, whether visitors may enter and when.
  • Dress as for town, with shoulders and knees covered; carry a scarf that can cover your hair.
  • Avoid the times of prayer unless you are told visitors are welcome.
  • Ask before taking photographs, inside or of people outside. Canada advises always asking permission before photographing individuals anywhere in Tanzania.

Ramadan in Zanzibar: what changes for visitors

During Ramadan, do not eat, drink or smoke in public in daylight, outside hotels and restaurants. The UK and Canada both give this advice, and Canada expects Ramadan 2027 to begin on or around 7 February 2027; the dates move each year with the lunar calendar.

The Zanzibar Commission for Tourism’s public notice of 11 February 2026, ahead of Ramadan 2026, set out the rules for tourism businesses:

  • Restaurants and food outlets outside hotels stay closed in daylight and reopen after sunset for iftar.
  • Hotel food and drink service is limited to registered guests and provided within the premises.
  • Eating, drinking and smoking in public are restricted in the daytime.
  • Visitors and residents should dress modestly in public areas, with beachwear kept to beaches and hotel compounds.
  • Operators must inform staff and guests and display the notice.

The Citizen’s report on the notice did not mention alcohol sales, music or penalties. A new notice is likely before Ramadan 2027, but none had been published when we checked. Our Ramadan in Zanzibar page covers the month in detail.

A Ramadan day, by the official guidance
  1. Daylight: no eating or drinking in public

    Canada asks you to be discreet when eating, drinking or smoking in public between sunrise and sunset.

  2. Eat in your hotel

    Under the 2026 ZCT notice, hotel food and drink service is for registered guests, inside the premises.

  3. Restaurants outside hotels close by day

    The 2026 ZCT notice asked them to stay closed in daylight and reopen after sunset for iftar.

  4. Dress modestly in public

    Beachwear and revealing clothing stay on beaches and in hotel compounds, as the rest of the year, applied more closely.

Alcohol in Zanzibar

Alcohol is available in Zanzibar, but the official advice says it may be limited in some places and at some times. Canada’s travel advice puts it in those terms for the whole of Tanzania, without naming the places or times. The UK’s Ramadan advice and the 2026 ZCT notice point to the holy month as one such time.

  • Drink in hotels, resorts and licensed bars and restaurants, not in the street.
  • Do not bring alcohol on the Dar es Salaam ferry: Azam Marine’s conditions say alcohol is restricted on board. See Dar es Salaam to Zanzibar.
  • Duty-free allowances for arriving travelers are on our customs allowances page.

Public displays of affection and LGBT+ travelers

The UK government says showing affection in public, such as holding hands or kissing in public places, could lead to arrest or prison. Its warning appears in its advice for LGBT+ travelers, but the conduct it describes applies to any couple who want to avoid trouble.

The legal facts, as the three governments state them:

Government What it says Date
United Kingdom Same-sex sexual activity is illegal in Tanzania, including Zanzibar; same-sex relationships are not tolerated in Tanzania’s conservative society Page current in Nov 2026
Canada Tanzanian law prohibits sexual acts between people of the same sex, with up to life imprisonment and possibly a fine; 2SLGBTQI+ people have faced harassment and arbitrary arrests and searches Updated 30 Oct 2026
United States Level 2 advisory citing, among other reasons, the targeting of LGBTQ individuals 16 Oct 2026

Canada asks 2SLGBTQI+ travelers to carefully consider the risks of travelling to Tanzania. The UK also notes that the police may check phones, and that sharing images that “cause panic or degrade a person’s dignity” has been called an offense. The full summary of the advisories is on is Tanzania safe.

Do

  • Keep affection private, for all couples
  • Read the UK and Canadian advice before you book
  • Carry a copy of your passport photo page and visa (UK)
  • Ask permission before photographing people (Canada)

Don’t

  • Hold hands or kiss in public places: the UK says it can lead to arrest
  • Post about local politics or protests online (UK)
  • Photograph airports, bridges or government buildings (Canada)
  • Assume resort norms apply in town

Common mistakes with the Zanzibar dress code

Most problems come from crossing the line between beach and town without changing. These are the situations the official rules point to most often:

  • Walking off the beach in swimwear. The ZCT allows beachwear on beaches and in hotel compounds only; the village street behind the beach is a public area.
  • Arriving in Stone Town dressed for the beach. Transfers from the airport or the ferry drop you straight into public streets. Travel in town clothes.
  • Assuming the rule is only for women. Canada’s specific advice is addressed to women, but the UK asks everyone to dress modestly throughout Tanzania.
  • Eating a snack on the street in Ramadan. The UK and the 2026 ZCT notice ask visitors not to eat, drink or smoke in public in daylight during the month.
  • Photographing people without asking. Canada advises always asking first, and warns that photographing public buildings, including airports, has led to detentions.
  • Leaving your passport copy at the hotel. The UK says officials or police can ask for ID at any time; carry a copy of your passport photo page and visa.

How we checked this page

We used the British and Canadian governments’ travel advice for Tanzania for the dress, Ramadan, alcohol, affection and photography rules and for the fine amounts, the US State Department’s advisory for its level and reasons, the Zanzibar Commission for Tourism’s 2026 Ramadan notice as reported in Tanzanian national press, an encyclopedia article for Zanzibar’s population and status, and the Dar es Salaam ferry operator’s published conditions. Press reports of other fine amounts were read and left out because they disagree with each other and with the official figure. The comparison with the insurance price is our own arithmetic.

Quick answers

What should I wear in Zanzibar?

In Stone Town, villages and markets, wear clothes that cover your shoulders and knees: long trousers or a long skirt and a top with sleeves. The UK says women in shorts or sleeveless tops away from tourist resorts may cause offense. Swimwear is for the beach and your hotel grounds only, as the Zanzibar Commission for Tourism’s 2026 notice states.

Is there a dress code in Zanzibar?

Yes. Zanzibar is about 98% Muslim, and both the UK and Canada ask visitors to dress conservatively. The UK says Zanzibari authorities can fine visitors USD 700 or more for clothing they consider inappropriate in public, and guides or tour operators at least USD 1,000. The Zanzibar Commission for Tourism asks that beachwear stay on beaches and in hotel compounds.

Can I wear shorts in Stone Town?

It is better not to. Canada advises women to cover their shoulders and not to wear shorts in Zanzibar, and the UK names Stone Town as the place where shorts and sleeveless tops are most likely to cause offense. Men are asked to dress modestly too; long trousers or knee-length shorts with a shirt are the safe choice.

Can you wear a bikini in Zanzibar?

Yes, on the beach and inside hotel and resort grounds. The Zanzibar Commission for Tourism’s notice of 11 February 2026 says beachwear or revealing clothing should be confined to beaches and hotel compounds. Put on a cover-up or sarong before walking into a village, a shop or a street.

Is Zanzibar safe for gay couples?

Official advice is cautious. The UK says same-sex sexual activity is illegal in Tanzania, including Zanzibar, and that showing affection in public, such as holding hands or kissing, could lead to arrest. Canada says the law provides for up to life imprisonment and reports arbitrary arrests. The US advisory of 16 October 2026 cites the targeting of LGBTQ individuals.

What are the rules during Ramadan in Zanzibar?

Avoid eating, drinking and smoking in public during daylight, outside hotels and restaurants. For Ramadan 2026, the Zanzibar Commission for Tourism asked restaurants outside hotels to close in the day and reopen after sunset, and limited hotel food service to registered guests. Canada expects Ramadan 2027 to begin on or around 7 February.

Is alcohol allowed in Zanzibar?

Yes, but not everywhere or at all times. Canada’s travel advice says the sale and consumption of alcohol may be limited in certain regions and at certain times of the year. Hotels, resorts and licensed bars serve it; avoid drinking in public streets, and expect stricter limits during Ramadan.