Customary international law consists of international legal obligations arising from established or usual international practices, which are less formal customary expectations of behavior often unwritten as opposed to formal written treaties or conventions. Customary law is also referred to as opinio juris (means “opinion of law”), which is a term used in international law to signifiy state practices taken under the belief that such actions are legal obligations. Generally, customary international law applies equally to all states. Along with general principles of law and treaties, custom is considered by the International Court of Justice, jurists, the United Nations, and its member states to be among the primary sources of international law.
Rules that are considered customary law are binding upon all states. Customary international law need not be codified in a treaty. If a treaty, or any portion thereof, becomes customary law, it will bind all states that are not persistent objectors. A treaty or international agreement can bind a state not party to the treaty when: the treaty codifies customary international law; or when the treaty has become customary law or represents an obligation erga omnes. For example, the Vienna Convention on the Law of Treaties is widely described as codifying customary international law concerning treaties.