Micro-capsules normally encapsulate therapeutic agents only inside their cavities. In this paper, we report on the synthesis of dually responsive poly(N-isopropylacrylamide) (PNiPAM)-co-acrylic acid (AA) hydrogel cages sub-micrometer in size and the use of these cages as drug carriers. The cavity structure of the cages can enhance volume phase transition compared to solid gel particles, thus favoring drug loading and release. TEM images and FT-IR spectra confirmed that the model drug isoniazid (INH) is located in two regions: within the shell and inside the cavity of the cages. The drugs residing in the shell can form hydrogen bonds with the cage matrix, while the drugs in the cavity are interaction free with the carrier. This difference from the residency of drugs exploited to a structure induced drug release which was programmable controlled by external pH and temperature. In vitro drug release studies showed that in a neutral medium (pH=7.4), major drugs were preserved within the shell, while in an acidic medium (pH=1.2), nearly all of the drugs were released due to the dissociation of hydrogen bonds.