There are no restrictions on the dress code while taking the IELTS exam. The candidates can wear any attire they are comfortable in.