In chemistry, a hydride is formally the anion of hydrogen (H−), a hydrogen atom with two electrons. The term is applied loosely. At one extreme, all compounds containing covalently bound H atoms are called hydrides: water (H2O) is a hydride of oxygen, ammonia is a hydride of nitrogen, etc. For inorganic chemists, hydrides refer to compounds and ions in which hydrogen is covalently attached to a less electronegative element. In such cases, the H centre has nucleophilic character, which contrasts with the protic character of acids. The hydride anion is very rarely observed.
Almost all of the elements form binary compounds with hydrogen, the exceptions being He, Ne, Ar, Kr, Pm, Os, Ir, Rn, Fr, and Ra. Exotic molecules such as positronium hydride have also been made.
Bonds between hydrogen and the other elements range from highly to somewhat covalent. Some hydrides, e.g. boron hydrides, do not conform to classical electron counting rules and the bonding is described in terms of multi-centered bonds, whereas the interstitial hydrides often involve metallic bonding. Hydrides can be discrete molecules, oligomers or polymers, ionic solids, chemisorbed monolayers, bulk metals (interstitial), or other materials. While hydrides traditionally react as Lewis bases or reducing agents, some metal hydrides behave as hydrogen-atom donors and act as acids.
Hydrides such as sodium borohydride, lithium aluminium hydride, diisobutylaluminium hydride (DIBAL) and super hydride, are commonly used as reducing agents in chemical synthesis. The hydride adds to an electrophilic center, typically unsaturated carbon.
Hydrides such as sodium hydride and potassium hydride are used as strong bases in organic synthesis. The hydride reacts with the weak Bronsted acid releasing H2.
Hydrides such as calcium hydride are used as desiccants, i.e. drying agents, to remove trace water from organic solvents. The hydride reacts with water forming hydrogen and hydroxide salt. The dry solvent can then be distilled or vacuum transferred from the "solvent pot".