Heartworm disease is not contagious, meaning that a dog cannot catch the disease from being near an infected dog. Heartworm disease is only spread through the bite of a mosquito, which is why it’s always a good idea to keep your own pets up to date on their monthly preventatives including flea and tick.