To detect open circuit faults of grid-connected T-type inverters, this paper proposed a real-time method based on fast S transform and random forest. The three-phase fault currents of the inverter were used as the inputs of the new method and no additional sensors were needed. Some fault current harmonics and direct current components were selected as the fault features. Then, fast S transform was used to extract the features of fault currents, and random forest was used to recognize the features and the fault type, as well as locate the faulted switches. The simulation and experiments showed that the new method could detect open-circuit faults with low computation complexity and the detection accuracy was 100%. The real-time and accurate open circuit fault detection method was proven effective for grid-connected T-type inverter monitoring.