In the device-to-device communication network, there is the interference problem when device-to-device users share the same spectrum with cellular users, a distributed beamforming scheme based on non-cooperative game is proposed to maximize weighted sum rate under the rated transmit power and the users’ quality of service. Since the optimization problem is non-concave, we first obtain the solution of the Karush-Kuhn-Tucher (KKT) condition for the downlink beamforming problem of each sender by dual decomposition. Second, a distributed beamforming algorithm based on the non-cooperative game is proposed, which can quickly converge to the Nash equilibrium point with a lower information exchange overhead. Finally, the simulation results show that the proposed algorithm has better performance in terms of system sum rate and fairness than the existing algorithms.