Sarcophaga pernix, also known as the red-tailed flesh fly, is a fly in the Sarcophagidae family. This fly often breeds in carrion and feces, making it a possible vector for disease. The larvae of this species can cause myiasis, as well as accidental myiasis. It is potentially useful in forensic entomology.