Morocco has a coast on both the Mediterranean Sea and the Atlantic Ocean.
Morocco occupies Africa’s northwestern corner, with the Mediterranean along its northern coast and the Atlantic Ocean along its western coast. The two bodies of water meet through the Strait of Gibraltar, the narrow passage separating Morocco from Spain and linking the Mediterranean with the Atlantic.
This position has shaped Morocco’s history, trade, and culture. Atlantic ports such as Casablanca, Essaouira, and Agadir connect the country to oceanic trade routes, while Mediterranean ports and cities such as Tangier and Al Hoceima face Europe and the western Mediterranean. The Strait of Gibraltar is also one of the world’s busiest maritime gateways.
The geography question can cause confusion because Algeria, Tunisia, and Libya all border the Mediterranean, but none has an Atlantic coastline. Morocco’s southern territory is politically complicated because most of Western Sahara is administered by Morocco but remains disputed internationally; that issue does not change Morocco’s clearly established Mediterranean and Atlantic coastal position.