On the morning of 2 August 2027, the Moon’s shadow will sweep across northern Morocco, turning day briefly into night over Tangier, Tetouan and the Rif coast. Many eclipse chasers have already chosen this corner of the country as their base. The next question is where, exactly, to stand when the sky darkens. In a city of hills, kasbah walls, sweeping beaches and mountain roads, small choices of location will shape how you experience nearly five minutes of totality.
Get the latest updates straight to your inbox!

How the path of totality crosses northern Morocco
The 2027 total solar eclipse will cross southern Spain, skim the Strait of Gibraltar and then enter northern Morocco before continuing across North Africa and the Middle East, according to eclipse maps derived from NASA and National Solar Observatory data. The key for travelers is that only a relatively narrow band, the path of totality, will see the Sun fully covered. Within this band, cities such as Tangier and Tetouan lie firmly inside the zone of totality, while areas just outside it will see only a deep partial eclipse.
Recent interactive eclipse resources confirm that Tangier sits inside the path with totality approaching five minutes, and that Tetouan and nearby coastal resorts like Martil are even closer to the center of the shadow, with similarly long or very slightly longer durations. Eclipse city lists that draw on NASA calculations show Tetouan with roughly four minutes fifty seconds of totality, depending on the exact point in or near the city. These are extraordinary durations by global standards, far longer than many total eclipses.
Just a short distance away, however, the experience changes. National and international eclipse guides note that Rabat, further down the Atlantic coast, lies outside the path of totality and will see only a very deep partial event. The same is true for cities even farther south such as Casablanca and Marrakech. This sharp contrast, despite a few hundred kilometers of separation, underlines how important it is to place yourself correctly inside northern Morocco’s eclipse corridor.
Within the path itself, small differences also matter. The centerline is an imaginary curve across the map where the eclipse lasts longest. Towns and beaches closer to this central track, especially between Tetouan and the Martil coast, gain tens of seconds of extra darkness relative to locations nearer the path’s northern or southern edges. In practice, though, these gains are marginal compared with the need for a clear sky and an unobstructed view of the Sun.
Why a few kilometers can change your eclipse
For travelers who have not chased an eclipse before, it can be surprising that simply standing in the “right city” is not always enough. The path of totality has two boundaries, usually plotted as soft curves on a detailed map. Inside them, the Sun is briefly covered completely. Step across one of these curves and the Sun remains as a bright crescent, no matter how small. That means a hotel on the south side of a town may be inside the path, while a suburb to the south could miss totality entirely.
Authoritative online tools let you zoom in on northern Morocco, overlay the path and centerline, and tap or click on exact locations to read the predicted totality duration. These tools, which draw on calculations from eclipse specialists associated with NASA, show that moving even five kilometers toward the centerline around Tangier or Tetouan can add several seconds of totality. In contrast, moving ten or fifteen kilometers toward the edge of the path can subtract similar amounts or, at the extreme, take you out of totality.
Duration is not the only concern. The geometry of the eclipse means that in Tangier and Tetouan the Sun will be well above the horizon during totality, so local horizon obstructions come mainly from terrain and buildings rather than low altitude. Because the eclipse occurs in the morning, any sea haze or low cloud over the Atlantic or Mediterranean can also matter. Being able to adjust your position by a few kilometers at short notice, for example from the seafront to a nearby inland rise, can be at least as valuable as squeezing out an extra ten seconds of darkness on paper.
Experienced eclipse planners therefore recommend using duration maps as a guide, but prioritizing clear skies, safe access and flexible transport. In northern Morocco that often means basing yourself in a town such as Tangier or Tetouan with good roads in several directions, then choosing a specific viewing area on eclipse morning based on conditions rather than committing to a single fixed point years in advance.
Reading eclipse maps and using them for Tangier
Eclipse maps can look intimidating at first glance, but the main features are straightforward. Across northern Morocco you will see two gently curving lines that mark the northern and southern limits of totality. Between them lies a shaded band. In the middle of that band runs the centerline, often drawn as a darker or thicker curve. Tangier appears within this band, while Rabat and Casablanca fall outside it. That visual distinction is the single most important factor in deciding where to travel.
Interactive maps allow you to enter coordinates or zoom in on neighborhoods, beaches and mountain roads. When you tap on a location near Tangier, Tetouan or Martil, a small information box usually appears, giving the local time when totality begins and ends and the duration in minutes and seconds. If the map reports “partial eclipse only” or indicates a magnitude less than one, you are outside the path of totality and should choose a different spot.
The centerline matters for travelers hungry for every possible second of darkness. Around Tetouan and the M’diq–Martil coast, this line passes close to the shore, which is why those areas are often highlighted in recent planning articles as having slightly longer totality than Tangier itself. The gain may only be several seconds, but photographers and dedicated eclipse chasers may decide it is worth traveling from Tangier to be near that central track.
For most visitors, however, the message is simple. Once you have confirmed that your viewing spot is inside the boundaries of totality and offers at least around four and a half minutes of darkness, the difference between locations is subtle. Open sky, low horizons and a comfortable, safe place to stand or sit will shape your memory of the event more than whether your totality lasts four minutes forty seconds or four minutes fifty.
Viewing areas in Tangier: hills, kasbahs and the seafront
Tangier itself sits on a series of hills overlooking the Strait of Gibraltar and the Atlantic, with the old kasbah and medina occupying a ridge above the port and modern districts spreading along the bays. Eclipse timing tables built from NASA data indicate that the city can expect totality on the order of four minutes fifty seconds from suitably located vantage points. The question becomes how to choose among the many viewpoints the city offers.
Elevated viewpoints around the kasbah and on accessible hills are likely to be among the most atmospheric places to watch. Public lookouts that normally draw visitors for sunset views across the water will, on eclipse morning, offer wide sky, dramatic light changes over sea and city, and a sense of shared spectacle. Their advantages include clear horizons above the built-up core and relative ease of access on foot from central accommodation. On the other hand, these same qualities make them magnets for crowds, and local authorities could restrict vehicle access or create controlled viewing zones, so flexibility and early arrival will be important.
Along the city’s seafront Corniche and main beaches, the eclipse will unfold over a broad marine horizon. The long, open waterfront gives many potential viewing lines with minimal buildings in the way, and there is likely to be a festival atmosphere, especially if municipal organizers host public events. Early August mornings on the Atlantic coast can, however, bring patches of haze or low cloud, and open sand or promenades offer little shade or seating during the lead-up. Crowding and traffic management along the main coastal boulevard are also likely, and visitors should be prepared for possible restrictions on parking or on gathering at certain stretches.
Private terraces and rooftop riads or hotels will appeal to travelers who prefer a calmer experience. Many traditional properties in and around the medina offer roof platforms with sweeping views over the city and bay. These spaces can provide security, controlled access and amenities such as refreshments and restrooms, but they are capacity-limited and may be reserved for overnight guests or sold as special eclipse packages. Relying on a private terrace also means accepting the particular horizon it offers; some roofs have parapet walls or nearby buildings that could block part of the sky, so it is worth confirming the sightlines in advance or on arrival.
Beyond the center: open spaces around Tangier
Another option is to watch from open areas just outside Tangier’s most densely built neighborhoods. Parks on higher ground, the surroundings of sports stadiums and safe roadside pull-offs on the main approaches into the city can offer wider horizons and lower crowd density while keeping you close to urban infrastructure. Satellite imagery and street-level photography are valuable tools for scouting such locations in advance, but conditions and accessibility can change, so local verification closer to 2027 is recommended.
These semi-urban sites have several advantages. Road access can be easier than in the medina or along the Corniche, and there may be more flexibility to reposition your vehicle or walk a short distance to dodge localized haze or cloud. Parking space can be better, at least away from main junctions, and some areas around stadiums or civic parks may be designated by authorities as organized viewing zones if official plans emerge. The trade-off is that facilities may be basic and shade limited, and you should ensure that any roadside pull-off is genuinely safe, off the carriageway and not on private or agricultural land.
Travelers who are comfortable navigating outside the city may consider heading a little way inland from Tangier toward rolling countryside or low hills in the direction of Tetouan or Chefchaouen. Interior sites may experience slightly different morning cloud patterns compared with the immediate coast, which could be a benefit if marine haze is an issue. At the same time, narrow rural roads, limited emergency services and unclear land ownership require extra care. What looks like an empty field from above may be active farmland or private property, so advance consultation with local drivers or guides will be important.
Whether you remain in the city or move outward, it is wise to identify a primary and a backup area, both well inside the path of totality. Totality duration near Tangier is generous enough that moving a modest distance to escape local clouds will rarely reduce your experience meaningfully, provided you stay within the path boundaries shown on reliable eclipse maps.
Alternative bases: Tetouan, Martil coast, Chefchaouen and Asilah
While Tangier offers a compelling combination of transport links and urban energy, several nearby towns within the path of totality make attractive alternatives or backup bases. East along the Mediterranean coast, Tetouan and the neighboring beach resorts of M’diq and Martil sit close to the centerline indicated on recent eclipse maps. Sources that aggregate NASA data note that totality here is very slightly longer than in Tangier, reaching around four minutes fifty seconds or a little more in places such as Martil. This area combines long totality with resort-style accommodation and easy access from Tangier by highway.
Further inland, the blue-painted mountain town of Chefchaouen lies in the Rif and is also inside the path, listed by eclipse planners as a viable totality location. Its higher elevation and inland position give it a different cloud profile from the coastal strip, and some climatological analyses suggest that parts of the Rif have relatively favorable early August sky conditions. The trade-off is topography: narrow valleys and steep slopes can restrict horizons, especially if you are deep in the old town. Many visitors may prefer nearby ridges or open viewpoints slightly above the built-up center to ensure a broad sky.
Southwest along the Atlantic coast from Tangier, smaller towns like Asilah lie inside the path of totality according to several national eclipse maps. As a lower-rise, more compact town than Tangier, Asilah offers quieter beaches and a relaxed medina atmosphere. Totality durations here are a little shorter than the maximum in northern Morocco but still robust, and the town may appeal to travelers seeking a smaller-scale coastal experience with less intense crowding, while remaining reachable from Tangier’s airport and port.
Farther east, ports such as Al Hoceima on the Mediterranean coast appear in some eclipse guides as being within or near the path of totality. For visitors starting from Tangier, however, the distance along winding coastal and mountain roads makes Al Hoceima a more committed itinerary choice rather than a simple day-of pivot. If you are considering it, treat it as a separate base with its own accommodation and transport plan rather than as a backup for Tangier itself.
Comparing Tangier with nearby eclipse bases
Although detailed numbers differ slightly between sources, recent city-by-city eclipse summaries and Morocco-focused guides allow for a qualitative comparison among the main northern bases. Tangier and Tetouan–M’diq–Martil sit near the long-duration heart of the Moroccan track, while Chefchaouen and Asilah offer somewhat shorter yet still substantial totality. Early August climatology across the region typically indicates relatively dry, clear mornings along the Mediterranean and much of the Atlantic coast, with local variations due to marine haze, mountain cloud buildup and valley microclimates.
Access is another differentiator. Tangier combines an international airport, major ferry connections and good highway links to Rabat and Fez, plus a wide range of accommodation from budget guesthouses to large hotels. Tetouan and the Martil coast are reachable from Tangier by road, potentially within a couple of hours depending on traffic, and serve as established holiday areas with significant hotel capacity. Chefchaouen, though hugely popular with tourists, is smaller and reached by sinuous mountain roads, which may be congested around eclipse day. Asilah, closer to Tangier on the Atlantic coast, has more limited accommodation but benefits from straightforward rail and road connections.
Crowd expectations will likely track these patterns. Tangier, as the best-known hub, may attract significant numbers of international eclipse travelers as well as visitors from within Morocco. Tetouan and the Martil resorts can expect busy beaches and promenades, especially if local authorities promote the event as a summer highlight. Chefchaouen already draws high-season crowds, and its compact size suggests that central viewpoints may fill early. Asilah may offer a calmer feel, though any town inside the path with good access from Tangier can see a surge in demand once awareness spreads.
Writers preparing a guide for readers may find it helpful to summarize key contrasts in a simple comparison table. Tangier would score strongly for ease of access and overall capacity, with an approximate totality duration band close to five minutes and generally favorable early August morning skies, offset by higher crowd potential. Tetouan and M’diq–Martil could be highlighted for centerline proximity and beach-resort atmosphere. Chefchaouen might be presented as an inland alternative with different cloud tendencies but more restricted horizons. Asilah can round out the table as a smaller Atlantic town combining decent totality, easier access than more distant coastal options and more modest scale.
Safety, legality and evolving local plans
Wherever you decide to watch the eclipse, safety and respect for local regulations are crucial. Travelers must avoid blocking roads, motorway shoulders and emergency access routes, even if those spots appear to offer good views. Stopping on live carriageways or narrow mountain bends is both dangerous and likely to be prohibited. Similarly, it is important not to trespass on private land such as farms, fenced plots or construction sites without explicit permission, regardless of how empty they may look from a distance.
Coastal cliffs and unfinished buildings, which can seem attractive for their wide horizons, also present risks. Erosion, unstable ground and a lack of barriers make some cliff edges hazardous, especially when crowds are focused on the sky rather than their footing. Unfinished or abandoned structures may not meet safety standards and could be off-limits under local regulations. Visitors should select stable, legal ground, use established paths and follow any warnings issued by municipal or national authorities.
Official planning for August 2027 is likely to evolve as the date approaches. Given the rare combination of long totality and accessible locations, it would not be surprising if Moroccan authorities, regional tourism boards and city councils around Tangier, Tetouan and popular beaches designate specific public viewing zones or host organized events. These could include extra public transport, temporary parking areas or crowd-control measures along seafronts and at key viewpoints. Travel writers should check with tourism offices and municipal announcements in the years and months before the eclipse and update guidance with any confirmed plans.
On an individual level, eclipse safety also involves proper eye protection for all partial phases, obtained from reputable suppliers that meet recognized standards. Totality itself is safe to view with the naked eye, but only between the moments when the Sun is completely covered. Clear communication about when to use and when to remove eclipse glasses will be essential, especially in large public gatherings that may include first-time observers.
Choosing between Tangier and its northern neighbors
For many travelers, the final decision will be whether to base in Tangier with its cosmopolitan energy and extensive services, or to target a smaller town or inland location for a different balance of sky and atmosphere. Tangier offers the strongest combination of international access, accommodation range, dining and cultural life, along with totality pushing toward five minutes. It is ideal for visitors who want to integrate the eclipse into a broader city break or road trip and who value backup options if weather requires a last-minute drive inland or along the coast.
Tetouan and the M’diq–Martil coast, sitting near the centerline, are appealing for those who prioritize slightly longer totality and a resort backdrop. Beachfront promenades and coastal hills provide many potential viewing spots, though early-morning marine haze and holiday crowds are factors to consider. Chefchaouen offers a completely different mood, with narrow lanes painted in shades of blue and mountain views. It may suit travelers drawn to a more intimate setting and cooler nighttime temperatures, provided they are comfortable planning ahead for vantage points with open horizons.
Asilah and other smaller coastal towns are good choices for visitors who want a quieter base while staying connected to major routes. They combine significant totality with a village-like scale and easy access from Tangier. Wherever you choose to stay, the essentials remain the same: confirm your location is solidly inside the path of totality, understand the local geography, plan for safe viewing and remain flexible enough to adapt to weather and any local guidance on the day.
If you approach the 2 August 2027 eclipse in northern Morocco with that mindset, the region offers an exceptional stage. From Tangier’s kasbah terraces to the sands of Martil or the alleys of Chefchaouen, you will be watching one of the longest and most dramatic celestial events of the century unfold over a landscape rich in history and light.