The invention discloses an assembly-type underground cable trench based on comprehensive wiring of a city. The assembly-type underground cable trench is characterized in that according to the characteristics of the starting part, the straight part, the bent part, the narrowing part and the ending part of the underground cable trench, a cable inlet trench (101), a straight cable trench (102), a bent cable trench (103), a cable outlet trench (104), a straight narrowing cable trench (105), a bent narrowing cable trench (106) and a cable safety maintenance viewing port (107), all of which are respectively formed in an assembled mode, are installed at corresponding positions and are combined to form a closed underground cable trench transportation cable system. The assembly-type underground cable trench is the totally-closed system, has good compression resistance, impact resistance and water resistance to the outside, can be used for a long time at the temperature ranging from -50 DEG C to 100 DEG C without being damaged, and has good moisture resistance, acid and alkali resistance and corrosion resistance to the inside. Cables can be transported in a shielded and isolated mode.