Does F-2 status end when the student starts OPT?
No. F-2 status lasts as long as the F-1 student's status, which includes OPT, STEM OPT and the 60-day grace period after it.
No. An F-2 dependent's status is derivative and lasts as long as the F-1 principal's status, and the principal stays in F-1 status during post-completion OPT and the STEM OPT extension (8 CFR 214.2(f)(3)). F-2 ends when the F-1's status ends, or when the dependent no longer qualifies, for instance through divorce or a child turning 21.
Why OPT keeps F-2 alive
OPT is part of the F-1 student's period of authorized stay, not a separate status. The student is in F-1 status working under authorization, and the SEVIS record stays active with the school. The F-2 spouse and children remain in the country on the dependent's status for the same period, and their I-20s continue to be listed in SEVIS under the principal's record.
What does end it
The student's F-1 status ends when OPT or STEM OPT ends and the 60-day grace period runs out, unless the student moves to a new program or changes status. At that point the F-2 ends too, and the dependents have the same 60-day window. A termination of the F-1 SEVIS record for a violation ends the F-2s with it.
A spouse who has changed status in their own right, for example to F-1 as a student or to H-4 when the principal gets an H-1B, stops being F-2 on the change.
What the F-2 cannot do during OPT
Nothing about the F-2's work or study limits changes during OPT. The F-2 spouse cannot work, even though the student is working under OPT. F-2 children continue to attend school, and a child who wants to attend college full time needs their own F-1 status.
Travel
The F-2 can travel on a valid F-2 visa with the principal's I-20 carrying a recent travel signature, and the F-2 visa has to be valid. F-2 visas follow the principal's visa period, and a visa that expired during OPT has to be renewed abroad. An F-2 spouse traveling alone during OPT should carry the principal's documents showing OPT and the employment.
The F-2 child who turns 21
An F-2 child ceases to be a dependent at 21 even if the principal remains in status. That is the subject of a separate FAQ.
What goes wrong
Couples sometimes think OPT is a new status and apply for an unnecessary change. Another mistake is a spouse who stays after the student has left the United States, ending status for the dependent as well.
What to do
Keep each dependent's I-20 current, and ask the DSO to confirm that the dependents are listed on the OPT record. A family planning a move to H-1B and H-4 should coordinate the timing. Families with a gap should speak with an immigration attorney.