The reversed field pinch configuration is characterized by the presence of magnetic structures both in the core and at the edge: in the core, at high plasma current the spontaneous development of a helical structure is accompanied by the appearance of internal electron transport barriers; at the edge strong pressure gradients, identifying an edge transport barrier, are observed too, related to the position of the field reversal surface.The aim of this paper is the experimental characterization of both the internal and edge transport barriers in relation to the magnetic topology, discussing possible analogies and differences with other confinement schemes.