The Consulate of the Sea (Catalan: Consolat de mar; pronounced [kunsuˈlad də ˈmaɾ]) was a quasi-judicial body set up in the Crown of Aragon, later to spread throughout the Mediterranean basin, to administer maritime and commercial law. The term may also refer to a celebrated collection of maritime customs and ordinances in Catalan language, also known in English as The Customs of the Sea, compiled over the 14th and 15th centuries and published at Valencia in or before 1494.
In the 21st century, the Catalan term Consolat de mar is today used for a commercial arbitration service operated by the Barcelona Chamber of Commerce, and also for a series of trade-promotion offices operated by the city of Barcelona.