The rufous-margined antwren (Herpsilochmus rufimarginatus) is an insectivorous bird in the antbird family Thamnophilidae. It is found in Argentina, Brazil, and Paraguay. Its natural habitats are subtropical or tropical dry forest, subtropical or tropical moist lowland forest, subtropical or tropical moist montane forest, and subtropical or tropical dry shrubland.