A pharmaceutical formulation containing a glycosaminoglycan is provided, In this pharmaceutical formulation, a glycosaminoglycan layer surrounding a drug layer is used to improve the treatment efficiency of enteric diseases. According to an embodiment, the pellet above comprises a core, a drug layer surrounding the core, a glycosaminoglycan layer surrounding the drug layer, an isolation layer surrounding the glycosaminoglycan layer, and an enteric coating layer surrounding the isolation layer. Accordingly, the weight ratio of the core, the drug layer, the glycosaminoglycan layer, the isolation layer, and the enteric coating is 100:137-141: 25-29:9-13:60-64, and preferably 100: 139: 27: 11: 62.