Neutered dogs will still try to mate. Some dogs have a reduction in mating behavior but the structure of a dog's brain was influenced by circulating testosterone even before birth. Sperm can remain in the dog's reproductive tract up to thirty days after the surgery and could impregnate a female in heat. Mating behaviors are more likely to emerge in dogs that were reproductively mature before neutering.