Barrick Gold Corp. and Newmont Mining Corp. recently held abortive talks over a deal that would have combined the world's two largest gold producers at a time when they are battling a sharp drop in the price of gold, according to people familiar with the matter.

The two companies had intended to announce a deal as early as Tuesday, one of the people said. They have discussed combining a number of times before, people familiar with...