Some causes of testicle pain may include trauma, prolonged sitting, swelling, infection, spermatoceles, testicular torsion, and varicoceles. It may also be caused by pain elsewhere, such as the back.