Cancer can lead to spinal cord compression through the growth of metastatic tumors in the vertebrae. These tumors can invade the spinal canal, causing direct pressure on the spinal cord. Common cancers that metastasize to the spine include breast cancer, lung cancer, and prostate cancer. Less commonly, primary spinal cord tumors can also cause compression.