Tissue-specific mRNA stability is important for cell fate and physiology, but the mechanisms involved are not fully understood. We found that zygotic mRNA stability in Drosophila correlates with codon content: optimal codons are enriched in stable transcripts associated with metabolic functions like translation, while non-optimal codons are enriched in unstable transcripts, including those associated with neural development. Bioinformatic analyses and reporter assays revealed that similar codons stabilize or destabilize mRNAs in the nervous system and other tissues, but the link between codon content and stability is attenuated in the nervous system. We confirmed that optimal codons are decoded by abundant tRNAs while non-optimal codons are decoded by less abundant tRNAs in embryos and in the nervous system. We conclude that codon optimality is a general determinant of zygotic mRNA stability, and attenuation of codon optimality allows trans-acting factors to exert greater influence over mRNA decay in the nervous system.