Coughing in dogs like people, have many reasons. Simple airway irritation or allergy, or it could be an upper respiratory infection, Heart disease or Lung disease or even Heart worm disease. Coughing is best diagnosed with a physical exam mixed with several xrays of the chest. It is very Important to have a persistent cough checked out.