EPO is primarily synthesized by peritubular fibroblasts in the renal cortex. In response to low oxygen levels, these cells increase the transcription of the EPO gene, leading to higher levels of circulating EPO. Additionally, a small amount of EPO is produced by the liver, particularly in fetal and neonatal stages.