Blue balls, also known as epididymal hypertension, are a relatively harmless condition caused by the build-up of semen in the epididymis after prolonged sexual arousal without ejaculation.