Objective To optimize the prescription of GA and GB hydrophilic gel matrix tablets; To study the in vitro release mechanism. Methods On the basis of the results of the mono-factor investigation, mixture uniform design was used to optimize the handicraft molding prescription of GA and GB hydrophilic gel matrix tablets. The release mechanism was investigated by the vitro of the GA and GB hydrophilic gelmatrix tablets to accumulate releasing rate to conduct linear fitting. Results The optimized prescription of GA and GB hydrophilic gel matrix tablets was: powder: HPMC: lactose=23:24:53. Conclusion Mixture uniform design can be used to optimize the prescriptions of GA and GB hydrophilic gel matrix tablets, and the results are accurate. The hydrophilic gelmatrix tablets release medicine by non-Fick mechanism, and the medicine release is in accordance with zero-order.