Skip to content

Private tours. Your kind of Morocco.

Morocco, North Africa
History & culture

Morocco and U.S. Independence: The 1777 Story and Tangier Today

Explore the history behind Morocco’s recognition of American independence, then follow the story to the Tangier American Legation on a northern Morocco journey.

White buildings above the beach and bay in Tangier, Morocco
Tangier is a starting point for exploring Morocco’s connection with the United States.

Morocco is widely described as the first country to recognize American independence, following Sultan Mohammed III’s opening of Moroccan ports to American ships in 1777. The Treaty of Peace and Friendship followed in 1786; the U.S. Office of the Historian uses that treaty date for formal recognition. Understanding the two milestones makes the story clearer.

For U.S. travelers, this shared history offers a reason to include Tangier in a Morocco itinerary. The American Legation in the medina connects the diplomatic relationship to a building you can visit, alongside the coastal city around it.

Use the history as a starting point, then choose the route that interests you: Tangier and the northern cities, time in Chefchaouen and Fes, or a longer journey with room for other regions.

Why did Morocco recognize the United States in 1777?

The story began with maritime trade. Sultan Mohammed III opened Moroccan ports to ships sailing under the American flag in 1777, publicly acknowledging the new nation while seeking a trading relationship. That decision is the basis for Morocco’s distinction as the first country to recognize American independence.

For a visitor from the United States, the appeal is discovering a familiar period of history from another shore. Morocco was part of the wider Atlantic world in which the young republic sought recognition and trading partners. Its ports offer a different perspective on the American Revolution, alongside Morocco’s own history and ambitions.

Further reading: National Museum of American Diplomacy: the Morocco–U.S. connection ↗

From recognition in 1777 to the friendship treaty in 1786

The Treaty of Peace and Friendship followed in 1786. The State Department’s Office of the Historian records the treaty signing at Marrakech and uses 1786 for formal recognition. The earlier acknowledgment in 1777 and the later treaty describe different steps in the same relationship.

Another milestone arrived in 1821, when Morocco gave the United States the building now known as the Tangier American Legation. These three dates are a useful way to follow the story: recognition in 1777, the treaty in 1786, and a lasting physical home for the relationship in 1821.

Further reading: Office of the Historian: recognition, the treaty and the Legation ↗

Visit the Tangier American Legation in Morocco

In Tangier’s medina, the American Legation brings the history into a place you can visit. The property is a U.S. National Historic Landmark overseas. Today it houses a museum, research center and cultural center, connecting the diplomatic story with ongoing cultural exchange.

The address is 8 Rue d’Amérique. Check the museum’s current visitor information before setting your schedule; guided museum visits require advance arrangements. Allow time to explore at your own pace instead of fitting the stop between several rushed appointments.

For families, the visit can turn a schoolbook subject into a conversation: what did recognition mean for a new country, and why would a Moroccan ruler seek a relationship across the ocean?

Further reading: Tangier American Legation: opening hours, directions and guided visits ↗

Make a full day of Tangier

Build your day around the Legation, a guided medina walk and time along the waterfront. Leave space for lunch and for the streets between the sights. History feels more memorable when you also experience the city around it: its daily routines, architecture and coastal setting.

Tell us whether you enjoy museums, photography, food or architecture, and how much walking feels comfortable. We can shape the day around those interests. If the Legation is your main reason for visiting, ask us to name it in your proposed itinerary and confirm the museum arrangements before the day is finalized.

A minaret and palm-lined buildings in Tangier under a blue sky
Leave time to explore the city around a museum visit.

Fit Tangier into a Morocco itinerary from the USA

For a focused northern journey, compare seven days from Tangier toward Chefchaouen and Fes. This keeps the American Legation visit within a wider route through the north, with room for town stays instead of a rushed detour from Marrakech.

For a longer vacation, decide whether the Sahara or the Atlantic coast is your next priority. Adding a southern region changes the travel days substantially. Ask for the overnight sequence and finish city before selecting your international flights.

If you are already staying in Tangier, build a city day around the Legation’s confirmed visitor arrangements, a medina walk and time by the waterfront. Keep museum access separate from any assumption about a tour’s standard inclusions.

A cat on blue-painted steps in a Chefchaouen lane
Chefchaouen can follow Tangier on a route through northern Morocco.

Your connection to Morocco starts with a conversation

Come for the shared history, then discover the Morocco that interests you. You might want beautiful riads, time in the medinas, a desert overnight or a relaxed coastal finish. We organize private transportation, guides and hotels around your agreed journey, so the different parts of your trip work together.

Send Ancient Morocco your travel dates, number of travelers, preferred trip length and the places you most want to see. Mention the American Legation if you want it included. We will help shape a route and clarify the accommodation, activities and services in your proposal before you confirm.

A friendship since 1777 is a meaningful reason to begin. The next chapter can be your own experience of Morocco. Explore the routes below or use “Plan my Morocco trip” to start planning with our team.

Further reading: Plan a Morocco tour from the USA ↗

Is the Tangier American Legation the same as the 1777 recognition?

No. The port decree associated with recognition came in 1777, the treaty followed in 1786, and Morocco gave the Legation building to the United States in 1821. The building is a later physical connection to that relationship.

Can the Legation be included in a private Morocco tour? Ask for it by name when planning a Tangier visit. Confirm opening and any guided-visit arrangements for your dates before fixing the order of the day.

Further reading: Explore a seven-day northern Morocco journey ↗

ANCIENT MOROCCO

Your ideas. Our local planning.

Put these Morocco travel tips into your own itinerary. Share your dates, budget and interests, and explore a route with private transportation, guides and hotels arranged around your plans.

Plan my Morocco trip
Chat on WhatsApp