The main difference between shielded twisted pair (STP) and unshielded twisted pair (UTP) cable is the presence of a metallic shield around the twisted pairs in STP cable. This shield helps to protect against interference and crosstalk. UTP cable does not have this shield, making it more susceptible to interference.