Cable management refers to management of electrical or optical cable in a cabinet or an installation. The term is used for products, workmanship or planning. Cables can easily become tangled, making them difficult to work with, sometimes resulting in devices accidentally becoming unplugged as one attempts to move a cable. Such cases are known as "cable spaghetti", any kind of problem diagnosis and future updates to such enclosures could be very difficult.
Cable management both supports and contains cables during installation, and makes subsequent maintenance or changes to the cable system easier. Products such as cable trays, cable ladders, and cable baskets are used to support a cable through cabling routes.