When should international students apply for student visa?
Google is a savior.
After the university you are attending has given you all of the necessary paperwork. A good rule of thumb is to apply for your visa about 90 days before school starts. (The US consulate won’t issue student visas more than 90 days before the start of school; while you can apply earlier, they’d have to hold on to your passport with the visa in it until the 90-day mark.)