DNA was purified from whale shark Rhincodon typus faecal material that contained DNA derived from their prey. A DNA-based krill identification method was used to determine the exact krill species upon which the whale shark was feeding, where morphological analysis had failed to make an identification.