generic name for zoloft is used to treat depression, panic disorder and social anxiety disorder. Used as part of a treatment program that includes psychological, educational and social interventions along with medication this type of drug has been found effective in almost 50% of patients diagnosed with depression.