The present disclosure relates to a method for controlling the power of a terminal in device-to-device (D2D) communication and, particularly, to a device and a method for supporting Type 1 discovery or Mode 2 D2D communication. The present disclosure relates to a method for controlling the transmission power of a terminal performing D2D communication, and the terminal, the method comprising the steps of: selecting an arbitrary resource in a discovery period for D2D resource selection; determining whether the selected resource satisfies a preset transmission power control condition; and transmitting information for the D2D communication through the selected resource, by using the power determined according to the determination result. The present disclosure relates to a communication scheme for fusing IoT technology with a 5G communication system for supporting a data rate higher than that of a 4G system and subsequent systems thereafter. The present disclosure can be applied to intelligent services (for example, a smart home, a smart building, a smart city, a smart or connected car, healthcare, digital education, retail business, security and safety related services, and the like) on the basis of the 5G communication technology and IoT related technology.