Microplastics (<5 mm) have been found in many fish species, from most marine environments. However, the mechanisms underlying microplastic ingestion by fish are still unclear, although they are important to determine the pathway of microplastics along marine food webs. Here we conducted experiments in the laboratory to examine microplastic ingestion (capture and swallowing) and egestion by juveniles of the planktivorous palm ruff, Seriolella violacea (Centrolophidae). As expected, fish captured preferentially black microplastics, similar to food pellets, whereas microplastics of other colours (blue, translucent, and yellow) were mostly co-captured when floating close to food pellets. Microplastics captured without food were almost always spit out, and were only swallowed when they were mixed with food in the fish's mouth. Food probably produced a 'gustatory trap' that impeded the fish to discriminate and reject the microplastics. Most fish (93% of total) egested all the microplastics after 7 days, on average, and 49 days at most, substantially longer than food pellets (<2 days). No acute detrimental effects of microplastics on fish were observable, but potential sublethal effects of microplastics on the fish physiological and behavioural responses still need to be tested. This study highlights that visually-oriented planktivorous fish, many species of which are of commercial value and ecological importance within marine food webs, are susceptible to ingest microplastics resembling or floating close to their planktonic prey.