Erythropoietin (EPO) is a hormone produced primarily by the kidneys, with small amounts made by the liver. EPO plays a key role in the production of red blood cells (RBCs), which carry oxygen from the lungs to the rest of the body. This test measures the amount of erythropoietin in the blood.