There have been many studies demonstrating that the throughput of wireless networks can be significantly improved by network coding. In this talk, we study employing network coding in wireless device-to-device networks. We consider that each user in the network is selfish and aim to find a transmission policy to maximize its own performance. We demonstrate an interesting example where employing network coding actually leads to poorer performance in the presence of selfish users. A randomized network coding policy is also proposed to achieve network coding gain while preventing selfish behaviors from hurting system performance.