This paper describes the design of new controlled delivery systems consisting of a mesoporous support functionalized on the pore outlets with a certain hapten able to interact with an antibody that acts as a nanoscopic cap. The opening protocol and delivery of the entrapped guest is related by a displacement reaction involving the presence in the solution of the antigen to which the antibody is selective. As a proof-of-the-concept, the solid MCM-41 was selected as support and was loaded with the dye [Ru(bipy)(3)]Cl(2). Then a suitable derivative of the hapten 4-(4-aminobenzenesulfonylamino)benzoic acid was anchored on the outer surface of the mesoporous support (solid S1). Finally the pores were capped with a polyclonal antibody for sulfathiazole (solid S1-AB). Delivery of the dye in the presence of a family of sulfonamides was studied in phosphate-buffered saline (PBS; pH 7.5). A selective uncapping of the pores and dye delivery was observed for sulfathiazole. This delivery behavior was compared with that shown by other solids that were prepared as models to assess the effect of the hapten and its interaction with antibody in the dye delivery control in the presence of the antigen.