The invention relates to the technical field of cortex phellodendri chinensis extraction, and provides an extraction process for optimizing berberine hydrochloride in cortex phellodendri chinensis decoction pieces, the extraction process for optimizing berberine hydrochloride in the cortex phellodendri chinensis decoction pieces comprises the following steps: taking the cortex phellodendri chinensis decoction pieces, naturally air-drying, and sieving the crushed powder to obtain berberine hydrochloride powder; adding water into dilute sulphuric acid, beta-glucanase and cellulase, and mixing for later use; respectively loading the cortex phellodendri chinense powder in the step 1 and sulfuric acid into a feeding device, adding into different extraction tanks, and carrying out reflux extraction; combining all filtrates, concentrating, and adjusting the pH with diluted hydrochloric acid; and cooling, adding a saturated NaCl solution, preserving overnight at 4 DEG C, carrying out suction filtration, and drying. According to the optimized extraction process for berberine hydrochloride in cortex phellodendri chinensis decoction pieces, the enzyme activity is improved through dilute sulphuric acid, plant cell walls are thoroughly damaged by beta-glucanase and cellulase, effective components are extracted more sufficiently, and therefore the effects of being capable of accelerating extraction, sufficient in extraction and high in extraction rate are achieved.