Blue City Morocco: The Complete Travel Guide to Chefchaouen

Blue City Morocco featuring the beautiful blue and white houses of Chefchaouen spread across a mountainside, with colorful rooftops, traditional Moroccan architecture, green hills, and a spectacular sunset illuminating the Rif Mountains in the background.

When people talk about the Blue City of Morocco, they mean Chefchaouen, a small mountain town in the north of the country where almost every wall, door, staircase and alley is painted in shades of blue. From sky blue to deep indigo, the colors change with the light, and walking through the old medina feels like walking through a dream. It is one of the most photographed places in Africa.

We cover everything: where the Blue City is, a short history, the best things to do, the best viewpoints and photo spots, nature around the town, food to try, how to get there, how long to stay, where to sleep, and the local tips our team shares with every traveler. If you want to know more about the different theories behind the color, read our dedicated article Why is Chefchaouen blue?.

DetailInfo
NameChefchaouen, often called Chaouen
NicknamesThe Blue City, the Blue Pearl
LocationRif Mountains, northern Morocco
Founded1471
PopulationAbout 40,000 people
AltitudeAbout 600 meters
Distance from FesAbout 200 km, 3.5 to 4 hours
Distance from TangierAbout 115 km, 2.5 to 3 hours
Train?No; arrive by bus, car or private transfer
Time needed1 full day minimum, 2 nights recommended
Best seasonSpring and autumn

Chefchaouen sits on the slopes of the Rif Mountains in northwest Morocco, about two hours inland from the Mediterranean coast. The town is built at the foot of two peaks that look like the horns of a goat. That is where the name comes from: “chef chaouen” is often translated as “look at the horns” or “look at the peaks”.

It is between Tangier, Tetouan and Fes, which makes it easy to include in a trip through northern Morocco. Read our guide where is Chefchaouen in Morocco for maps and directions.

Chefchaouen was founded in 1471 by Moulay Ali ibn Rashid al-Alami, a descendant of the Prophet Muhammad, as a small fortress to resist Portuguese attacks on northern Morocco. After the fall of Granada in 1492, many Muslims and Jews fleeing Spain settled in the town, bringing Andalusian architecture, crafts and traditions. You can still see this heritage in the tiled roofs, the whitewashed walls and the small courtyards.

For centuries, Chefchaouen was a holy and closed town, and very few Europeans ever entered it. In 1920, Spanish troops took the town, and it remained under Spanish control until Moroccan independence in 1956. That is why many older people in Chefchaouen still speak Spanish today.

Nobody knows for sure. The most common explanation links the blue to the Jewish community, for whom blue represents the sky and heaven. Other theories say blue keeps mosquitoes away, keeps houses cool in summer, or represents water. Historical photos suggest the town was not always as blue as today, and the color became much more widespread in the 20th century, especially as tourism grew. Today, residents repaint their walls regularly, often before spring and important holidays. For the full story, read Why is Chefchaouen blue?.

Chefchaouen is not only a pretty backdrop; it is a living town with its own culture. It belongs to the Jebala region of the western Rif, where people speak a special northern dialect of Arabic and keep many rural traditions. In the countryside around the town, women often wear the mendil, a red-and-white striped cloth, and large straw hats decorated with colorful wool pompoms. You will see them on market days, selling vegetables, bread and goat cheese.

The Andalusian heritage is everywhere: in the tiled roofs, the small courtyards, the music and even in some family names. Life is slower here than in big cities. In the evening, families walk around the main square, children play in the alleys, and older men sit in front of the mosque chatting. For many visitors, this calm, friendly atmosphere is the real charm of the Blue City, even more than the color of the walls.

1. Get Lost in the Blue Medina

The best thing to do in Chefchaouen is simply to walk. The medina is small and safe, so getting lost is part of the fun. Climb staircases, discover hidden corners, and admire doors decorated with flowers and colorful pots. Notice how many different shades of blue there are: some walls are almost white with a hint of blue, others are deep cobalt or turquoise, and the colors change completely between the morning and the late afternoon.

2. Relax in Plaza Outa el-Hammam

The main square is the heart of the medina, surrounded by cafés and restaurants. It is a good place for a mint tea and people-watching, especially in the evening.

3. Visit the Kasbah

On one side of the square stands the reddish Kasbah, the old fortress built by the town’s founder. Inside, you will find an Andalusian-style garden, a small museum about local history and crafts, old prison cells and a tower with a great view over the rooftops. There is a small entrance fee.

4. Admire the Grand Mosque

Next to the Kasbah, the Grand Mosque is famous for its unusual octagonal minaret, inspired by Andalusian style. Non-Muslims cannot enter, but you can admire it from the square.

5. Walk to Ras El Maa

At the edge of the medina, Ras El Maa (“head of the water”) is the spring and small waterfall that gives the town its fresh water. Locals come here to relax, and you may see women washing carpets in the stream. Small cafés nearby serve fresh orange juice, and the sound of running water makes it a lovely place to rest after climbing the medina’s stairs.

6. Watch the Sunset From the Spanish Mosque

A 20 to 30-minute walk uphill from Ras El Maa takes you to the Spanish Mosque, a white mosque built during the Spanish period and now unused. From here, you get the most famous view of the blue town, especially beautiful at sunset. Bring a light jacket, because it can get windy and cool once the sun goes down, and a flashlight or phone light for the walk back down the path.

7. Photograph the Famous Blue Streets

Some streets are famous on social media, with blue stairs, potted plants and painted doors. Go early in the morning to enjoy them without crowds.

8. Shop for Local Crafts

Chefchaouen is known for woven blankets, wool djellabas, leather goods, woodwork and natural soaps. Prices are often more relaxed than in Marrakech, and bargaining is softer, with fewer pushy sellers.

9. Taste Local Goat Cheese

The Rif is famous for fresh goat cheese, called jben. Try it in salads, on bread with olive oil, or in a tagine.

10. Hike to Akchour Waterfalls and God’s Bridge

About 45 minutes by car from town, Akchour is a lovely natural area with turquoise pools, waterfalls and a natural rock arch called God’s Bridge. It is one of the best day hikes in northern Morocco.

11. Explore Talassemtane National Park

The national park around Chefchaouen protects forests of cedar, pine and the rare Moroccan fir. It offers great trails for hikers who want to discover the green side of Morocco.

12. Climb Jebel el-Kelaa

For fit hikers, the mountain above the town offers a challenging day hike with spectacular views over Chefchaouen and the Rif.

13. Stay in a Traditional Riad

Sleeping in a blue riad inside the medina, with breakfast on a rooftop terrace, is part of the Chefchaouen experience. Waking up to the call to prayer echoing between the mountains, with fresh bread, olive oil, goat cheese and mint tea in front of you, is one of the simple joys of a trip to the north.

14. Enjoy the Town at Night

After the day visitors leave, the medina becomes calm and special, with soft lights on blue walls. Read our guide to things to do in Chefchaouen at night.

15. Visit the Weekly Market

On market day, people from the surrounding Rif villages come to town to sell vegetables, cheese, honey and animals. Many women wear the traditional red-and-white striped skirts and big straw hats decorated with pompoms.

The medina is small, but the alleys turn and climb in every direction. Follow this simple route to see the highlights in about two to three hours, with time for tea and photos:

  1. Start at Bab el-Ain, the main gate on the lower side of the medina, where taxis and buses drop visitors.
  2. Walk up the main street lined with small shops selling blankets, leather and souvenirs.
  3. Arrive at Plaza Outa el-Hammam and visit the Kasbah and its garden.
  4. Look at the Grand Mosque and its octagonal minaret from the square.
  5. Climb through the upper medina, where the bluest and quietest streets are.
  6. Go down to Ras El Maa to see the spring and the little bridges.
  7. Walk up to the Spanish Mosque about an hour before sunset.
  8. Return to the square for dinner as the lights come on.

Do not worry about getting lost: walking downhill always brings you back toward the main streets and gates, and locals are happy to point the way.

SpotBest timeWhy
Spanish MosqueSunsetPanoramic view of the whole blue town
Kasbah towerMorningView over the square and rooftops
Ras El MaaLate afternoonWater, bridges and blue houses
Upper medina streetsEarly morningEmpty, colorful staircases
Rooftop terracesSunset or dinnerViews of the mountains and town

Photo etiquette: people live in these houses. Do not sit on private doorsteps, block streets, or photograph residents without asking. Some locals ask for a small tip if you pose in front of their decorated door; be respectful either way.

If you stay two nights, the hike to Akchour is the best day trip from the Blue City. The starting point is about 45 minutes by car from Chefchaouen, near a dam and a small river. From there, two main trails follow the river:

  • The waterfall trail: a walk of about one to two hours each way along the river, with pools, small cascades and a bigger waterfall at the end.
  • The God’s Bridge trail: a shorter walk of about an hour each way to a huge natural rock arch above the river, called Pont de Dieu or God’s Bridge.

The paths are uneven, with rocks, steps and sometimes river crossings, so wear good walking shoes or sandals that can get wet. In summer, the area is popular with Moroccan families who come to swim in the cool pools, and small cafés along the river serve tea, tagines and grilled food. In winter and spring, the river can be high after rain, and some parts of the trail may be closed or dangerous. Go with a local guide if you are not an experienced hiker. Learn more about the region’s nature in our guide to Morocco’s physical features.

Chefchaouen is the most famous, but it is not the only place in Morocco where blue plays a big role:

  • Asilah: a seaside town on the Atlantic with whitewashed walls, blue doors and colorful murals.
  • Essaouira: famous for its blue fishing boats and blue-and-white medina by the ocean.
  • Jardin Majorelle: the garden in Marrakech famous for its intense “Majorelle blue”. Read our guide to Jardin Majorelle.
  • Tetouan: a white medina near Chefchaouen, with Andalusian heritage and some blue details.

Good to know: outside Morocco, the city of Jodhpur in India is also called the “Blue City”. When you search online, make sure you are reading about Chefchaouen.

AreaBest forGood to know
Inside the medina, near the main squareFirst-time visitorsClose to everything, can be busier
Upper medina, near Ras El MaaViews and calmMore stairs, pretty terraces
Lower medinaEasy accessCloser to taxis and the bus station
Outside the medina wallsTravelers with a car, familiesParking and bigger rooms, a short walk to the old town

Most guesthouses inside the medina are small traditional houses with a few rooms and a rooftop terrace. Cars cannot enter the narrow streets, so ask your riad where to park and whether someone can meet you at the gate. In winter, always ask about heating and blankets.

DayMorningAfternoonEvening
Day 1Arrive and settle in your riadMedina walk, Kasbah and Grand MosqueSunset at the Spanish Mosque, dinner on the square
Day 2Early photo walk in empty streets, then Ras El MaaDay trip to Akchour waterfalls and God’s BridgeRelaxing evening in the quiet medina

With a third day, add a hike in Talassemtane National Park or a visit to the Rif villages around town.

ItemApproximate price
Mint tea in the square10 to 20 DH
Tagine in a local restaurant50 to 90 DH
Kasbah entranceSmall fee
Budget guesthouseFrom about 250 DH per night
Mid-range riadAbout 500 to 900 DH per night
Taxi to Akchour (return)Depends on negotiation and waiting time

Chefchaouen is generally cheaper than Marrakech for food and souvenirs. Prices in dirhams; read our guide to the Moroccan dirham.

FromBy busBy car or private transfer
FesAbout 4 to 5 hoursAbout 3.5 to 4 hours
TangierAbout 3 hoursAbout 2.5 to 3 hours
TetouanAbout 1.5 hoursAbout 1 to 1.5 hours
CasablancaAbout 6 hours or moreAbout 4.5 to 5 hours
MarrakechVery longAbout 8 to 9 hours

There is no train to Chefchaouen. Buses (CTM and others) arrive at the bus station below the medina, about 15 to 20 minutes on foot or a short taxi ride. Many travelers prefer a private transfer or join a tour, which allows stops on the way. See our day trip to Chefchaouen from Fes and our guide to traveling by train in Morocco.

TimeWhat you can do
Day tripMedina, Kasbah, Ras El Maa and a quick viewpoint, but long hours on the road
1 nightMedina, sunset at the Spanish Mosque and a calm morning
2 nightsEverything in town plus a day hike to Akchour
3 nights or moreHiking in Talassemtane, village visits and real relaxation

Our advice: stay at least one night. The town is completely different in the early morning and at night, when the crowds of day visitors are gone.

SeasonWeatherOur opinion
Spring (March to May)Mild, green, flowersThe best time
Summer (June to August)Warm, busy with visitorsNice evenings, crowded days
Autumn (September to November)Pleasant, calmerGreat for walking and hiking
Winter (December to February)Cold and often rainyQuiet and atmospheric; bring warm clothes

Chefchaouen is in the mountains, so nights can be cold for much of the year, and many guesthouses have limited heating in winter. See our guide to the weather in northern Morocco around Tangier.

  • Goat cheese (jben) with olive oil and bread
  • Bissara, a warm fava bean soup, good for breakfast in cold months
  • Tagines with local vegetables, lamb or goat
  • Fresh mint tea with mountain herbs
  • Local honey and amlou from the region
  • Comfortable shoes with good grip for the steep, sometimes slippery alleys
  • A warm layer or jacket, because mountain evenings are cool
  • A light rain jacket from October to April
  • Modest clothes that cover shoulders and knees
  • A reusable water bottle
  • A small day bag for hikes to Akchour or the Spanish Mosque
  • Cash in dirhams, because many small shops do not take cards
  • Shoot between 7 and 9 am, when the light is soft and the streets are empty.
  • Overcast days are great: the blue looks even richer without harsh shadows.
  • Look for contrasts: orange cats, green plants and red doors on blue walls.
  • Use the Spanish Mosque for wide views and the upper medina for close details.
  • Always ask before photographing people, especially women from the villages.

Chefchaouen is a calm and friendly place for families, and children usually love the colorful streets and the many cats. However, the medina is built on a hill, with many steps and steep alleys. Strollers are almost impossible to use, so bring a baby carrier. Older travelers can enjoy the lower medina, the main square and Ras El Maa without too much climbing, and take a taxi part of the way toward the Spanish Mosque viewpoint. Choose a riad in the lower medina if walking is difficult.

Chefchaouen is one of the safest and most relaxed towns in Morocco. Shopkeepers are usually less pushy than in big cities, and you can walk around the medina on your own, even in the evening. As anywhere, keep an eye on your belongings and use common sense.

Some people may offer you hashish in the streets of the north. Simply say no and walk on. Recreational cannabis use remains illegal in Morocco, and buying drugs can bring serious trouble. Also be careful with unofficial guides who offer to show you around and then ask for money; agree on any price before you start.

Chefchaouen’s popularity has grown fast, and in some streets residents now see crowds of visitors every day. You can help keep the town pleasant for everyone:

  • Do not climb on walls, sit on private doorsteps or move residents’ plant pots for photos.
  • Keep your voice low in residential alleys, especially early in the morning and late at night.
  • Buy from local artisans and eat in family-run restaurants.
  • Take your trash with you on hikes to Akchour and in the national park.
  • Dress modestly, out of respect for this traditional mountain town.
CityAtmosphereBest for
ChefchaouenCalm, small, mountain townPhotography, relaxing, hiking
FesAncient, busy, authenticHistory, crafts, the biggest medina
MarrakechLively, colorful, intensePalaces, gardens, nightlife
TangierCosmopolitan, coastalSea views, history, gateway to Europe
EssaouiraRelaxed, windy, seasideBeach, seafood, art

Most travelers love Chefchaouen as a peaceful break between busy cities. After the noise of Fes or Marrakech, a couple of nights in the Blue City feel like a holiday within the holiday.

One of the most popular routes in Morocco connects the north and the south in a single trip. Many travelers arrive in Tangier by plane or by ferry from Spain, spend a night or two in Chefchaouen, then continue to Fes, the spiritual capital of the country. From Fes, the road crosses the Middle Atlas, with its cedar forests and monkeys, and follows the Ziz Valley down to the golden dunes of Merzouga, where you can ride a camel and sleep in a desert camp.

After the desert, the route continues west through the Todra and Dades gorges and the kasbahs of Ouarzazate to Marrakech. In about 8 to 10 days, you can see the blue of the north, the gold of the Sahara and the red of Marrakech. Read our guides where is Tangier and how far is Merzouga from Chefchaouen to plan your route.

MistakeFix
Visiting only as a long day tripStay at least one night
Arriving at midday for photosGo out early in the morning
Sitting on private doorsteps for photosRespect residents’ homes
Wearing beach clothesDress modestly in a conservative mountain town
Expecting a trainPlan a bus, car or transfer
Ignoring the cold nightsBring warm layers, especially in winter
  • The Blue City is Chefchaouen, in the Rif Mountains
  • Founded in 1471
  • Top sights: medina, Kasbah, Ras El Maa, Spanish Mosque
  • Nature: Akchour waterfalls and Talassemtane
  • About 3.5 to 4 hours from Fes, 2.5 to 3 hours from Tangier
  • No train; take a bus or private transfer
  • Stay at least one night

What is the Blue City in Morocco?

Chefchaouen, a mountain town in northern Morocco famous for its blue-painted medina.

Why is Chefchaouen blue?

There is no single answer. Theories include Jewish tradition, keeping mosquitoes away, keeping houses cool and representing water.

How far is the Blue City from Fes?

About 200 km, around 3.5 to 4 hours by car.

How far is Chefchaouen from Tangier?

About 115 km, around 2.5 to 3 hours by car.

Is there a train to Chefchaouen?

No. You can reach it by bus, car or private transfer.

Is one day enough in Chefchaouen?

One day is enough for the main sights, but one or two nights are better.

Is Chefchaouen safe?

Yes, it is one of the most relaxed towns in Morocco for travelers.

What is the best time to visit Chefchaouen?

Spring and autumn, when the weather is mild and the countryside is green.

What does Chefchaouen mean?

It is usually translated as “look at the horns” or “look at the peaks”, after the two mountain peaks above the town.

Can I visit Chefchaouen and the Sahara in one trip?

Yes. Many itineraries combine Chefchaouen and Fes with a desert trip to Merzouga. See how far Merzouga is from Chefchaouen.

Related reading: Travel from Marrakech to Chefchaouen

Want to include the Blue City in your Morocco trip? Contact us and we will plan a route from Fes, Tangier or Casablanca, with Chefchaouen and the Sahara in the same journey.


Tours from Marrakech: Start in the red city and travel north through the imperial cities to the blue streets of Chefchaouen, or go south to the golden dunes of the Sahara: two colors of Morocco in one trip.

Morocco Desert Tours: From the blue walls of Chefchaouen to the orange dunes of Merzouga: combine the Blue City with a night in a Sahara desert camp for the most colorful Morocco adventure.

Tours from Fes: Chefchaouen is only a few hours from Fes. Spend a night in the Blue City, then return to Fes and continue through the Middle Atlas to the Sahara.

Tours from Ouarzazate: From the red kasbahs of the south to the blue medina of the north, we design routes that cross the whole country, from the desert to the Rif Mountains.

Tours from Tangier: The Blue City is the perfect first stop after Tangier. Enjoy Chefchaouen, then continue to Fes, the Middle Atlas and the dunes of Merzouga.

Tours from Casablanca: Land in Casablanca, drive north via Rabat to the blue streets of Chefchaouen, and let us plan the rest of your route to Fes and the desert.

Name
Lahcen Saadi, a professional local guide from the Exploring Morocco Trips team, in traditional attire in front of a 4x4 in the Sahara dunes

Your Local Experts

Our Moroccan team organizes private tours from every major city in Morocco: Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir, Ouarzazate and more. Wherever you land, we pick you up and design your trip around your dates and interests.

Scroll to Top