A vasectomy does not affect your testosterone levels because the procedure only affects your vas deferens, the tubes that carry sperm. Testosterone is produced in your testicles, which are unaffected.