Ryll was discovered around 4800 BBY and mined on the planet Ryloth, although it was presumably found on other planets such as Naos III. It was also smuggled into the Corporate Sector for illegal sale to the workers. As with many substances used for illegal recreation, ryll had the potential to be very addictive and dangerous. In addition to the mining operations on Ryloth, just before the Battle of Yavin the Hutts used slaves from a false religion to produce the spice on the planet Ylesia until the Rebel Alliance involved themselves with the operations and ultimately forced the shut down of the planet's spice ring.
In 6 ABY the variety of Ryll kor was used for the cure of the Krytos virus which made Ryloth of galactic importance.
Both the Republic and the Empire placed restrictions on its use, licensing it only to pharmaceutical companies for the production of painkillers and anesthetics.