How long does it take for semen to turn yellow if one does not ejaculate?

Oct 11, 2022 Source: Cainiu Health
Disease description:

Today, after sexual intercourse, I noticed my semen appeared yellow. Later, I looked it up online and found that this could happen due to prolonged abstinence. How long does one need to refrain from ejaculation before semen turns yellow?

Doctor's answer (1)
Dr. Cao Zhiqiang

Not ejaculating for a month can cause semen to turn yellow.

If the interval is long—generally longer than one month—the semen may appear yellow. In addition to prolonged abstinence, excessive masturbation or overindulgence in sexual activity leading to prostatitis can also cause yellow semen. If semen remains yellow for an extended period, one should be cautious and consider the possibility of such inflammation.