The molecule has been found to affect the workings of the Human Immunodeficiency Virus by preventing the 'docking' of the virus's glycoproteins to human lymphocytes. In New Zealand researchers are using castanospermine as the starting point from which to develop other compounds. The molecule Swainsonine prevents the action of the enzyme that breaks down the sugar manose. Overseas this compound is being tested for its anti-tumour properties. Hyoscyamine is used in optometry to dilate pupils.
Hyoscine is used as a muscle relaxant and as a transdermal patch to treat motion sickness.
A derivative of the compound is used to treat gastric disorders. At the University of Queensland research on Duboisia hybrids, to produce uniform material, is being undertaken. It can absorb Ultraviolet light and has therefore been used in sunscreen creams. It has also been used to treat dermatitis. This plant contains a water-insoluble alkaloid.