Why does my I-94 show a different date than my visa?
The visa date is how long you may use the visa to enter. The I-94 date is how long you may stay after this entry, and the I-94 controls.
The two dates answer different questions. The expiry date on the visa stamp is the last day you can use that visa to arrive and ask for admission. The "admit until" date on your Form I-94 is how long you are authorized to stay after this particular entry (CBP, I-94). The I-94 controls your stay, so a visa that expires before the I-94 does not end your lawful stay.
How they can differ in both directions
A visa can expire in 2031 and the I-94 end in six months, as with most B-2 visitors, who are usually admitted for up to six months at a time. A visa can also expire next month while the I-94 runs for another three years, as with an H-1B worker admitted through the end of an approved petition. Both are normal.
The visa expiry does not matter once you are in, with an important rule: a person who has to leave and come back after the visa expires needs a new visa, unless they qualify for automatic revalidation for a short trip to Canada or Mexico (22 CFR 41.112).
How each category gets its I-94 date
Students in F-1 and J-1 status are usually admitted for "D/S", duration of status, with no end date. Their lawful stay depends on the program end date on the I-20 or DS-2019 and the grace period afterward, not on a date. Temporary workers are usually admitted until the end date on the Form I-797 approval, plus up to ten days. Visitors get a date set by the officer, up to six months for B-2.
If you are admitted for less than you expected, the officer may have used a different end date, such as the date on a passport that expires sooner, or the length the officer thought suited the trip.
What to do about a wrong date
Look at the I-94 on the CBP site after every entry, because a mistake caused by a keying error can be fixed more easily soon after arrival. Corrections are made through CBP's deferred inspection offices or the I-94 help page. A wrong date that is shorter than the approval can cause problems with the employer, the DMV or a later filing.
Keep the I-94 printout. It is the evidence of status for a driver's licence, an I-9 form and most USCIS filings.
Who this applies to
Every nonimmigrant admitted by air or sea, and many who arrive by land. It does not apply to citizens, permanent residents or people with an unexpired immigrant visa, who are not given an I-94 in the same way.
A person who has stayed past the I-94 date, whatever the visa says, has overstayed. Anyone in doubt may want to ask an immigration attorney.