Generally, a citizen of a foreign country who wishes to enter the United States must first obtain a visa, either a nonimmigrant visa for temporary stay, or an immigrant visa for permanent residence. You must have a student visa to study in the United States. Your course of study and the type of school you plan to attend determine whether you need an F visa or an M visa.
Students cannot travel on the Visa Waiver Program or with Visitor Visas
A student visa (F or M) is required to study in the United States. Foreign nationals may not study after entering on a visitor (B) visa or through the Visa Waiver Program (VWP), except to undertake recreational study (non-credit) as part of a tourist visit. For more information on the VWP, see Visa Waiver Program.
For short periods of recreational study, a Visitor (B) visa may be appropriate
A visitor (B) visa permits enrollment in a short recreational course of study, which is not for credit toward a degree or academic certificate. Learn more about Visitor Visas.
Study leading to a U.S. conferred degree or certificate is never permitted on a visitor (B) visa, even if it is for a short duration. For example, a student in a distance learning program that requires a period of time on the institution’s U.S. campus must obtain a student (F or M) visa prior to entering the United States.