The International Regulations for Preventing Collisions at Sea 1972 (Colregs) are published by the International Maritime Organization (IMO) and set out, among other things, the "rules of the road" or navigation rules to be followed by ships and other vessels at sea to prevent collisions between two or more vessels. COLREGs can also refer to the specific political line that divides inland waterways, which are subject to their own navigation rules, and coastal waterways which are subject to international navigation rules. The COLREGs are derived from a multilateral treaty called the Convention on the International Regulations for Preventing Collisions at Sea.
Although rules for navigating vessels inland may differ, the international rules specify that they should be as closely in line with the international rules as possible. In most of continental Europe, the Code Européen des Voies de la Navigation Intérieure (CEVNI, or the European Code for Navigation on Inland Waters) apply. In the United States, the rules for vessels navigating inland are published alongside the international rules.
The Racing Rules of Sailing, which govern the conduct of yacht and dinghy racing under the sanction of national sailing authorities which are members of the International Sailing Federation (ISAF), are based on the COLREGs, but differ in some important matters such as overtaking and right of way close to turning marks in competitive sailing.
Prior to the development of a single set of international rules and practices, there existed separate practices and various conventions and informal procedures in different parts of the world, as advanced by various maritime nations. As a result, there were inconsistencies and even contradictions that gave rise to unintended collisions. Vessel navigation lights for operating in darkness as well as navigation marks also were not standardised, giving rise to dangerous confusion and ambiguity between vessels at risk of colliding.
With the advent of steam-powered ships in the mid-19th century, conventions for sailing vessel navigation had to be supplemented with conventions for power-driven vessel navigation. Sailing vessels are limited as to their manoeuvrability in that they cannot sail directly to windward or into the eye of the wind and cannot be readily navigated in the absence of wind. On the other hand, steamships can manoeuvre in all 360 degrees of direction and can be manoeuvred irrespective of the presence or absence of wind.