Ability of a solid material to exist in more than one form or crystal structure
In crystallography, polymorphism is the phenomenon where a compound or element can crystallize into more than one crystal structure. 
The preceding definition has evolved over many years and is still under discussion today. Discussion of the defining characteristics of polymorphism involves distinguishing among types of transitions and structural changes occurring in polymorphism versus those in other phenomena.
Overview.
Phase transitions (phase changes) that help describe polymorphism include polymorphic transitions as well as melting and vaporization transitions. According to IUPAC, a polymorphic transition is "A reversible transition of a solid crystalline phase at a certain temperature and pressure (the inversion point) to another phase of the same chemical composition with a different crystal structure." Additionally, Walter McCrone described the phases in polymorphic matter as "different in crystal structure but identical in the liquid or vapor states." McCrone also defines a polymorph as “a crystalline phase of a given compound resulting from the possibility of at least two different arrangements of the molecules of that compound in the solid state.” These defining facts imply that polymorphism involves changes in physical properties but cannot include chemical change. Some early definitions do not make this distinction.
Eliminating chemical change from those changes permissible during a polymorphic transition delineates polymorphism. For example, isomerization can often lead to polymorphic transitions. However, tautomerism (dynamic isomerization) leads to chemical change, not polymorphism. As well, allotropy of elements and polymorphism have been linked historically. However, allotropes of an element are not always polymorphs. A common example is the allotropes of carbon, which include graphite, diamond, and londsdaleite. While all three forms are allotropes, graphite is not a polymorph of diamond and londsdaleite. Isomerization and allotropy are only two of the phenomena linked to polymorphism. For additional information about identifying polymorphism and distinguishing it from other phenomena, see the review by Brog et al.
It is also useful to note that materials with two polymorphic phases can be called dimorphic, those with three polymorphic phases, trimorphic, etc.
Polymorphism is of practical relevance to pharmaceuticals, agrochemicals, pigments, dyestuffs, foods, and explosives.
Detection.
Experimental methods.
Early records of the discovery of polymorphism credit Eilhard Mitscherlich and Jöns Jacob Berzelius for their studies of phosphates and arsenates in the early 1800s. The studies involved measuring the interfacial angles of the crystals to show that chemically identical salts could have two different forms. Mitscherlich originally called this discovery isomorphism. The measurement of crystal density was also used by Wilhelm Ostwald and expressed in Ostwald's Ratio. 
The development of the microscope enhanced observations of polymorphism and aided Moritz Ludwig Frankenheim’s studies in the 1830s. He was able to demonstrate methods to induce crystal phase changes and formally summarized his findings on the nature of polymorphism. Soon after, the more sophisticated polarized light microscope came into use, and it provided better visualization of crystalline phases allowing crystallographers to distinguish between different polymorphs. The hot stage was invented and fitted to a polarized light microscope by Otto Lehmann in about 1877. This invention helped crystallographers determine melting points and observe polymorphic transitions. 
While the use of hot stage microscopes continued throughout the 1900s, thermal methods also became commonly used to observe the heat flow that occurs during phase changes such as melting and polymorphic transitions. One such technique, differential scanning calorimetry (DSC), continues to be used for determining the enthalpy of polymorphic transitions.
In the 20th century, X-ray crystallography became commonly used for studying the crystal structure of polymorphs. Both single crystal x-ray diffraction and powder x-ray diffraction techniques are used to obtain measurements of the crystal unit cell. Each polymorph of a compound has a unique crystal structure. As a result, different polymorphs will produce different x-ray diffraction patterns.
Vibrational spectroscopic methods came into use for investigating polymorphism in the second half of the twentieth century and have become more commonly used as optical, computer, and semiconductor technologies improved. These techniques include infrared (IR) spectroscopy, terahertz spectroscopy and Raman spectroscopy. Mid-frequency IR and Raman spectroscopies are sensitive to changes in hydrogen bonding patterns. Such changes can subsequently be related to structural differences. Additionally, terahertz and low frequency Raman spectroscopies reveal vibrational modes resulting from intermolecular interactions in crystalline solids. Again, these vibrational modes are related to crystal structure and can be used to uncover differences in 3-dimensional structure among polymorphs.
Computational methods.
Computational chemistry may be used in combination with vibrational spectroscopy techniques to understand the origins of vibrations within crystals. The combination of techniques provides detailed information about crystal structures, similar to what can be achieved with x-ray crystallography. In addition to using computational methods for enhancing the understanding of spectroscopic data, the latest development in identifying polymorphism in crystals is the field of crystal structure prediction. This technique uses computational chemistry to model the formation of crystals and predict the existence of specific polymorphs of a compound before they have been observed experimentally by scientists.
Examples.
Many compounds exhibit polymorphism. It has been claimed that "every compound has different polymorphic forms, and that, in general, the number of forms known for a given compound is proportional to the time and money spent in research on that compound."
Organic compounds.
Benzamide.
The phenomenon was discovered in 1832 by Friedrich Wöhler and Justus von Liebig. They observed that the silky needles of freshly crystallized benzamide slowly converted to rhombic crystals. Present-day analysis identifies three polymorphs for benzamide: the least stable one, formed by flash cooling is the orthorhombic form II. This type is followed by the monoclinic form III (observed by Wöhler/Liebig). The most stable form is monoclinic form I. The hydrogen bonding mechanisms are the same for all three phases; however, they differ strongly in their pi-pi interactions.
Maleic acid.
In 2006 a new polymorph of maleic acid was discovered, 124 years after the first crystal form was studied. Maleic acid is manufactured on an industrial scale in the chemical industry. It forms salt found in medicine. The new crystal type is produced when a co-crystal of caffeine and maleic acid (2:1) is dissolved in chloroform and when the solvent is allowed to evaporate slowly. Whereas form I has monoclinic space group "P"21/"c", the new form has space group "Pc". Both polymorphs consist of sheets of molecules connected through hydrogen bonding of the carboxylic acid groups: in form I, the sheets alternate with respect of the net dipole moment, while in form II, the sheets are oriented in the same direction.
1,3,5-Trinitrobenzene.
After 125 years of study, 1,3,5-trinitrobenzene yielded a second polymorph. The usual form has the space group "Pbca", but in 2004, a second polymorph was obtained in the space group "Pca"21 when the compound was crystallised in the presence of an additive, trisindane. This experiment shows that additives can induce the appearance of polymorphic forms.
Other organic compounds.
Acridine has been obtained as eight polymorphs and aripiprazole has nine. The record for the largest number of well-characterised polymorphs is held by a compound known as ROY. Glycine crystallizes as both monoclinic and hexagonal crystals. Polymorphism in organic compounds is often the result of conformational polymorphism.
Inorganic matter.
Elements.
Elements including metals may exhibit polymorphism. Allotropy is the term used when describing elements having different forms and is used commonly in the field of metallurgy. Some (but not all) allotropes are also polymorphs. For example, iron has three allotropes that are also polymorphs. Alpha-iron, which exists at room temperature, has a bcc form. Above 910 degrees gamma-iron exists, which has a fcc form. Above 1390 degrees delta-iron exists with a bcc form.
Another metallic example is tin, which has two allotropes that are also polymorphs. At room temperature, beta-tin exists as a white tetragonal form. When cooled below 13.2 degrees, alpha-tin forms which is gray in color and has a cubic diamond form.
A classic example of a nonmetal that exhibits polymorphism is carbon. Carbon has many allotropes, including graphite, diamond, and londsdaleite. However, these are not all polymorphs of each other. Graphite is not a polymorph of diamond and londsdaleite, since it is chemically distinct, having sp2 hybridized bonding. Diamond, and londsdaleite are chemically identical, both having sp3 hybridized bonding, and they differ only in their crystal structures, making them polymorphs. Additionally, graphite has two polymorphs, a hexagonal (alpha) form and a rhombohedral (beta) form.
Binary metal oxides.
Polymorphism in binary metal oxides has attracted much attention because these materials are of significant economic value. One set of famous examples have the composition SiO2, which form many polymorphs. Important ones include: α-quartz, β-quartz, tridymite, cristobalite, moganite, coesite, and stishovite.
Other inorganic compounds.
A classical example of polymorphism is the pair of minerals calcite, which is rhombohedral, and aragonite, which is orthorhombic. Both are forms of calcium carbonate. A third form of calcium carbonate is vaterite, which is hexagonal and relatively unstable. 
β-HgS precipitates as a black solid when Hg(II) salts are treated with H2S. With gentle heating of the slurry, the black polymorph converts to the red form.
Factors affecting polymorphism.
According to Ostwald's rule, usually less stable polymorphs crystallize before the stable form. The concept hinges on the idea that unstable polymorphs more closely resemble the state in solution, and thus are kinetically advantaged. The founding case of fibrous vs rhombic benzamide illustrates the case. Another example is provided by two polymorphs of titanium dioxide. Nevertheless, there are known systems, such as metacetamol, where only narrow cooling rate favors obtaining metastable form II.
Polymorphs have disparate stabilities. Some convert rapidly at room (or any) temperature. Most polymorphs of organic molecules only differ by a few kJ/mol in lattice energy. Approximately 50% of known polymorph pairs differ by less than 2 kJ/mol and stability differences of more than 10 kJ/mol are rare. Polymorph stability may change upon temperature or pressure. Importantly, structural and thermodynamic stability are different. Thermodynamic stability may be studied using experimental or computational methods.
Polymorphism is affected by the details of crystallisation. The solvent in all respects affects the nature of the polymorph, including concentration, other components of the solvent, i.e., species that inhibiting or promote certain growth patterns. A decisive factor is often the temperature of the solvent from which crystallisation is carried out.
Metastable polymorphs are not always reproducibly obtained, leading to cases of "disappearing polymorphs", with usually negative implications on law and business.
In pharmaceuticals.
Legal aspects.
Drugs receive regulatory approval and are granted patents for only a single polymorph.
In a classic patent dispute, the GlaxoSmithKline defended its patent for the Type II polymorph of the active ingredient in Zantac against competitors while that of the Type I polymorph had already expired.
Polymorphism in drugs can also have direct medical implications since dissolution rates depend on the polymorph. Polymorphic purity of drug samples can be checked using techniques such as powder X-ray diffraction, IR/Raman
spectroscopy, and utilizing the differences in their optical properties in some cases.
Case studies.
The known cases up to 2015 are discussed in a review article by Bučar, Lancaster, and Bernstein.
Dibenzoxazepines
Multidisciplinary studies involving experimental and computational approaches were applied to pharmaceutical molecules to facilitate the comparison of their solid-state structures. Specifically, this study has focused on exploring how changes in molecular structure affect the molecular conformation, packing motifs, interactions in the resultant crystal lattices and the extent of solid-state diversity of these compounds. The results highlight the value of crystal structure prediction studies and PIXEL calculations in the interpretation of the observed solid-state behaviour and quantifying the intermolecular interactions in the packed structures and identifying the key stabilising interactions. An experimental screen yielded 4 physical forms for clozapine as compared to 60 distinct physical forms for olanzapine. The experimental screening results of clozapine are consistent with its crystal energy landscape which confirms that no alternate packing arrangement is thermodynamically competitive to the experimentally obtained structure. Whilst in case of olanzapine, crystal energy landscape highlights that the extensive experimental screening has probably not found all possible polymorphs of olanzapine, and further solid form diversity could be targeted with a better understanding of the role of kinetics in its crystallisation. CSP studies were able to offer an explanation for the absence of the centrosymmetric dimer in anhydrous clozapine. PIXEL calculations on all the crystal structures of clozapine revealed that similar to olanzapine, the intermolecular interaction energy in each structure is also dominated by the Ed. Despite the molecular structure similarity between amoxapine and loxapine (molecules in group 2), the crystal packing observed in polymorphs of loxa differs significantly from the amoxapine. A combined experimental and computational study demonstrated that the methyl group in