Morocco officially recognized the United States as an independent nation in 1777, establishing one of the longest unbroken diplomatic relationships in American history. This historic bond, formalized by the 1786 Treaty of Peace and Friendship, remains a cornerstone of U.S.-Moroccan bilateral relations today, underscored by ongoing security cooperation and trade agreements.
Historical Context of U.S.-Moroccan Relations

The diplomatic ties between the two nations date back to the American Revolutionary War. According to the U.S. Department of State, Morocco was the first country to formally recognize the United States when Sultan Mohammed III opened Moroccan ports to American merchant ships in 1777.
This recognition was formalized by the Treaty of Peace and Friendship, signed in 1786. It remains the longest-standing treaty in U.S. history, having been renewed in 1836 and remaining in effect to this day. The U.S. Legation in Tangier, established in 1821, holds the distinction of being the first piece of property owned by the U.S. government abroad, according to the Tangier American Legation Institute for Moroccan Studies.
Modern Diplomatic and Security Partnerships

In the modern era, the relationship has evolved into a strategic security and economic partnership. The U.S. designated Morocco as a Major Non-NATO Ally in 2004, reflecting the depth of military cooperation between the two countries.
* Military Cooperation: The U.S. and Morocco conduct the annual “African Lion” exercise, which the U.S. Africa Command describes as the largest military exercise on the African continent.
* Economic Ties: A Free Trade Agreement (FTA) between the U.S. and Morocco entered into force in 2006. According to the Office of the United States Trade Representative, the agreement has eliminated tariffs on more than 95% of qualifying industrial and consumer goods.
Comparison of Diplomatic Milestones

While Morocco is frequently cited for its early recognition of the U.S., other nations also played critical roles during the founding period of the United States.
| Country | Nature of Recognition | Year |
| :— | :— | :— |
| Morocco | First nation to open ports to U.S. ships | 1777 |
| France | First nation to sign a formal military alliance | 1778 |
| Netherlands | First nation to salute the U.S. flag | 1776 |
Frequently Asked Questions
Why is the Moroccan-American relationship considered unique?
The relationship is defined by its longevity and the fact that it was established before the U.S. Constitution was ratified. The 1786 treaty remains the longest unbroken diplomatic agreement in U.S. history.
What is the current status of the U.S. Legation in Tangier?
The site is now the Tangier American Legation Institute for Moroccan Studies. It serves as a museum and cultural center, recognized as a National Historic Landmark by the U.S. Secretary of the Interior.
How does the U.S. view Morocco’s role in North Africa?
The U.S. government views Morocco as a key partner in regional stability, counterterrorism efforts, and economic development, as evidenced by the 2004 designation of Morocco as a Major Non-NATO Ally.