Oxytocin is synthesized in the magnocellular neurosecretory cells of the hypothalamus, specifically in the paraventricular and supraoptic nuclei. These neurons transport oxytocin down their axons to the posterior pituitary gland, where it is stored and later released into the bloodstream.