Target Corp. plans to add automatic cash-counting machines to its nearly 2,000 stores starting this summer, following other retailers who are automating more store jobs as labor costs rise.

The gray machines known as cash recyclers count bills and coins quickly, but they also allow stores to digitally bank their cash and predict how much money is needed for each cashier’s shift. Target will start adding the machines to 500 stores this August, then roll them out to all U.S. stores, a Target spokeswoman said.

Target...