https://www.uscis.gov/working-united-states/students-and-exchange-visitors/students-and-employment
F-1 students may not work off-campus during the first academic year, but may accept on-campus employment subject to certain conditions and restrictions. After the first academic year, F-1 students may engage in three types of off-campus employment:
- Curricular Practical Training (CPT)
- Optional Practical Training (OPT) (pre-completion or post-completion)
- Science, Technology, Engineering, and Mathematics (STEM) Optional Practical Training Extension (OPT)
For F-1 students any off-campus employment must be related to their area of study and must be authorized prior to starting any work by the Designated School Official (the person authorized to maintain the Student and Exchange Visitor Information System (SEVIS)) and USCIS.
Even though you won’t have to leave the campus to write an article it will be considered “off-campus employment” when the magazine publisher is not part of your university.
So when you are still in your first year?
No go.
Have you been a student for more than 1 academic year?
Then you need to request permission before writing and submitting the article.
When the magazine and/or the subject of the article are related to your field of academic study, or when you’re studying journalism or similar, then you can make a case that writing such articles is practical training and you may be granted such permission.
You can’t work as an F1 student except at your own university. The one exception is if you are on OPT.
The journal will likely want you to fill out a W9 so that they can pay you, which is when they’ll discover that you don’t have work authorization.
Alternatives to getting paid would be:
Credit:stackoverflow.com‘