Sodium hypochlorite is an alkaline inorganic chemical compound with the formula NaOCl (also written as NaClO). It is commonly known in a dilute aqueous solution as bleach or chlorine bleach. It is the sodium salt of hypochlorous acid, consisting of sodium cations (Na+) and hypochlorite anions (−OCl, also written as OCl− and ClO−).
The anhydrous compound is unstable and may decompose explosively. It can be crystallized as a pentahydrate NaOCl·5H2O, a pale greenish-yellow solid which is not explosive and is stable if kept refrigerated.
Sodium hypochlorite is most often encountered as a pale greenish-yellow dilute solution referred to as chlorine bleach, which is a household chemical widely used (since the 18th century) as a disinfectant and bleaching agent. In solution, the compound is unstable and easily decomposes, liberating chlorine, which is the active principle of such products. Sodium hypochlorite is still the most important chlorine-based bleach.
Its corrosive properties, common availability, and reaction products make it a significant safety risk. In particular, mixing liquid bleach with other cleaning products, such as acids found in limescale-removing products, will release toxic chlorine gas. A common misconception is that mixing bleach with ammonia also releases chlorine, but in reality they react to produce chloramines such as nitrogen trichloride. With excess ammonia and sodium hydroxide, hydrazine may be generated.