Skip to content

H-1B max-out calculator

Find the last day of your six years, what your trips abroad add back, and which AC21 extension can follow.
Example: H-1B since October 2020, three trips, an approved EB-2 India I-140.
Rules in motion · proposed and recent changes that may affect this answer
  • Proposed: ending the 60-day grace period after a job ends (91 FR 57807, Sept 11, 2026; comments close Nov 10, 2026). Not final.
  • Proposed: removing deference to earlier USCIS approvals (91 FR 65119, Oct 14, 2026; comments close Nov 13, 2026). Extensions, AC21 ones included, would be reviewed afresh.
  • Unchanged: the 2024 H-1B modernization rule (in effect since Jan 17, 2025) didn't change recapture or the six-year count. It caps validity at 18 months for majority owners.
When did your H-1B or L-1 start?

The admission or change-of-status date, not the receipt date. Leave the end blank if you're still in it. Add a row for each change: H-1B and L-1 time counts; H-4, L-2 and F-1 time doesn't.

Trips abroad

Each whole day outside the US adds a day back to your six years. Use your I-94 travel history or passport stamps.

Optional: add more for a fuller answer

Add green card detailsPERM, I-140 and priority date: checks the AC21 extensions that can take you past six years.
Job ending or extension pendingLast day of work and I-94: the 60-day grace period and the 240-day rule.
Leaving or back after time abroadVisits and a planned readmission: the one-year reset and using the rest of your six years later.
Count to a different dateDefaults to today. The max-out date assumes you stay in H-1B or L-1 from that day on.
Start over

Add an H-1B or L-1 period with its start date to start the clock.

See a worked example

If the job ends, an extension is pending, or you leave

60-day grace period

Up to 60 days after an H-1B job ends

Enter the last day of work and the I-94 end date to see it.

After an H-1B or L-1 job ends, you aren't considered out of status solely because the job ended for up to 60 days in a row, or until the I-94 ends if sooner. It's available once per authorized validity period, and DHS can shorten it. You can't work in it. In that time a new employer can file for you, you can change status, or you can leave (8 CFR 214.1(l)(2)).

Pending: a proposed rule (91 FR 57807, comments close Nov 10, 2026) would remove this grace period. Uncertain: whether grace days count toward the six years. This tool counts them, since you're still in H-1B admission.

240-day rule

Working while a same-employer extension is pending

Enter the I-94 end date to see it.

When the current employer files an extension before your I-94 ends, you can keep working for that employer for up to 240 days past the I-94 while it's pending (8 CFR 274a.12(b)(20)). A new employer uses H-1B portability instead: work can start once its petition is filed.

Uncertain: "240 days beginning on the date of the expiration" could make the I-94 end date day 1 (I-94 + 239) or the next day day 1 (I-94 + 240). Both are shown.

One year outside: a fresh six years

After a year living outside the US

Enter your status history to see it.

After a year living and physically present outside the US, you can be admitted for a new six years (8 CFR 214.2(h)(13)(iii)(A)). Brief business or pleasure visits during that year don't break it but don't count toward it. A new six years is cap-subject again (lottery) unless the employer is cap-exempt (INA 214(g)(7)).

Uncertain: whether "one year" means 365 days of physical absence (used here) or a calendar year extended by the visit days. They usually differ by a day at most.

Using the rest of your six years later

Coming back for unused time without a lottery

Enter your status history to see it.

If you were counted against the cap before, you can come back for the unused time without a new lottery, whether you've been away less than a year or more (8 CFR 214.2(h)(13)(iii)(C)(2)). Away less than a year, the remainder is the only option. Away a year or more, you can choose the remainder (no lottery) or a new six years (lottery). If you only ever held cap-exempt H-1B, a cap-subject employer still needs a lottery selection.

The rules in detail

What counts toward the six years

H-1B and L-1 days count; H-4, F-1 and days abroad don't.
Time that counts toward the H-1B six-year limit
TimeCounts?Source
Days in the US in H-1BCountsINA 214(g)(4)
Days in the US in L-1A or L-1BCounts8 CFR 214.2(h)(13)(iii)(A): "(H) and/or (L)"
Days in H-4 (dependent)Doesn't countAFM ch. 31: H-4 time doesn't count for the principal
Days in L-2 (dependent)No, by policyUSCIS policy (Aytes memo, 2006); see open questions
Days in F-1, O-1, B-2, TN and other statusesDoesn't countNot H or L time
Whole days outside the US during H-1B or L-1 timeDoesn't countRecaptured: 8 CFR 214.2(h)(13)(iii)(C)
Days on an AC21 extension past year sixCountsCan't be recaptured later (81 FR 82398)

Ways to stay past six years

Recapture, AC21 104(c) and 106(a), or a year outside.
Recapture
Whole days abroad during H/L time are added back. No time limit on claiming them; the employer must document them.
104(c): 3 years
An approved I-140 and a priority date that isn't current on the day of filing. Renewable until the green card is decided.
106(a): 1 year
A PERM or I-140 filed 365+ days before the extension starts, not finally denied, withdrawn or expired. Lost if you miss the one-year I-485 deadline.
A year outside
A fresh six years (cap-subject again), or the unused remainder without the cap if you were counted before.

Open questions, and how this tool reads them

12 points where the rules are unclear, with both readings.
  • Does L-2 time count?

    One reading
    No: USCIS policy has long excluded dependent time (Aytes memo, 2006).
    The other reading
    Yes: the regulation says "(H) and/or (L)", which read literally includes L-2.
    What this tool does
    Not counted. We've seen only the memo's title and Federal Register citation, not its text.
  • What is a recapturable day?

    One reading
    Whole calendar days strictly between leaving and returning.
    The other reading
    Any stretch "exceeding 24 hours": a 26-hour trip earns a day.
    What this tool does
    Whole calendar days, the cautious reading. With hour-level evidence you may be able to claim more.
  • How long is six years in days?

    One reading
    The calendar anniversary plus documented recapture days (what adjudicators work from).
    The other reading
    A day count (2,191 or 2,192 days) applied across broken-up periods.
    What this tool does
    The day count. It matches the anniversary method for one continuous period; USCIS publishes no algorithm.
  • What is "one year" outside for a reset?

    One reading
    365 days of physical absence, with visit days added on.
    The other reading
    A calendar year, extended by the visit days.
    What this tool does
    365 days plus visit days. The two usually differ by a day at most.
  • Which bulletin chart decides 104(c)?

    One reading
    Final Action Dates: 104(c) asks whether you're "eligible to be granted" the status, and 81 FR 82398 uses that chart in the parallel rules.
    The other reading
    Dates for Filing: no primary source says in so many words to use Final Action Dates.
    What this tool does
    Final Action Dates, as practitioners do.
  • Does a worldwide (ROW) backlog qualify for 104(c)?

    One reading
    Yes: USCIS's H-1B page and 81 FR 82398 say "per country or worldwide" limitation.
    The other reading
    No: the regulation text says "per country limitation" only.
    What this tool does
    Follows USCIS: any not-current priority date qualifies, including All Chargeability Areas.
  • Do grace-period days count toward the six years?

    One reading
    Yes: you're still within the H-1B admission.
    The other reading
    Not counted: no work is allowed in it. No source settles this either way.
    What this tool does
    Counted, the cautious reading.
  • Is the I-94 end day 1 of the 240 days?

    One reading
    No: the next day is day 1, so I-94 + 240.
    The other reading
    Yes: "beginning on the date of the expiration", so I-94 + 239.
    What this tool does
    Shows I-94 + 240 with I-94 + 239 beside it.
  • Does the PERM still anchor 106(a) after certification?

    One reading
    Only for 180 days after certification unless an I-140 is filed with it (20 CFR 656.30(b)).
    The other reading
    We haven't rechecked 20 CFR 656.30 recently, so treat this as unconfirmed.
    What this tool does
    Uses the status you choose; set it to Expired if 180 days passed with no I-140.
  • Does a 104(c) petition for someone abroad owe the $100,000 payment?

    One reading
    Possibly: the proclamation reaches petitions for people outside the US without a valid H-1B visa.
    The other reading
    Possibly not: agency collection was vacated in rulings of June 8 and July 24, 2026.
    What this tool does
    Not modeled. See the H-1B lottery and fee page, and ask an attorney.
  • Where is the cap-gap rule now, and what follows a denied cap-gap petition?

    One reading
    8 CFR 214.2(f)(5)(vii), likely renumbered by the 2026 F/J rule; substance unchanged.
    The other reading
    It was at (f)(5)(vi)(A) under the 2024 rule; what remains after a July denial isn't settled.
    What this tool does
    Cap-gap isn't computed here. See the OPT page.
  • Can the dataset's visa bulletin be checked against the State Department?

    One reading
    Yes, through the site's bulletin history.
    The other reading
    The State Department page blocks automated checks, so we couldn't compare it directly.
    What this tool does
    Uses the stored history and names the bulletin month used.

Six-year limit edge cases

Seasonal work, H-1B2, majority owners, PERM timing and more.
  • Seasonal, intermittent or under-six-months-a-year H-1B work, and commuters, aren't held to the six-year limit (8 CFR 214.2(h)(13)(v)). This tool doesn't compute that case.
  • H-1B2 (Department of Defense projects) has a 10-year limit, not six. Not covered here.
  • If you own more than half of the petitioning company, the first petition and first extension are each capped at 18 months. The six-year total is the same.
  • Days in the US with no status entered are flagged, not counted, and never extend the clock.
  • A trip that starts before your first H-1B day (say, abroad on F-1 when the change of status took effect) earns only the days from the H-1B start.
  • A trip across an H-1B to L-1 switch counts in full: both are recapturable.
  • Time on an approved petition before you were ever admitted isn't used and isn't recapture: the clock hasn't started.
  • An H-1B worker whose spouse moves them to H-4 must file the change before their own six years run out.
  • If your priority date was current when the extension was filed, 104(c) is out even if it retrogresses before the decision. If it wasn't current at filing, 104(c) holds even if it becomes current by the decision.
  • Two PERMs or I-140s, each under a year old, don't add up: each must be 365 days old on its own.
  • An I-140 withdrawn 180 days or more after approval stays approved for AC21 (8 CFR 205.1(a)(3)(iii)(C)). Withdrawn sooner, it's revoked.
  • If you've maxed out and are abroad with an approved I-140 and a date that isn't current, a 104(c) petition can still be filed while you're outside the US ((E)(3)).

Common questions

When does my H-1B six years run out?

Six calendar years from your first day in H-1B or L-1 status, pushed later by every whole day you spent outside the US during that time and by any days in another status such as H-4 or F-1. The employer must document the days abroad for USCIS to add them back.

What is H-1B recapture?

Time spent outside the US for more than 24 hours while in H-1B or L-1 doesn't count toward the six years, so it can be claimed back in a later petition (8 CFR 214.2(h)(13)(iii)(C)). There's no deadline to claim it, the reason for the trip doesn't matter, and a recapture petition isn't subject to the cap if you were counted before.

Does H-4 or L-1 time count toward the H-1B six years?

L-1A and L-1B time counts: the limit covers H and L time together. H-4 time doesn't. L-2 time doesn't under long-standing USCIS policy, although the regulation's wording could be read to include it.

What is the difference between AC21 104(c) and 106(a)?

106(a) gives one-year extensions when a PERM or I-140 was filed at least 365 days before the extension starts. 104(c) gives three-year extensions when you have an approved I-140 and your priority date isn't current in the visa bulletin in effect on the day the petition is filed. When both apply, 104(c) is the better one.

Which visa bulletin chart is used for 104(c)?

This tool uses the Final Action Dates chart for your category and country in the bulletin in effect when the extension is filed. USCIS hasn't said in so many words which chart, but that reading follows from the rule and is what practitioners use. If you plan to file after the newest bulletin, the newest one is used and the date may move.

Can I get a new six years after leaving the US?

Yes, after a full year living and physically present outside the US. Brief visits back don't break the year but don't count toward it. A new six years is subject to the H-1B cap again unless the employer is cap-exempt. If you were counted before, you can instead come back for any unused time without the cap.

How long can I stay after my H-1B job ends?

Up to 60 consecutive days, or until your I-94 ends if sooner, once per validity period (8 CFR 214.1(l)(2)). A proposed rule published September 11, 2026 would remove this grace period; it isn't final yet.

Can I keep working if my H-1B extension is still pending?

If your current employer filed the extension before your I-94 ended, you can keep working for that employer for up to 240 days past the I-94 while it's pending (8 CFR 274a.12(b)(20)). It ends at once if the extension is denied.

Where these rules come from

10 primary sources, checked on October 19, 2026

General information, not legal advice. USCIS decides the actual period of stay on each petition, based on the evidence submitted, and grants recaptured days only when they're documented (8 CFR 214.2(h)(13)(iii)(C)(1)). Talk to an immigration attorney before you rely on a date here for a filing, a trip or a job change. We are not a government site.

Track every deadline automatically

For law firms

Run your practice on it

Every case, client and form in one place, shared by your attorneys and paralegals.