Grid-connected transformerless photovoltaic inverters are widely accepted in the renewable energy market, owing to their high power density, low cost, and high efficiency. However, the leakage current is the main issue in these inverters, which is to be investigated carefully. In this study, leakage current analysis of both transformer and transformerless bridge inverter topologies are widely investigated. Based on that, a new topology and modulation technique is proposed to eliminate the leakage current in the system. The mechanism of a creating high-impedance path between the photovoltaic module and the system, by properly isolating them in the freewheeling state and maintaining a constant common mode voltage in all the switching states, is elaborately discussed in this paper. The experimental results are finally presented to validate the proposed topology with respect to other conventional topologies. (C) 2018 Elsevier Ltd. All rights reserved.