Cosmocercids are common nematodes that parasitize the digestive tract and lungs of amphibians and reptiles around the world. They are commonly found in leptodactylid and bufonid anurans in South America, primarily in Brazil and Argentina. This paper describes a new species of genus Cosmocerca based on specimens collected in a microhylid from the Dry Chaco ecoregion. A total of 18 specimens of Elachistocleis haroi were collected in October 2011 in Chaco province and in December 2021 and March 2022 in Formosa province, Argentina, both areas of the Dry Chaco ecoregion. The morphology of the nematodes was studied in detail using light microscopy and scanning electron microscopy. One hundred and fifty-one nematodes were collected from the large intestines of E. haroi. Based on the morphology of the caudal papillae (rosette papillae and plectanes), the presence of two spicules and the absence of caudal alae in males, and the presence of two prodelphic ovaries in females, these specimens were allocated to the genus Cosmocerca. However, they presented unique characteristics that differentiate them from all known species. Cosmocerca wichiorum sp. nov. is similar to C. archeyi, C. australis, C. sardiniae, C. zugi, and C. leytensis by having four pairs of plectanes, but can be easily distinguished from all of them by the type, number, and arrangement of the precloacal (non-plectanes), adcloacal and postcloacal papillae, by the length of the spicules and by its different zoogeographical distribution. This is the 14th species of the genus Cosmocerca described in South America and the first one for the microhylid E. haroi from the Dry Chaco ecoregion.