This study is aimed at investigating IL-17A, IL-17F, IL-17RA, and IL-17RC polymorphisms as potential biomarkers of disease susceptibility, clinical parameters, and anti-TNF treatment outcome in a cohort of Polish ankylosing spondylitis patients. This evidence concerns the gene TNF and ankylosing spondylitis.