Yes, H-1B workers must pay taxes while living in the U.S. The country maintains stringent laws that need to be followed by all the citizens living in the country. Individuals with H-1B visas are required to pay federal and state taxes based on their income. H-1B visa holders also have access to social security benefits, mandating them to pay social security and Medicare taxes.