Resource allocation method for device-to-device communication in wireless communication system, and apparatus therefor

Disclosed in the present application is a method by which a transmission terminal transmits a signal by using device-to-device communication in a wireless communication system. Particularly, the method comprises the steps of: dividing each of a plurality of resource units into clean units and dirty units; selecting at least one of the clean units as a transmission resource when the number of clean units is greater than or equal to a first threshold value; selecting at least one of the dirty units as the transmission resource when the number of clean units is less than the first threshold value; and transmitting a device-to-device communication signal by using the selected transmission resource, wherein the transmission resource selected among the dirty units is determined on the basis of the transmission power of the device-to-device communication signal.