Chlamydia trachomatis is primarily transmitted through unprotected sexual contact, including vaginal, anal, and oral sex. It can also be passed from an infected mother to her baby during childbirth, potentially causing neonatal conjunctivitis or pneumonia. The use of barrier methods like condoms significantly reduces the risk of transmission.