The red flour beetle (Tribolium castaneum) is a species of beetle in the family Tenebrionidae, the darkling beetles. The red flour beetle, and other closely related beetles like Gnatocerus cornutus, are a worldwide pest of stored products, particularly food grains, and a model organism for ethological and food safety research.