We found negative correlations between IL-17A and haemoglobin level (p = 0.02; R = − 0.36), haematocrit (p = 0.002; R = − 0.47) and medium cell value (MCV) (p = 0.01; R = − 0.36) in ulcerative colitis. Here, IL17A is linked to ulcerative colitis.