Fluoxetine is in a class of medications called selective serotonin reuptake inhibitors (SSRIs), a type of antidepressant. It works by increasing the amount of serotonin in the brain. Fluoxetine in particular has been evaluated for use in hot flashes. SSRIs in general have been evaluated for use in depression.