The department said staff furloughs could be coming unless Congress sends $1.2 billion its way.
The high court ruled that the administration can deport some people seeking asylum without allowing them to make their case to a federal judge.
In America, around 28% of doctors, 35% of home aides and 20% of nursing assistants are foreign born.
Trump's executive order restricting foreign workers could have unintended economic effects.
Author Jia Lynn Yang describes how a law meant to maintain the country's white racial majority led to more diversity.
For Carlos Rodriguez Cortez, the ruling is a relief for now, but "it being repealed later on is still a very viable thing that can happen."
But the Supreme Court’s decision today was narrow. The Trump administration or Congress could renew efforts to end the program.
For now, those immigrants retain their protection from deportation and their authorization to work in the United States.
People are continuing to go to work and take public transportation at the border.
H-2B visas are capped at 66,000 per year, but the law allows the Department of Homeland Security to nearly double that.