Uplink communication is efficiently performed in non-allocated frequencies. The terminal apparatus includes: a reception unit configured to receive downlink control information on a PDCCH; and a transmission unit configured to transmit a random access preamble. For a first frame structure type, the downlink control information is used to configure a subframe number of a first uplink subframe in which transmission of the random access preamble is allowed. For a second frame structure type, the downlink control information is used to configure a subframe number of a second uplink subframe in which transmission of the random access preamble is allowed and a symbol number of an uplink symbol in the second uplink subframe.