Barilla refers to several species of salt-tolerant (halophyte) plants that, until the 19th Century, were the primary source of soda ash and hence (we now know) of sodium carbonate. The word "barilla" was also used directly to refer to the soda ash obtained from plant sources. The word is an anglicization of the Spanish word for saltwort plants (a particular category of halophytes).
A very early reference indicating the value placed upon soda ash in Catalonia has been given by Glick, who notes that "In 1189 the monastery of Poblet granted to the glassblower Guillem the right to gather glasswort in return for tithe and two hundred pounds of sheet glass paid annually (The site of these glassworks, at Narola, was excavated in 1935.)." By the 18th Century, Spain's barilla industry was exporting large quantities of soda ash of exceptional purity; the product was refined from the ashes of barilla plants that were specifically cultivated for this purpose. Presumably the word "barilla" entered English and other languages as a consequence of this export trade. The main Spanish barilla species included (i) Salsola soda (the common English term barilla plant for Salsola soda reflects this usage), (ii) Salsola kali, and (iii) Halogeton sativus (formerly Salsola sativa). Fairly recently, Pérez has concluded that the most prominent species was likely Halogeton sativus; earlier authors have tended to favor Salsola soda.
The word "barilla" was also used directly to refer to soda ash from any plant source, including not only the saltworts grown in Spain, but also glassworts, mangroves, and seaweed. These types of plant-derived soda ash are impure alkali substances that contain widely varying amounts of sodium carbonate (Na2CO3), some additional potassium carbonate (also an alkali), and a predominance of non-alkali impurities. The sodium carbonate, which is water-soluble, is "" (extracted with water) from the ashes of the burned, dried plants. The resulting solution is boiled dry to obtain the finished barilla. A very similar process is used to obtain potash (mainly potassium carbonate) from the ashes of hardwood trees. The best Spanish barilla—prepared by master barrilleros—contained about 30% Na2CO3. In 1877 Kingzett described the importance of the barilla trade to Spain as follows: "So highly was the product valued, and the importance of the trade regarded, that by the laws of Spain the exportation of the seed was an offence punishable by death."