Morocco possesses 1,835 kilometers of Atlantic coastline stretching from Tangier in the north to the Western Sahara border in the south, and 512 kilometers of Mediterranean coast from Tangier eastward to the Algerian frontier. The Atlantic shore defines the nation's western character more than any Mediterranean influence. Cold currents from the Canary Islands meet warm African winds along this coast, creating persistent fog banks and moderate temperatures that deviate sharply from interior heat. The continental shelf extends 50 to 70 kilometers offshore in most locations, supporting industrial fisheries that contribute approximately 2.3 percent of national GDP and employ roughly 660,000 people directly or indirectly according to 2019 Ministry of Agriculture figures.
Casablanca anchors the central Atlantic coast as Morocco's economic engine and largest city, home to 3.36 million people within city limits and 4.27 million in the greater urban area per the 2014 census. The Port of Casablanca handles approximately 40 million tons of cargo annually, making it the largest artificial port in North Africa and among the top twenty ports on the African continent by tonnage. The Hassan II Mosque, completed in 1993 after seven years of construction, stands at the western edge of the city on a platform extending into the Atlantic. Its minaret reaches 210 meters, making it the second tallest minaret globally after the Great Mosque of Algiers. The prayer hall accommodates 25,000 worshippers with space for 80,000 more on exterior grounds. King Hassan II commissioned French architect Michel Pinseau for the design, employing 10,000 craftsmen and spending an estimated 585 million euros, funded largely through public subscription. A retractable roof covers a portion of the prayer hall, and a glass floor section allows views of the ocean below. The facility includes hammams, a Quranic school, and a library. Tidal engineering proved complex during construction as foundations extend below sea level and Atlantic swells regularly exceed two meters.
Essaouira occupies a defensive position 174 kilometers north of Agadir on a rocky Atlantic peninsula. Portuguese traders established a fortress there in 1506, but Berber populations expelled them within four years. Sultan Mohammed ben Abdallah rebuilt the city between 1760 and 1764, employing French architect Théodore Cornut to design a fortified medina following Vauban principles adapted to North African conditions. The UNESCO World Heritage designation applied in 2001 recognizes the medina's grid layout, unusual in Morocco where organic medieval street patterns dominate older cities. Ramparts average 8 meters in height and extend 2.5 kilometers around the medina perimeter. The Skala de la Ville, a sea bastion on the northern rampart, holds a battery of bronze cannons cast in Spain, Barcelona, and Seville during the eighteenth century. Essaouira's harbor shelters a fishing fleet of approximately 450 vessels, predominantly blue-painted wooden boats built using techniques unchanged since the nineteenth century. Sardine processing facilities line the southern harbor edge, operating seasonally when catches peak between May and September. Average daily sardine landings reach 120 tons during peak weeks. Trade winds averaging 25 to 40 kilometers per hour from April through September have established Essaouira as Morocco's primary kitesurfing and windsurfing destination. Water temperature ranges from 15 degrees Celsius in February to 21 degrees in August, remaining cool year-round due to upwelling from deep Atlantic currents.
Agadir sits 508 kilometers southwest of Casablanca at the base of the Anti-Atlas Mountains where the Souss Valley meets the ocean. An earthquake measuring 5.7 on the Richter scale destroyed the city on February 29, 1960, killing approximately 15,000 of the city's 45,000 residents in twelve seconds of shaking that began at 23:40 local time. King Mohammed V ordered complete abandonment of the destroyed site and reconstruction two kilometers south. Modern Agadir reflects 1960s urban planning with wide boulevards, seismic building codes, and a beachfront hotel zone stretching seven kilometers along a crescent bay. The port handles 4.5 million tons of cargo annually, specializing in citrus exports from Souss Valley orchards and fish from one of Africa's most productive fishing grounds. The Agadir-Halibut offshore banks 60 to 100 kilometers west of the city yield sardines, mackerel, and octopus for export to Japan, Spain, and Italy. Water temperature averages 18 degrees Celsius year-round. Annual precipitation measures just 228 millimeters, falling almost entirely between November and March. The kasbah ruins on a hill north of the modern city remain from the pre-earthquake settlement, with restored ramparts offering views across the bay but minimal interior structures surviving.
Tangier commands the Strait of Gibraltar where the Mediterranean meets the Atlantic and Africa approaches Europe across 14 kilometers of water. The city served as an International Zone from 1923 to 1956, administered jointly by France, Spain, Britain, and later Italy under a statute that made it a free port with relaxed financial regulations. This period attracted expatriate writers including Paul Bowles, who lived in Tangier from 1947 until his death in 1999, William S. Burroughs, who wrote "Naked Lunch" there between 1954 and 1958, and Tennessee Williams, who maintained an apartment intermittently during the 1950s. Morocco reclaimed full sovereignty over Tangier in 1956 following independence. The city's population reached 947,952 in the 2014 census. Tanger-Med port, located 40 kilometers east of the city center, opened in 2007 and expanded through several phases to become Africa's largest container port by volume, handling 5.77 million twenty-foot equivalent units in 2019. The port's position allows vessel access to both Mediterranean and Atlantic shipping lanes without fully entering either sea. Automotive manufacturing for Renault and Peugeot operates in the Tanger-Med free zone, producing 402,000 vehicles in 2019 for export to European and African markets. The kasbah district occupies high ground on the medina's northwest edge with ramparts built by Portuguese occupiers in the fifteenth century and expanded by successive Moroccan dynasties. The American Legation Museum, housed in a building granted by Sultan Moulay Slimane in 1821, marks the first property acquired abroad by the United States government and documents the 1786 Moroccan-American Treaty of Friendship, the longest unbroken treaty relationship in American history.
El Jadida, called Mazagan during Portuguese control from 1502 to 1769, lies 96 kilometers south of Casablanca. Portuguese engineers constructed a pentagonal fortress with walls 8 meters thick at the base, tapering to 3 meters at the top and reaching heights of 12 meters. The fortress enclosed 11 hectares and included a Manueline-style cistern completed around 1514, a vaulted space measuring 34 meters by 33 meters with a ceiling supported by twenty-five columns creating a reflecting pool effect when filled with shallow water. Light enters through a single oculus in the roof, creating a shaft of illumination that shifts across the columns as hours pass. Orson Welles filmed portions of his 1952 adaptation of "Othello" in the cistern, which remained unknown to most El Jadida residents until the film's release prompted local investigation. UNESCO designated the Portuguese City of Mazagan a World Heritage site in 2004, recognizing it as an outstanding example of Renaissance military architecture adapted to North African conditions. The fortress walls face the Atlantic directly, absorbing wave impact during winter storms when swells exceed four meters. Fishing remains economically significant, with sardine and anchovy processing plants operating in the industrial port north of the historic quarter.
Asilah occupies a coastal position 46 kilometers south of Tangier, enclosed within Portuguese-built ramparts dating to 1471 when Alfonso V captured the town. Spain controlled Asilah from 1578 to 1589 and again from 1610 to 1691. Moulay Ismail reclaimed it for Morocco in 1691. The medina's white-painted houses and blue-trimmed doors create a color scheme distinct from other Moroccan coastal cities. An annual arts festival founded in 1978 by Mohammed Benaïssa and Mohammed Melehi transformed Asilah from a declining fishing village into a seasonal cultural destination. The festival runs for six weeks each summer, during which artists paint murals directly on medina walls, creating an open-air gallery that changes annually as new work covers previous years' paintings. Attendance peaked at approximately 80,000 visitors during the 1990s but has declined to 40,000 to 50,000 in recent years according to municipal tourism estimates. Atlantic beaches extend north and south of the medina walls, with Paradise Beach six kilometers south drawing domestic tourists during July and August when inland temperatures exceed 40 degrees Celsius. Fishing boats launch daily from a harbor immediately south of the ramparts, targeting sardines and sea bream in waters 20 to 40 meters deep within five kilometers of shore.
Safi sits 237 kilometers southwest of Casablanca at a point where the Atlantic coast angles sharply from north-south to northeast-southwest orientation. Portuguese forces occupied Safi from 1488 to 1541, constructing the Kechla fortress on high ground overlooking the medina and harbor. The fortress's northwest bastion, called the Bastion de l'Ange, provides 360-degree views across the city and 30 kilometers of coastline. Ceramic production defines Safi's economy beyond fishing, with approximately 1,200 potters working in the Colline des Potiers district on the medina's northern edge. Wood-fired kilns built into hillside slopes reach temperatures of 1,000 degrees Celsius, producing glazed earthenware in geometric patterns and colors specific to Safi workshops. The industry sources clay from deposits 15 kilometers inland near Youssoufia. Safi potters developed techniques for replicating Portuguese azulejo tiles during the sixteenth century, creating a hybrid style that influenced ceramics throughout southern Morocco. The fishing port processes sardines, octopus, and cuttlefish, operating 24 hours during peak season when boats return on tides rather than fixed schedules. The phosphate terminal north of the fishing port exports approximately 1.5 million tons annually from mines near Youssoufia, transported by rail in 60-car trains that arrive four times daily.
Al Hoceima occupies a bay on the Mediterranean coast 150 kilometers east of Tetouan in the Rif Mountains' northern foothills. Spain established a garrison there in 1926 during the Rif War against Abd el-Krim's Berber uprising, naming it Villa Sanjurjo after General José Sanjurjo. Morocco reclaimed the city in 1956 and renamed it Al Hoceima. Two earthquakes, one in 1994 measuring 6.0 and another in 2004 measuring 6.4 on the Richter scale, killed 628 people combined and destroyed approximately 2,800 buildings. Reconstruction followed seismic codes similar to those implemented in Agadir. Al Hoceima National Park extends along 48 kilometers of Mediterranean coastline east and west of the city, protecting sea cliffs rising 200 to 400 meters above water and several uninhabited offshore islands where Mediterranean monk seals were documented until 1983, though no confirmed sightings have occurred since. The park's marine zone extends one kilometer offshore, encompassing posidonia seagrass beds and rocky reefs inhabited by grouper, sea bream, and octopus. Quemado Beach, eight kilometers west of Al Hoceima, offers a crescent of sand 1,200 meters long enclosed by rocky headlands. Water temperature ranges from 15 degrees Celsius in February to 25 degrees in August, warmer than Atlantic temperatures at equivalent latitudes due to the Mediterranean's enclosed nature and shallower thermocline. Cannabis cultivation in the surrounding Rif Mountains creates economic tensions that periodically manifest in protests, including demonstrations in October 2016 that drew 10,000 participants and resulted in several hundred arrests.
Larache occupies the Loukkos River's mouth 85 kilometers south of Tangier on the Atlantic coast. Spain controlled Larache from 1610 to 1689 and again from 1912 to 1956 as part of the Spanish protectorate zone. The city served as a port for inland Ksar el-Kebir until silting reduced the Loukkos River's navigability in the eighteenth century. Fishing boats operate from a harbor immediately south of the medina, targeting sardines and prawns. The archaeological site of Lixus occupies a hill three kilometers north of modern Larache on the Loukkos River's north bank. Phoenician traders established a settlement there around 1180 BCE, making it among the oldest continuously occupied sites in Morocco. Roman occupation from 40 CE to approximately 400 CE left amphitheater ruins, mosaic floors, and a garum processing facility where fish sauce fermented in stone vats. The amphitheater seated approximately 3,000 spectators. Excavations beginning in 1948 under Miguel Tarradell uncovered Punic layers beneath Roman structures. Most structures remain partially buried under 1.5 to 2 meters of accumulated soil and vegetation. The site receives approximately 15,000 visitors annually according to Ministry of Culture estimates. Spanish writer Jean Genet is buried in Larache's Christian cemetery after his death in Paris in 1986. He requested burial in Larache, where he lived intermittently during the final two decades of his life.
The Moulouya River, Morocco's longest river at 520 kilometers, flows from the High Atlas through the Middle Atlas and across eastern Morocco to the Mediterranean Sea near the Algerian border. Annual discharge averages 1.5 billion cubic meters, varying from 0.5 billion in drought years to 3 billion during wet cycles. The Mohamed V Dam, completed in 1967, impounds the Moulouya 70 kilometers from its mouth, creating a reservoir with 770 million cubic meter capacity that irrigates 70,000 hectares in the lower Moulouya valley. The delta extends into the Mediterranean across mudflats and salt marshes covering approximately 15 square kilometers, an unusual coastal ecosystem in Morocco where Atlantic deltas dominate. Migrating birds use the delta as a stopover between European breeding grounds and African wintering sites, with 270 species documented including greater flamingos, Audouin's gulls, and ospreys. Peak migration occurs in April and September when daily counts exceed 10,000 individual birds. Agricultural runoff carrying fertilizers and pesticides from upstream irrigation has degraded water quality in the delta. Salinity measurements fluctuate from 18 parts per thousand near the river mouth to 38 parts per thousand in coastal lagoons that experience limited freshwater inflow during summer months. Fishing villages along the delta's edge harvest prawns and mullet using traditional nets and small boats.
The Sebou River drains the Middle Atlas and Rif Mountains across 458 kilometers, flowing into the Atlantic Ocean near Kenitra. Average annual discharge measures 5.6 billion cubic meters, making it Morocco's largest river by volume. The Al Wahda Dam, completed in 1996, impounds the Sebou 60 kilometers east of Fes, creating a reservoir holding 3.7 billion cubic meters for irrigation, hydroelectric generation, and flood control. The river's lower 120 kilometers meander through the Gharb Plain, Morocco's most extensive lowland agricultural region covering 600,000 hectares. Rice cultivation dominates near the river, consuming approximately 18,000 cubic meters of water per hectare annually. The Sebou discharges approximately 60 million tons of sediment annually into the Atlantic, creating a turbid plume visible from satellite imagery extending 15 kilometers offshore during flood flows in winter months. Mehdia Plage, a beach town at the river mouth, marks the location where American forces landed on November 8, 1942, during Operation Torch, the Allied invasion of North Africa. The 60th Infantry Regiment encountered light resistance from Vichy French forces defending the Sebou estuary, securing the area within 48 hours. A kasbah built by Sultan Moulay Ismail in the seventeenth century overlooks the river mouth, its ramparts now partially collapsed into the water due to bank erosion that removes approximately 1.5 meters of shoreline annually.