D-Serine is a co-agonist of N-methyl D-aspartate, a glutamate receptor, which is a major excitatory neurotransmitter receptor in the brain. Human serine racemase (hSR) and serine dehydratase (hSDH) are two important pyridoxal-5'-phosphate-dependent enzymes that synthesize and degrade D-serine, respectively. hSR and hSDH have significant sequence homology (28% identity) and are similar in their structural folds (root-mean-square deviation, 1.12 Å). Sequence alignment and structural comparison between hSR and hSDH reveal that S84 in hSR and A65 in hSDH play important roles in their respective enzyme activities. We surmise that exchange of these two amino acids by introducing S84A hSR and A65S hSDH mutants may result in switching their protein functions. To understand the modulating mechanism of the key residues, mutants S84A in hSR and A65S in hSDH were constructed to monitor the change of activities. The structure of A65S hSDH mutant was determined at 1.3 Å resolution (PDB 4H27), elucidating the role of this critical amino acid. Our study demonstrated S84A hSR mutant behaved like hSDH, whereas A65S hSDH mutant acquired an additional function of using D-serine as a substrate.