The length of your bar depends on how long you stayed in the US before departing. If you entered the country illegally, your date of entry is the beginning of the unlawful period. If your temporary visa expired, your unlawful period starts at the time of your visa expiration date. A three-year bar is given to individuals who were in the US illegally from 180 days to 12 months. A ten-year bar is given to individuals who were in the US illegally for more than one year. In some situations, individuals might receive a permanent bar to enter the US In this case, a waiver is not possible.