American trash haulers and recyclers are becoming more prudent about how they collect and sort scrap after China stopped accepting most U.S. scrap exports earlier this year.

The move has upended the U.S. recycling industry: Prices for recyclables are plunging, a glut of paper and plastic is accumulating in warehouses and some material is being sent to landfills.

As...