Comprehensive breastfeeding-specific safety data for trazodone is more limited compared with some other antidepressants that have been more extensively studied in lactation. This doesn't mean it's known to be unsafe — it means the evidence base is thinner, which calls for an individualized conversation rather than a blanket answer.
If you're breastfeeding and trazodone is being considered or continued, discuss it with both your prescriber and your baby's pediatrician, who can weigh your specific treatment needs, dose, and any observations about your infant.