Ditching equipment with a self winding and unwinding type cable comprises a machine base. A stand column is vertically arranged at one end of the surface of the machine base, a guide wheel is installed at the top end of the stand column, and a control chamber, a winch and a cable winding base are installed on the surface of the machine base. A traction rope is wound around the outer wall of the winch, one end of the cable is electrically connected with the control chamber, the other end of the cable penetrates the guide wheel in an attached manner, and the end portion of the cable is electrically connected with a diving motor. Multiple floatable pressure applying mechanisms are mounted in the cable winding base. According to the ditching equipment with the self winding and unwinding type cable, during diving, the diving motor moves downwards to drive the cable to be separated from the cable winding base, so that cable unwinding is achieved, and when the cable is unwound outwards, the pressure applying mechanisms are upwards lifted; during cable winding, the pressure applying mechanisms can drive the cable to be wound into the cable winding base under the action of dead weight; andpower is not needed for cable winding and unwinding, the whole winding and unwinding process is stable in action, a control system is not needed, the structure is simple, cost is low, and the occupiedarea is small.