Candidates may take the JEE Main test three times in a row. There is no restriction to the number of attempts for the JEE Advanced.