Provided is a composition for an enteric hard capsule by taking advantage of conventionally unknown thermal gelation characteristics of a neutralized aqueous solution of an enteric polymer, so as to obtain an enteric capsule having sufficient water and acid resistances. More specifically, provided are the composition comprising hypromellose acetate succinate having a molar substitution with an acetyl group per anhydroglucose unit of 0.6 to 0.8 and a ratio of the molar substitution with an acetyl group to a molar substitution with a succinyl group per anhydroglucose unit of 2.0 to 4.0, a neutralizer, and water and a method for producing an enteric hard capsule comprising the steps of: immersing a core pin heated at 50 to 80°C in the composition, taking the immersed core pin out of the composition, and drying a gel layer of the hypromellose acetate succinate formed on the taken-out core pin.