Opal is a hydrated silica material with the general chemical formula SiO₂·nH₂O, containing a variable amount of water, typically between 3% and 9%.

Unlike quartz, it does not possess a fully developed crystalline structure and is generally classified as an amorphous or poorly crystalline form of silica. Historically, opal was often grouped with quartz and other silica varieties, sometimes being described as an amorphous variety of quartz or as a form of chalcedony.

Older mineralogical classifications also associated it with cristobalite, owing to similarities in its composition and structural characteristics.

Modern mineralogy distinguishes opal as a separate mineralogical species and recognizes several structural types based on their degree of atomic organization, particularly opal-A, opal-CT, and opal-C. Opal-A is predominantly amorphous, whereas opal-CT and opal-C exhibit varying degrees of structural order resembling tridymite and cristobalite, respectively.

Opals occur in a wide range of colors and forms, including common opal, precious opal, and hyalite. Precious opal is distinguished by its characteristic play-of-color, an optical phenomenon resulting from the diffraction of light by regularly arranged microscopic silica spheres. Opal commonly forms through the precipitation of silica-rich solutions in sedimentary and volcanic environments and is widely used as a gemstone and ornamental material.