Anhydrite is most frequently found in evaporite deposits with gypsum; it was, for instance, first discovered, in 1794, in a salt mine near Hall in Tirol. In this occurrence depth is critical since nearer the surface anhydrite has been altered to gypsum by absorption of circulating ground water.
From an aqueous solution calcium sulfate is deposited as crystals of gypsum, but when the solution contains an excess of sodium or potassium chloride anhydrite is deposited if temperature is above 40 °C. This is one of the several methods by which the mineral has been prepared artificially, and is identical with its mode of origin in nature, the mineral is common in salt basins.
Anhydrite occurs in a tidal flat environment in the Persian Gulf sabkhas as massive diagenetic replacement nodules. Cross sections of these nodular masses have a netted appearance and have been referred to as chicken wire anhydrite. Nodular anhydrite occurs as replacement of gypsum in a variety of sedimentary depositional environments.
Massive amounts of anhydrite occur when salt domes form a caprock. Anhydrite is 1–3% of the salt in salt domes and is generally left as a cap at the top of the salt when the halite is removed by pore waters. The typical cap rock is a salt, topped by a layer of anhydrite, topped by patches of gypsum, topped by a layer of calcite. Interaction with oil can reduce SO4 creating calcite, water, and hydrogen sulfide (H2S).
The name anhydrite was given by A. G. Werner in 1804, because of the absence of water of crystallization, as contrasted with the presence of water in gypsum. Some obsolete names for the species are muriacite and karstenite; the former, an earlier name, being given under the impression that the substance was a chloride (muriate). A peculiar variety occurring as contorted concretionary masses is known as tripe-stone, and a scaly granular variety, from Volpino, near Bergamo, in Lombardy, as vulpinite; the latter is cut and polished for ornamental purposes.