Tapeworms are usually gone within 24 hours after deworming. However, it is not always possible to know exactly how long tapeworms will remain in your dog after deworming. This is because there are many different types of tapeworms, and some can live for up to five years in your pet's digestive tract.