The incidence of adverse effects and pathogen resistance encountered with small molecule antibiotics is increasing. As such, there is mounting focus on immunogene therapy to augment the immune system's response to infection and accelerate healing. A major obstacle to in vivo gene delivery is that the primary uptake pathway, cellular endocytosis, results in extracellular excretion and lysosomal degradation of genetic material. Here we show a nanosystem that bypasses endocytosis and achieves potent gene knockdown efficacy. Porous silicon nanoparticles containing an outer sheath of homing peptides and fusogenic liposome selectively target macrophages and directly introduce an oligonucleotide payload into the cytosol. Highly effective knockdown of the proinflammatory macrophage marker IRF5 enhances the clearance capability of macrophages and improves survival in a mouse model of Staphyloccocus aureus pneumonia.