Can my spouse visit on a B-2 instead of an F-2?
For a short visit, yes. A B-2 is for tourism, not for living with you, and a long stay that looks like residence invites a refusal.
For a visit, yes. A spouse can apply for a B-2 visitor visa and come to the United States for tourism, including to visit an F-1 student. For living together for the length of a degree, F-2 is the status designed for it, and a B-2 used that way draws questions at the visa interview and at the border (US State Department, Visitor Visa).
What each status is for
F-2 is the dependent status of an F-1 student's spouse and minor children, and it lasts for the duration of the student's status. B-2 is for temporary visits for tourism, family visits and medical treatment, and admission is typically for up to six months, with a possible extension. Neither allows work.
The intent test
A B-2 applicant has to show the intent to leave after the visit and the ties that support it. A spouse of a student applying for B-2 is likely to be asked why not F-2. Answering that the plan is to visit for a short time is fine when it is true. A couple who intend the spouse to live in the United States for years and are using the B-2 to avoid the F-2 process are in trouble on both counts.
The inspector at the airport can also limit or refuse the stay if the visits are frequent and long, which suggests residence.
When B-2 is the right choice
Short visits fit it: a summer, a graduation, a semester abroad for a parent. A spouse with a job or a degree program at home may prefer it. A couple that spends most of the year apart and uses an occasional visit does not need the F-2.
When F-2 is the right choice
A spouse who will live with the student for the whole program, who wants to be in the country in a stable status, who may study part-time or accompany the student on a transfer, is a candidate for F-2. The F-2 application needs the principal's I-20, proof of the marriage and funds for the dependent.
Money
The F-1 I-20 lists the extra living cost for a spouse. A B-2 visit requires the visitor to show enough funds for the trip only. The F-2 costs are covered in a separate FAQ on the funds.
A worked case
A student starts a two-year master's program in August. The spouse visits for three weeks at the winter break on a B-2 and again for six weeks in the summer. That fits. If the spouse arrives on a B-2 in August planning to stay until the following August, the officer is likely to see a dependent without the status.
What goes wrong
A refusal under section 214(b) of a spouse's B-2, caused by saying the plan is to stay, can make a later F-2 application harder.
What to do
Choose by the length and the purpose of the stay, and ask the school's international office about dependents. A couple with a prior refusal should speak with an immigration attorney.