The invention discloses a tropane alkaloid extraction technology, which comprises the following steps: crushing roots of the Tibetan medicine Anisodus tanguticus (Maxim.) Pascher and then extracting to obtain an extract, filtering the extract through a ceramic membrane to remove impurities such as vegetable protein, colloid, suspensions and the like to obtain a ceramic membrane clear liquid, removing impurities such as small molecular protein, pigments and the like through a ultrafiltration membrane so as to obtain a ultrafiltration membrane clear liquid, adsorbing Anisodus tanguticus (Maxim.)Pascher through macroporous adsorption resin, parsing through ethanol to obtain a macroporous adsorption resin parsing solution, concentrating through a nanofiltration membrane to obtain a nanofiltration membrane concentrated solution containing tropane alkaloid, and evaporating and crystallizing. The technical problem that impurities such as suspensions, colloid, protein, etc. in the extractionprocess of tropane alkaloid are easy to pollute macroporous adsorption resin in the subsequent process is solved. In comparison with the prior art, the equipment process is simple, degree of automation is high, the control process is simple, and production efficiency and product recovery rate are improved.