Genital warts are primarily transmitted through sexual contact with an infected person. This includes vaginal, anal, and oral sex. The virus can be spread even when the infected person shows no symptoms. Less commonly, genital warts can be transmitted from mother to child during childbirth.