Many plant secondary metabolites show strong biological activities and are potentially also toxic to plants, while plants producing such active compounds are usually insensitive to their own metabolites, suggesting that they have species-specific detoxification mechanisms. In order to clarify the detoxification mechanism of alkaloids, we used cultured cells of Coptis japonica, which are capable of producing a yellow benzylisoquinoline alkaloid, berberine, and accumulate it in the vacuole. Unlike other plant cells that do not produce berberine, C. japonica shows strong tolerance to this alkaloid. We established a fission yeast strain that was sensitive to berberine and performed functional screening using a C. japonica cDNA library. One cDNA clone, which conferred clear berberine tolerance, encoded galactinol synthase (CjGolS). The possible role of CjGolS in berberine tolerance is discussed.