Cystic fibrosis is caused by mutations in the CFTR gene. CFTR encodes a regulator that controls the movement of salt within the body. Mutations in this gene result in extra salty sweat, thick sticky mucus in the respiratory tract and thick digestive fluids.