Delivery of antituberculosis drugs by nanoparticles offers potential advantages over free drug, including the potential to target specifically the tissues and cells that are infected by Mycobacterium tuberculosis, thereby simultaneously increasing therapeutic efficacy and decreasing systemic toxicity, and the capacity for prolonged release of drug, thereby allowing less-frequent dosing. We have employed mesoporous silica nanoparticle (MSNP) drug delivery systems either equipped with a polyethyleneimine (PEI) coating to release rifampin or equipped with cyclodextrin-based pH-operated valves that open only at acidic pH to release isoniazid (INH) into M. tuberculosis-infected macrophages. The MSNP are internalized efficiently by human macrophages, traffic to acidified endosomes, and release high concentrations of antituberculosis drugs intracellularly. PEI-coated MSNP show much greater loading of rifampin than uncoated MSNP and much greater efficacy against M. tuberculosis-infected macrophages. MSNP were devoid of cytotoxicity at the particle doses employed for drug delivery. Similarly, we have demonstrated that the isoniazid delivered by MSNP equipped with pH-operated nanovalves kill M. tuberculosis within macrophages significantly more effectively than an equivalent amount of free drug. These data demonstrate that MSNP provide a versatile platform that can be functionalized to optimize the loading and intracellular release of specific drugs for the treatment of tuberculosis.