Acetone
Acetone, a solvent, dissolves Styrofoam on contact. Acetone can be found in nail polish remover and denatured alcohol which is often sold in paint stores. All chemical compounds related to acetone, such as methyl ethyl ketone (MEK) and methyl isobutal ketone (MIBK), will also dissolve Styrofoam.
Gasoline
The benzene, toluene and xylene in gasoline are what dissolve Styrofoam. These chemicals have a similar structure to the polystyrene molecules. A general rule of chemistry is that chemicals with similar molecular structures tend to dissolve each other. Because Styrofoam and gasoline have similar molecular structures, when the two come into contact, the gasoline breaks down the foam molecules. This releases the air contained in the foam, liquefying it.
Model Glue
Old-fashioned plastic model glue also contains toluene (CH3)-(C6H5), as well as dissolved polystyrene, which is included as a thickener in the adhesive. The polystyrene in the glue remains liquid because of the toluene. Although not as reactive as acetone or gasoline, plastic model glue will erode solid Styrofoam over time.
Polyester Resins
Polyester resins typically used in fiberglass will degrade polystyrene over time. Polyester resins can be found in molding compounds, as well as laser printer toner. Polyester resins can also be found in fiberglass reinforced plastic (FRP), which is often used in restaurants, kitchens, restrooms and other indoor settings where washable walls are necessary. Polyester resins are also commonly used to make water crafts, like dingies and kayaks.
Dimethyl Sulfoxide
Dimethyl sulfoxide (DMSO), a solvent, quickly breaks down Styrofoam. DMSO is a by-product of the wood industry that has been used as a commercial solvent since 1953. It is also used in various pharmaceutical applications.
N-Methyl Pryolidone
N-methyl pyrolidone (NMP) is another solvent that will dissolve Styrofoam on contact. NMP is used in the manufacturing of products like pigments, cosmetics, insecticides, herbicides and fungicides, often in place of chlorinated hydrocarbons.