There is provided a terminal device that communicates with a base station apparatus. The terminal device includes a transmission unit that configures a transmit power for transmission of a physical uplink shared channel in a serving cell belonging to a first cell group based on whether or not a physical random access channel is transmitted in the first cell group and a second cell group in a case where the first cell group and the second cell group are configured.