Disclosed is an indwelling fecal diverting device. The device comprises an elongate tube formed, at an upper end thereof, with a tubular body part a pair of fixing balloons attached up and down to an outer surface of the tubular body part such that a clamping portion is defined between the fixing balloons and a tube opening and closing balloon attached to an inner surface of the tubular body part. An injection passage is defined in the tube so that a remedial liquid can be injected through the injection passage to the outside of the tube to medically treat an anastomosed portion of an intestinal tract of a patient. The indwelling fecal diverting device is fitted into the intestinal tract of the patient, air is supplied into the fixing balloons to inflate them, and the intestinal tract is clamped around the clamping portion using a clamping band.