The good news is, melatonin is generally considered safe for dogs at the right dosage, says Dr. Huzzah. Since the correct melatonin dosage for dogs can vary quite a bit, it’s best to talk to your veterinarian before giving it to your pet