Previous cafeteria studies suggested that a moderate natural gastrointestinal nematode (GIN) infection did not modify the resource selection of adult Criollo goats towards tannin-rich plants compared with worm-free goats. A higher infection with Haemonchus contortus could trigger a change in the resource selection behaviour towards tannin-rich foliage. Alternatively, goats might select plant species solely to meet their nutritional requirements. A cafeteria study investigated the effect of a high artificial infection with H. contortus on the feed resource selection of goats. Adult Criollo goats (37.5±4.8 kg BW) with browsing experience were distributed in two groups: the infected group (IG) with six animals artificially infected with H. contortus (6000 L3/animal); and the non-infected group (NIG) with six animals maintained worm-free. The experiment included two 5-day periods with additional 5-day adaptation period. In the first period, animals were offered foliage of five plant species with a decreasing gradient of condensed tannins (CT) (Mimosa bahamensis, Gymnopodium floribundum, Havardia albicans, Acacia pennatula, Lysiloma latisiliqum), and three plant species with negligible CT content (Leucaena leucocephala, Piscidia piscipula and Brosimum alicastrum). In the second period the foliage of B. alicastrum was withdrawn. A grain-based concentrate feed was offered daily at 1% BW in DM basis. Dry matter and nutrient intake was determined. Foliage selection of each experimental group was determined using the Chesson selection index. The H. contortus egg count per gram of faeces (EPG) was determined for infected goats twice daily. Chesson index showed a similar pattern of foliage selection on periods 1 and 2. Mean EPG of goats in IG was 2028±259 EPG during period 1 and 1 293±198 EPG during period 2 (P>0.05). During period 1, the selection pattern was highest for B. alicastrum (tannin-free), followed by a tannin-rich plant (M. bahamensis). These two plants remained as highly selected during period 2. The Chesson index showed that both experimental groups (IG and NIG) selected the same plant species in both periods. Thus, a high H. contortus infection did not affect selection of goats fed with CT-rich plants. Apparently, goats balanced their nutrient intake with the plants selected, showing evidence of nutritional wisdom. This balance may have helped to prevent excess protein in the diet and also to maintain a low GIN infection, both considered as examples of prophylactic self-medication.