State laws on generic drug substitution vary widely across the U.S., affecting how pharmacists replace brand-name drugs with generics. Some states require substitution, others require patient consent, and a few block swaps for high-risk medications entirely.