Casokefamide (INN), also known as β-casomorphin 4027 (β-CM-4027) and [<small>D</small>-Ala<sup>2,4</sup>,Tyr<sup>5</sup>]-β-casomorphin-5-amide, is a peripherally-specific, synthetic opioid pentapeptide with the amino acid sequence Tyr-D-Ala-Phe-D-Ala-Tyr-NH2.[1] Derived from the β-casomorphin sequence, it was designed with the intention of improving resistance to digestive enzymes so that it could be used as an antidiarrheal medicine.[2] Unlike other casomorphins, which are generally selective μ-opioid receptor agonists, casokefamide binds to both the μ- and δ-opioid receptors. In a clinical study, casokefamide was found to be effective via the oral route for the treatment of chronic diarrhea, and did not produce any side effects. However, further clinical development was not pursued and it was never marketed.