Diplomatic recognition in international law is a unilateral political act with domestic and international legal consequences, whereby a state acknowledges an act or status of another state or government in control of a state (may be also a recognized state). Recognition can be accorded either de facto or de jure. Recognition can be a declaration to that effect by the recognizing government, or an act of recognition such as entering into a treaty with the other state. A vote by a country in the United Nations in favour of the membership of another country is an implicit recognition of that country by the country so voting, as only states may be members of the UN.
The non-recognition of particular acts of a state does not normally affect the recognition of the state itself. For example, the international rejection of the occupation of particular territory by a recognised state does not imply non-recognition of the state itself, nor a rejection of a change of government by illegal means.
Recognition of states and governments
Diplomatic recognition must be distinguished from formal recognition of states or their governments. The fact that states do not maintain bilateral diplomatic relations does not mean that they do not recognize or treat one another as states. A state is not required to accord formal bilateral recognition to any other state, and some have a general policy of not doing so, considering that a vote for its membership of an international organisation restricted to states, such as the United Nations, is proof of recognition.
Some consider that a state has a responsibility not to recognize as a state any entity that has attained the qualifications for statehood by a violation of basic principles of the UN Charter: the UN Security Council has in several instances (Resolution 216 (1965) and Resolution 217 (1965), concerning Rhodesia; Resolution 541 (1983), concerning Northern Cyprus; and Resolution 787 (1992), concerning the Republika Srpska) issued Chapter VII resolutions (binding in international law) that denied their statehood and precluded recognition. In the 2010 International Court of Justice advisory opinion on Kosovo's declaration of independence, the ICJ ruled that "general international law contains no applicable prohibition of declarations of independence." The Court carefully noted "that in all of those instances the Security Council was making a determination as regards the concrete situation existing at the time that those declarations of independence were made; the illegality attached to the declarations of independence thus stemmed not from the unilateral character of these declarations as such, but from the fact that they were, or would have been, connected with the unlawful use of force or other egregious violations of norms of general international law, in particular those of a peremptory character (jus cogens). In the context of Kosovo, the Security Council has never taken this position. The exceptional character of the resolutions enumerated above appears to the Court to confirm that no general prohibition against unilateral declarations of independence may be inferred from the practice of the Security Council."
States can exercise their recognition powers either explicitly or implicitly. The recognition of a government implies recognition of the state it governs, but even countries which have a policy of formally recognising states may not have a policy of doing the same regarding governments.
De facto recognition of states, rather than de jure, is rare. De jure recognition is stronger, while de facto recognition is more tentative and recognizes only that a government exercises control over a territory. An example of the difference is when the United Kingdom recognized the Soviet state de facto in 1921, but de jure only in 1924. Another example is the state of Israel in 1948, whose government was immediately recognized de facto by the United States and three days later by Soviet de jure recognition. Also, the Republic of China, commonly known as "Taiwan", is generally recognized as de facto independent and sovereign, but is not universally recognized as de jure independent due to the complex political status of Taiwan related to the United Nation's de-recognization of it in favor of the People's Republic of China in 1971.
Renewing recognition of a government is not necessary when it changes in a normal, constitutional way (such as an election or referendum), but is necessary in the case of a coup d'etat or revolution. Recognition of a new government by other states can be important for its long-term survival. For instance, the Taliban government of the Islamic State of Afghanistan, which lasted from 1996 to 2001, was recognized by only Pakistan, the United Arab Emirates, and Saudi Arabia, while far more had recognized the government of ousted President Burhanuddin Rabbani. The disputed territory of Jammu and Kashmir of the Republic of India is not recognized by either Pakistan or the People's Republic of China.
Recognition can be implied by other acts, such as the visit of the head of state, or the signing of a bilateral treaty. If implicit recognition is possible, a state may feel the need to explicitly proclaim that its acts do not constitute diplomatic recognition, like when the United States commenced its dialogue with the Palestine Liberation Organization in 1988.
Withdrawal of recognition
A state may withdraw diplomatic recognition of another state, or simply refuse to deal with that other country, after withdrawing from all diplomatic relations with that country, such as embassies and consulates, and requiring the other country to do the same. The state will appoint a protecting power to represent its interests in the other state.
The doctrine of non-recognition of illegal or immoral situations, like territorial gains achieved by force, is called the Stimson Doctrine, and has become more important since the Second World War, especially in the United Nations where it is a method of ensuring compliance with international law – for instance, in the case of Rhodesia in 1965. Withdrawal of recognition of a government is a more severe act of disapproval than the breaking of diplomatic relations.
Recognition of governments
Besides recognizing other states, states also can recognize the governments of states. This can be problematic particularly when a new government comes to power by illegal means, such as a coup d'état, or when an existing government stays in power by fixing an election. States once formally recognized both the government of a state and the state itself, but many no longer follow that practice, even though, if diplomatic relations are to be maintained, it is necessary that there be a government with which to engage in diplomatic relations. Countries such as the United States answer queries over the recognition of governments with the statement: "The question of recognition does not arise: we are conducting our relations with the new government."
Several of the world's geo-political entities lack general international recognition, but wish to be recognized as sovereign states. The degree of de facto control these entities exert over the territories they claim varies.
Most are subnational regions with an ethnic or national identity of their own that have separated from the original parent state. Such states are commonly referred to as "break-away" states. Some of these entities are in effect internally self-governing protectorates that enjoy military protection and informal diplomatic representation abroad through another state to prevent forced reincorporation into their original states.
Note that the word "control" in this list refers to control over the area occupied, not occupation of the area claimed. Unrecognized countries may have either full control over their occupied territory (such as Somaliland), or only partial control (such as Western Sahara). In the former, the de jure governments have little or no influence in the areas they claim to rule, whereas in the latter they have varying degrees of control, and may provide essential services to people living in the areas.
Other types of recognition
Formal recognition of belligerency, which is rare today, signifies that the parties to the civil war or other internal conflict "are entitled to excise belligerent rights, thus accepting that the rebel group possesses sufficient international personality to support the position of such rights and duties." Extension of the rights of belligerency is usually done by other states, rather than by the government fighting the rebel group. (A 1907 report by William E. Fuller for the Spanish Treaty Claims Commission noted that "A parent state never formally recognizes the insurgents as belligerents, although it may in fact treat them as such by carrying on war against them in accordance with the rules and usages of international warfare.")
Examples of recognition of belligerent status include:
- In 1823, Britain recognized the Greeks as belligerents during the Greek War of Independence.
- Britain issued a proclamation of neutrality soon after the outbreak of the American Civil War, which "tacitly granted the Confederacy belligerent status, the right to contract loans and purchase supplies in neutral nations and to exercise belligerent rights on the high seas." Another right of significance accorded to belligerents that was seen as potentially significant at the time was the right to issue letters of marque. Britain's extension of belligerent recognition to the Confederacy, greatly angered and concerned the United States, which strenuously and successfully worked to prevent full diplomatic recognition.
- During the Nicaraguan Civil War, the Andean Group (Bolivia, Columbia, Ecuador, Peru, and Venezuela "declared that 'a state of belligerency' existed in Nicaragua and that the forces of the Sandinista National Liberation Front (FSLN) represented a 'legitimate army.'" The declaration, made over the strong U.S. opposition, stated that the Sandinistas were eligible for "treatment and prerogatives" accorded to belligerents under international law. This declaration allowed the Andean countries to provide arms to the FSLN.
- During the Salvadoran Civil War, France and Mexico recognized the FMLN as a belligerent in the civil war in El Salvador in August 1981.
- See Stefan Talmon, Recognition of Governments in International Law: With Particular Reference to Governments in Exile (Oxford: Clarendon Press, 1998) pages 1–4
- Accordance with International Law of the Unilateral Declaration of Independence in Respect of Kosovo, Advisory Opinion Archived 2010-07-23 at WebCite, I.C.J. Reports 2010, p. 403, para. 84.
- ICJ Advisory Opinion of 22 July 2010, para. 81.
- See, e.g., Restatement (Third) Foreign Relations Law of the United States, American Law Institute Publishers, 1990, ISBN 0-314-30138-0, § 202 (Recognition or Acceptance of States), § 203 (Recognition or Acceptance of Governments); and § 204 (Recognition and Maintaining Diplomatic Relations).
- See for example, the oral arguments in the International Court of Justice case on Kosovo's declaration of independence. CR 2009/32, page 39 
- Since the 1970s the United States Department of State has moved away from the practice of recognizing governments. See:  Digest of U.S. Practice in International Law 19–21.
-  Digest of U.S. Practice in International Law at 13;  Digest of U.S. Practice in International Law at 34.
- Gary D. Solis, The Law of Armed Conflict: International Humanitarian Law in War (2d ed.: Cambridge University Press, 2016), p. 163.
- Special Report of William E. Fuller, Assistant Attorney-General: Being a Condensed Statement of the Work Done, the Questions Considered, the Principles Laid Down, and the Most Important Decisions Made by the Spanish Treaty Claims Commission from the Organization of the Commission, April 8, 1901, to April 10, 1907, Spanish Treaty Claims Commission (Government Printing Office, 1907), p. 262.
- Roscoe Ralph Oglesby, Internal War and the Search for Normative Order (Martinus Nijhoff, 1971), p. 21.
- Preventing Diplomatic Recognition of the Confederacy, 1861–1865 Archived 2013-08-28 at the Wayback Machine., Milestones: 1861-1865, U.S. Department of State, Office of the Historian.
- Burrus M. Carnahan, Act of Justice: Lincoln's Emancipation Proclamation and the Law of War (University Press of Kentucky 2007), p. 50.
- Gerhard von Glahn & James Larry Taulbee, Law Among Nations: An Introduction to Public International Law, 11th ed. (Taylor & Francis, 2017), p. 167.
- Robert Kagan, A Twilight Struggle: American Power and Nicaragua, 1977-1990 (The Free Press, 1996), p. 93.
- Sewall H. Menzel, Bullets Vs. Ballots: Political Violence and Revolutionary War in El Salvador, 1979-1991 (Lynne Rienner Publishers, 1994), p. 22.
- Tozun Bahcheli, Barry Bartmann, and Henry Srebrnik; De Facto States: The Quest for Sovereignty , Routledge, (2004) online edition
- Edgars Dunsdorfs (1975). The Baltic Dilemma, The case of the de jure recognition of incorporation of the Baltic States into the Soviet Unions by Australia. Robert Speller & Sons, New York. ISBN 0-8315-0148-0.
- Gerhard von Glahn (1992). Law Among Nations: An Introduction to Public International Law. Macmillan. ISBN 0-02-423175-4.
- Malcolm N. Shaw (2003). International Law. Cambridge University Press. ISBN 0-521-53183-7.
- Stefan Talmon; Recognition of Governments in International Law: With Particular Reference to Governments in Exile Clarendon Press, (1998) online edition
- Gregory Weeks; "Almost Jeffersonian: U.S. Recognition Policy toward Latin America," Presidential Studies Quarterly, Vol. 31, 2001 online edition