Skip to content
ContentLora

    Tip: press / anywhere to search.

    Explainer

    How international law works: treaties, custom and courts

    The International Court of Justice applies treaties, custom and general principles of law.[1] Treaties bind the states that are parties to them, and custom rests on a general practice that states accept as law.[2][3] The UN Charter adds core rules, including the duty to settle disputes peacefully and the ban on the threat or use of force, with the Security Council able to act against threats to the peace.[4][5][6] An ICJ decision binds only the parties to that case.[7]

    Editor reviewedStrict sourcingUpdated Explainer19 claims · 100% primaryWorld affairs, Courts and the law
    Reading level: 5 passages differ; the rest is the same for everyone.

    This explainer gives general information about how public international law works, drawn from the UN Charter, the Statute of the International Court of Justice, the Vienna Convention on the Law of Treaties and the International Law Commission’s texts. It is not legal advice and takes no position on any current dispute.

    What international law is

    International law is the set of rules that governs relations between countries. Two of its main sources are treaties, which bind the countries that join them, and settled practices that countries accept as law.[2][3] The International Court of Justice, the UN’s main court, applies treaties, custom and general principles of law when it decides cases.[1]

    Article 38 of the ICJ Statute directs the Court to apply international conventions, international custom and general principles of law, with judicial decisions and the teachings of leading publicists as subsidiary means for determining rules of law.[1] The International Law Commission, set up by the UN General Assembly in 1947, works on the progressive development and codification of these rules; it held its seventy-seventh session in Geneva in 2026.[8]

    Treaties

    A treaty is a written agreement between states governed by international law, whatever it is called.[9] A country is bound only once it has agreed, usually through ratification.[10] Once a treaty is in force, the countries that joined must carry it out in good faith.[2] The full process is set out in how treaties work.

    The 1969 Vienna Convention on the Law of Treaties defines a treaty as a written international agreement between states governed by international law.[9] Ratification is the international act by which a state indicates its consent to be bound.[10] Under Article 26 every treaty in force binds its parties and must be performed in good faith, and under Article 27 a party may not invoke its internal law to justify failing to perform.[2] States may enter reservations unless the treaty forbids them, provided they are not incompatible with the treaty’s object and purpose.[11] Withdrawal follows the treaty’s own terms or the consent of all parties.[12] A treaty that conflicts with a peremptory norm of general international law (jus cogens) when it is concluded is void.[13]

    Customary international law

    Some rules bind countries even without a treaty. These are customary rules: things states generally do because they believe the law requires it.[3] A country that clearly and consistently objected to a rule while it was forming is not bound by it, as long as it keeps objecting.[14]

    The International Law Commission’s 2018 conclusions on identification of customary international law say that establishing a customary rule requires two constituent elements: a general practice and its acceptance as law (opinio juris).[3] Under Conclusion 15, a rule is not opposable to a state that objected while it was in the process of formation for so long as it maintains the objection, which must be clearly expressed, made known to other states and maintained persistently.[14] Under Article 53 of the Vienna Convention, a treaty that conflicts with a peremptory norm (jus cogens) when it is concluded is void.[13]

    The UN Charter’s core rules

    The UN Charter sets basic rules for its member states. They must settle disputes peacefully and must not threaten or use force against other countries’ territory or independence.[4][5] Countries keep the right to defend themselves if attacked.[15] The UN cannot step into matters that are essentially a country’s own domestic business, except for Security Council enforcement action.[16]

    Article 2(3) obliges members to settle international disputes by peaceful means, and Article 2(4) requires them to refrain from the threat or use of force against the territorial integrity or political independence of any state.[4][5] Article 51 preserves the inherent right of individual or collective self-defence if an armed attack occurs, until the Security Council has acted, and measures taken must be reported to the Council immediately.[15] Article 2(7) bars UN intervention in matters essentially within domestic jurisdiction without prejudice to Chapter VII enforcement.[16] Collective self-defence in an alliance setting is covered in NATO’s Article 5.

    Courts and enforcement

    The International Court of Justice settles legal disputes that countries bring to it and gives advisory opinions.[17] Its decisions bind only the countries in that case.[7] If a country ignores a ruling, the other side can go to the UN Security Council.[18] Separately, the international-criminal-court tries individuals for genocide, crimes against humanity, war crimes and aggression.[19]

    The international-court-of-justice has two roles: settling legal disputes submitted by states and giving advisory opinions on questions referred by authorised UN organs and agencies.[17] Under Article 59 of its Statute a decision binds only the parties and only in respect of that case.[7] Under Article 94 of the Charter each member undertakes to comply with ICJ decisions in cases to which it is party, and the other party may have recourse to the Security Council, which may make recommendations or decide on measures.[18] Under Chapter VII the Council determines threats to the peace and may order measures short of force, such as interrupting economic relations, or, if those would be inadequate, action by air, sea or land forces.[6] Those Council tools are explained further in how the UN Security Council works and how sanctions work. The International Criminal Court, by contrast, prosecutes individuals rather than states.[19]

    Developing in World & Policy

    Go deeper

    Questions readers ask

    Where does international law come from?

    Article 38 of the International Court of Justice's Statute lists the sources the Court applies - international conventions (treaties), international custom and general principles of law - with judicial decisions and the teachings of leading publicists as subsidiary means.[1]

    What is customary international law?

    It is law that arises from a general practice of states that is accepted as law (opinio juris). Under the International Law Commission's 2018 conclusions, a state that persistently objected to a rule while it was forming is not bound by it while it keeps objecting.[3][14]

    Is international law binding?

    A treaty in force binds its parties, which must perform it in good faith and cannot use their own domestic law as an excuse for not doing so. UN members also undertake to comply with ICJ decisions in cases they are party to.[2][18]

    When can a country lawfully use force?

    The UN Charter bans the threat or use of force against any state's territorial integrity or political independence, but preserves the right of self-defence if an armed attack occurs, until the Security Council acts. The Security Council can also authorise force under Chapter VII.[5][15][6]

    Who enforces international law?

    If a state fails to comply with an ICJ judgment, the other party can turn to the Security Council, which may make recommendations or decide on measures. The Council can impose measures such as cutting economic relations against threats to the peace.[18][6]

    Sources

    · 19 claims from 5 publishers

    Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.

    1. [1]

      Article 38 of the Statute directs the Court to apply international conventions, international custom, general principles of law and, as subsidiary means, judicial decisions and the teachings of leading publicists. confirmedas of 2026-11-07

      • Statute of the Court · International Court of Justice · Primary source · Statute of the Court, Article 38(1) (retrieved 2026-11-07)
      • Statute of the Court · International Court of Justice · Primary source · Statute of the Court, Article 38(1)(d) (retrieved 2026-11-07)
    2. [2]

      Under Article 26 of the Vienna Convention every treaty in force binds its parties and must be performed in good faith, and under Article 27 a party may not cite its internal law to justify failing to perform a treaty. confirmedas of 2026-11-07

    3. [3]

      According to the International Law Commission's 2018 conclusions, identifying a rule of customary international law requires two constituent elements, a general practice and its acceptance as law (opinio juris), each separately ascertained. confirmedas of 2026-11-21

    4. [4]

      Article 2 of the UN Charter requires all UN members to settle their international disputes by peaceful means. confirmedas of 2026-11-21

    5. [5]

      Article 2 of the UN Charter requires members to refrain in their international relations from the threat or use of force against the territorial integrity or political independence of any state. confirmedas of 2026-11-21

    6. [6]

      Under Chapter VII of the UN Charter the Security Council determines the existence of any threat to the peace, breach of the peace or act of aggression, and may decide on measures not involving armed force, such as interrupting economic relations, or, if those would be inadequate, on action by air, sea or land forces. confirmedas of 2026-11-21

    7. [7]

      Under Article 59 of the Statute, a decision binds only the parties and only in respect of that case. confirmedas of 2026-11-07

      • Statute of the Court · International Court of Justice · Primary source · Statute of the Court, Article 59 (retrieved 2026-11-07)
    8. [8]

      The International Law Commission was established by the UN General Assembly in 1947 to encourage the progressive development of international law and its codification, and it held its seventy-seventh session in Geneva in 2026. confirmedas of 2026-11-21

    9. [9]

      The 1969 Vienna Convention on the Law of Treaties defines a treaty as a written international agreement between states governed by international law, whatever it is called. confirmedas of 2026-11-07

    10. [10]

      Ratification is the international act by which a state indicates its consent to be bound; it gives governments time to obtain domestic approval and pass any legislation needed to give the treaty effect at home. confirmedas of 2026-11-07

    11. [11]

      A reservation is a statement by which a state seeks to exclude or alter the legal effect of certain provisions for itself; reservations must not be incompatible with the treaty's object and purpose, and a treaty may prohibit or limit them. confirmedas of 2026-11-07

    12. [12]

      Under the Vienna Convention a state may withdraw in line with the treaty's own provisions or with the consent of all parties; a treaty with no withdrawal clause can be left only if the parties intended to allow it or its nature implies a right to withdraw, and then on at least 12 months' notice. confirmedas of 2026-11-07

    13. [13]

      Under Article 53 of the 1969 Vienna Convention on the Law of Treaties, a treaty is void if, when it is concluded, it conflicts with a peremptory norm of general international law (jus cogens). confirmedas of 2026-11-21

    14. [14]

      Under the ILC's 2018 conclusions, a rule of customary international law is not opposable to a state that objected to it while it was forming, for as long as the state maintains its objection, which must be clearly expressed, made known to other states and maintained persistently. confirmedas of 2026-11-21

    15. [15]

      Article 51 of the UN Charter preserves the inherent right of individual or collective self-defence if an armed attack occurs against a UN member, until the Security Council acts, and requires such measures to be reported to the Council immediately. confirmedas of 2026-11-21

    16. [16]

      The UN Charter does not authorize the UN to intervene in matters essentially within a state's domestic jurisdiction, but this does not prejudice enforcement measures under Chapter VII. confirmedas of 2026-11-21

    17. [17]

      The Court has two roles: settling, under international law, legal disputes that States submit to it, and giving advisory opinions on legal questions referred by authorized UN organs and specialized agencies. confirmedas of 2026-11-07

      • The Court · International Court of Justice · Primary source · The Court page, third paragraph (retrieved 2026-11-07)
      • Jurisdiction · International Court of Justice · Primary source · Jurisdiction page (retrieved 2026-11-07)
    18. [18]

      Under Article 94 of the UN Charter each member undertakes to comply with the Court's decisions in cases to which it is a party, and if a party fails to do so the other may turn to the Security Council, which may make recommendations or decide on measures. confirmedas of 2026-11-07

    19. [19]

      The Rome Statute establishes the International Criminal Court (ICC) as a permanent institution with jurisdiction over persons for genocide, crimes against humanity, war crimes and the crime of aggression, with its seat at The Hague in the Netherlands. confirmedas of 2026-11-08

    Revision history (1)
    1. Page created.

    Created Nov 21, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Aug 16, 2027.

    Cite this page

    "How international law works: treaties, custom and courts." ContentLora, updated Nov 21, 2026. https://contentlora.com/explain/how-international-law-works

    Spotted an error? Suggest a correction or emailcorrections@contentlora.com.