Foreign visitors are prohibited from working in the U.S. unless they have one of a handful of types of work visas, which are usually obtained by the employer. It is also illegal for foreign visitors to work in the U.S. while in the country on a tourist visa.