Provided are a composite capsule and a method of preparing the same, the composite capsule comprising: a first dissolving part comprising a core comprising, as an active ingredient, esomeprazole or a pharmaceutically acceptable salt thereof, an inner coating layer on the core, and a first enteric coating layer on the inner coating layer; anda second dissolving part comprising a core comprising, as an active ingredient, esomeprazole or a pharmaceutically acceptable salt thereof, an inner coating layer on the core, and a second enteric coating layer on the inner coating layer,wherein the first enteric coating layer comprises, as a coating base material, methacrylic acid copolymer LD in an amount of about 5 % (w/w) to about 50 % (w/w) of the core on which the inner coating layer is formed, andthe second enteric coating layer comprises, as a coating base material, a mixture containing methacrylic acid copolymer S and methacrylic acid copolymer L at a ratio of about 1.5:1 (w/w) to about 3.5:1 (w/w) in an amount of about 15 % (w/w) to about 40 %(w/w) of the core on which the inner coating layer.