Wild rufous-tailed jacamars (Calbula rujcaudu) were shown to prey frequently, but selectively, upon butterflies in a Costa Rican rainforest. Two individually caged birds (a male and a female) were further tested with over 1000 butterflies of I14 morphs. Both wild jacamars and the two captive individuals were able to capture and handle all kinds and sizes of local butterflies. These butterflies (and other winged insects) were recognized by the jacamars as prey only through their movement. l h e captive birds discriminated between an unacceptable group of butterflies, which generally fly slowly or regularly, are warningly coloured and mimetic, with transparent, or white, orange, red, and/or black coloration, and an acceptable group that generally fly fast or erratically, are cryptic (on one or both sides), and have yellow, orange, green, blue, and/or brown coloration. These different morphological and behavioural characteristics of butterflies presumably helped the jacamars to assess their palatability.Most individuals of unacceptable butterflies (e.g. Baffus and Purides (Papilionidae), some Pieridae, Diaethria and Callicore (Nymphalinae), Heliconiinae, Acraeinae, Ithomiidae, and Danaidae) were sight-rejected by the male jacamar (Jacamar 2), and many of the same were also sight-rejected by the female (Jacamar 1). In cases when the above butterflies were attacked, they were quickly released and usually unharmed. The captive female bird, after long periods without food, consumed many pierid and heliconiine butterflies that were consistently rejected by the male for their distasteful and dangerous qualities. In contrast, palatable butterflies (e.g. Papilio, Charaxinae, most Nymphalinae, Morpho, Brassolinae, and Satyrinae) were usually quickly attacked and consumed. The captive jacamars were able to discriminate between the very similar colour patterns of some Batesian mimics and their models, and could memorize the palatability of a large variety of butterflies. The discriminatory abilities of specialized insectivorous birds such as jacamars are likely to play a major role in the evolution of neotropical butterfly mimicry.