survey by the Western Growers Center for Innovation and Technology found that about two-thirds of growers of specialty crops like fresh fruits, vegetables and nuts have invested in automation over the last three years. Still, they expect that only about 20 percent of the lettuce, apple and broccoli harvest — and none of the strawberry harvest — will be automated by 2025.

Some crops are unlikely to survive. Acreage devoted to crops like bell peppers, broccoli and fresh tomatoes is declining. And foreign suppliers are picking up much of the slack. Fresh and frozen fruit and vegetable imports almost doubled over the last five years, to $31 billion in 2021.

Consider asparagus, a particularly labor-intensive crop. Only 4,000 acres of it were harvested across the state in 2020, down from 37,000 two decades earlier. The state minimum wage of $15, added to the new requirement to pay overtime after 40 hours a week, is squeezing it further after growers in the Mexican state of Sinaloa — where workers make some $330 a month — increased the asparagus acreage almost threefold over 15 years, to 47,000 acres in 2020.

H-2A workers won’t help fend off the cheaper Mexican asparagus. They are even more expensive than local workers, about half of whom are immigrants from earlier waves that gained legal status; about a third are undocumented. And capital is not rushing in to automate the crop.

“There are no unicorns there,” said Neill Callis, who manages the asparagus packing shed at the Turlock Fruit Company, which grows some 300 acres of asparagus in the San Joaquin Valley east of Salinas. “You can’t seduce a V.C. with the opportunity to solve a $2-per-carton problem for 50 million cartons,” he said.

While Turlock has automated where it can, introducing a German machine to sort, trim and bunch spears in the packing shed, the harvest is still done by hand — hunched workers walk up the rows stabbing at the spears with an 18-inch-long knife.

These days, Mr. Callis said, Turlock is hanging on to the asparagus crop mainly to ensure its labor supply. Providing jobs during the asparagus harvest from February to May helps the farm hang on to its regular workers — 240 in the field and about 180 in the shed it co-owns with another farm — for the critical summer harvest of 3,500 acres of melons.

Losing its source of cheap illegal immigrant workers will change California. Other employers heavily reliant on cheap labor — like builders, landscapers, restaurants and hotels — will have to adjust.

Paradoxically, the changes raking across California’s fields seem to threaten the undocumented local work force farmers once relied on. Ancelmo Zamudio from Chilapa, in Mexico’s state of Guerrero, and José Luis Hernández from Ejutla in Oaxaca crossed into the United States when they were barely in their teens, over 15 years ago. Now they live in Stockton, working mostly on the vineyards in Lodi and Napa.

They were building a life in the United States. They brought their wives with them; had children; hoped that they might be able to legalize their status somehow, perhaps through another shot at immigration reform like the one of 1986.

Things to them look decidedly cloudier. “We used to prune the leaves on the vine with our hands, but they brought in the robots last year,” Mr. Zamudio complained. “They said it was because there were no people.”

Mr. Hernández grumbles about H-2A workers, who earn more even if they have less experience, and don’t have to pay rent or support a family. He worries about rising rents — pushed higher by new arrivals from the Bay Area. The rule compelling farmers to pay overtime after 40 hours of work per week is costing him money, he complains, because farmers slashed overtime and cut his workweek from six days to five.

He worries about the future. “It scares me that they are coming with H-2As and also with robots,” he said. “That’s going to take us down.”

View

>>> Don’t Miss Today’s BEST Amazon Deals! <<<<