Colorectal cancer (CRC) is the third most commonly diagnosed cancer worldwide. Hereditary CRC syndromes account for approximately 5–10% of all CRC, with a lifetime risk of CRC that approaches 50–80% in the absence of endoscopic or surgical treatment. Hereditary CRC syndromes can be phenotypically divided into polyposis and non-polyposis syndrome, mainly according to the conditions of polyps. The typical representatives are familial adenomatous polyposis (FAP) and Lynch syndromes (LS), respectively. Over the past few decades, molecular genetics enhanced the discovery of cancer-predisposing genes and revolutionized the field of clinical oncology. Hereditary CRC syndromes have been a key part of this effort, with data showing that pathogenic variants are present in up to 10% of cases. Molecular phenotypes of tumors can not only help identify individuals with genetic susceptibility to CRC but also guide the precision prevention and treatment for the development of CRC. This review emphasizes the molecular basis and prevention strategies for hereditary CRC syndromes.