Alpha-fetoprotein (AFP) is a protein produced primarily by the liver in a developing baby (fetus) and the portion of a developing embryo that is similar to the yolk cavity in bird eggs (yolk sac tissues). AFP levels are typically elevated when a baby is born and then decline rapidly.