Black poop in dogs usually signals that blood has been digested somewhere in the upper digestive tract, though in some cases it’s simply the result of something dark your dog ate. The medical term is melena, and it looks distinctly tarry and sticky, not just dark brown. Understanding the difference between a harmless dietary cause and a sign of internal bleeding can help you decide how quickly your dog needs veterinary attention.
Why Blood Turns Stool Black
When a dog bleeds from the stomach or upper small intestine, that blood doesn’t stay red. It spends hours moving through the digestive tract, where stomach acid and digestive enzymes break down the hemoglobin (the protein that makes blood red). By the time it reaches the other end, the blood has turned black and gives the stool a dark, tar-like appearance and a noticeably foul smell.
This is different from bright red blood in stool, which comes from the lower digestive tract, closer to the exit. Red blood hasn’t had time to be broken down, so it keeps its color. If you’re seeing streaks of red on the surface of your dog’s poop, that points to a problem in the colon or rectum. Black, tarry stool points higher up, in the stomach or the first part of the small intestine.
Common Medical Causes
The most frequent reason for true melena in dogs is gastrointestinal ulceration. Ulcers can develop from several triggers, but pain medications are a leading culprit. Non-steroidal anti-inflammatory drugs (NSAIDs) and corticosteroids can cause GI ulcers even when given at the recommended dose. In one veterinary study, 11 dogs receiving a single NSAID at the correct dose still developed ulcerations. The risk climbs sharply when two NSAIDs are combined, or when an NSAID is paired with a steroid. All five dogs in the same study that received two NSAIDs at the same time developed full-thickness perforations of the stomach or intestinal wall.
If your dog is taking any pain or anti-inflammatory medication and you notice black stool, that connection is worth raising with your vet immediately.
Other medical causes include:
- Intestinal parasites. Hookworms attach to the wall of the small intestine with sharp, hook-like mouthparts, sucking blood and leaving small bleeding ulcers behind when they detach and reattach at new spots. Puppies are especially vulnerable because hookworms can start causing blood loss before any eggs appear in the stool, making early detection tricky.
- Tumors. Growths in the stomach or upper intestine can bleed intermittently. Dogs with mast cell tumors are at higher risk for GI ulceration as well.
- Clotting disorders. Conditions that prevent blood from clotting properly, including ingestion of rat poison, can cause bleeding throughout the GI tract.
- Kidney or liver disease. Severe organ dysfunction can lead to ulceration in the stomach lining.
- Foreign objects. Sharp items a dog has swallowed, like bone fragments, can scrape or puncture the stomach or intestinal wall.
When It’s Not Blood
Not every black stool is an emergency. Dogs that have recently eaten charcoal, dirt, blueberries, or very dark-colored treats can produce stool that looks alarming but is harmless. Iron supplements can also darken stool significantly. The key difference is texture: melena from digested blood is sticky, tarry, and has an unusually strong odor. Stool that’s simply dark from food tends to hold its normal shape and consistency.
If your dog recently ate something with a dark pigment and is otherwise acting completely normal, it’s reasonable to monitor them for 24 hours. If the black color persists beyond one or two bowel movements, or if your dog seems off in any way, don’t wait.
Warning Signs That Need Immediate Attention
Black stool on its own warrants a vet call, but certain accompanying symptoms push it into emergency territory. Check your dog’s gums by lifting the lip. Healthy gums are pink and moist. Pale, white, or grayish gums suggest significant blood loss and possible shock. Other red flags alongside black stool include weakness or reluctance to stand, a swollen or tense abdomen, visible bruising on the skin or belly, rapid breathing, and collapse or extreme lethargy.
A dog losing blood internally can deteriorate quickly. If you’re seeing pale gums along with dark stool, that combination points to enough blood loss to affect circulation, and your dog needs emergency care rather than a wait-and-see approach.
How Vets Diagnose the Cause
Your vet will likely start with a physical exam, blood work to check for anemia and organ function, and a fecal test. Hookworms and other parasites are diagnosed by identifying eggs under a microscope or through PCR testing of a stool sample, though in young puppies the worms may be causing damage before any eggs are detectable.
A fecal occult blood test can confirm whether blood is present in the stool when it isn’t visible to the naked eye. These tests have limitations in dogs. Diets containing red meat or beef liver can trigger false positives, and the test’s reliability in dogs isn’t as well established as it is in human medicine. Your vet may rely more heavily on imaging, like X-rays or ultrasound, to look for ulcers, masses, or foreign objects if the cause isn’t obvious from the initial workup. In some cases, an endoscopy (a camera inserted through the mouth) gives a direct view of the stomach lining.
What Treatment Looks Like
Treatment depends entirely on what’s causing the bleeding. If the culprit is an NSAID or steroid, stopping the medication is the first step. For GI ulcers, vets typically prescribe acid-reducing medications to let the damaged tissue heal. Proton pump inhibitors are the most effective option for ulcer treatment, outperforming older acid-blocking drugs. Dogs with significant blood loss may need IV fluids or, in severe cases, a blood transfusion.
Hookworm infections are treated with deworming medication, often with follow-up doses to catch worms at different life stages. If a foreign object or tumor is involved, surgery may be necessary.
For dogs on longer courses of acid-reducing medication (more than three to four weeks), the drug usually needs to be tapered gradually rather than stopped abruptly, because the stomach can temporarily overproduce acid in a rebound effect after treatment ends. Most dogs with uncomplicated ulcers recover well once the underlying cause is addressed, but the timeline varies from a few days for mild cases to several weeks for more severe ulceration or perforation.
What to Do Right Now
If you’ve just noticed black, tarry stool from your dog, take a mental inventory. Has your dog eaten anything dark recently? Is your dog on any medications, especially pain relievers? How is your dog acting otherwise: eating normally, energetic, or sluggish and off?
Collect a sample of the stool in a plastic bag if you can, as your vet will want to examine it. If your dog is showing any signs of distress, weakness, or pale gums, head to an emergency vet without waiting. If your dog seems completely fine and recently ate something dark, monitoring for 24 hours is reasonable, but a single episode of truly tarry, sticky black stool in a dog that hasn’t eaten anything unusual is worth a same-day vet call.

