Provided herein are novel piperazine compounds and pharmaceutical compositions thereof comprising the piperazine compounds for inhibiting serotonin reuptake and/or acting as 5-HT1A receptor agonists. Also provided herein are methods for preparing the novel piperazine compounds and pharmaceutical compositions thereof, and uses of them in treating central nervous system (CNS) dysfunction.