The interaction of tandem inverted flexible flags in a uniform flow is investigated. For the inverted flags, their ends are fixed with their heads freely flapping. A direct numerical simulation is performed for which the Reynolds number is of order 200. Large flapping amplitude as well as large drag force is preferred because more energy may be harvested if more bending energy is generated. For the simple case of two tandem inverted flags, the drag force and flapping amplitude of the rear flag are found to be smaller than those of an isolated inverted flag due to the destructive merging mode of vortices. However, it is still unknown whether more bending energy can be generated when coupled inverted flags are arranged properly. To explore the possibility, inverted flags are proposed to be arranged as two rows, which indicate two lines of inverted flags perpendicular to the direction of the incoming flow, and flags in the front and rear rows are in-line or staggered. First the results for infinite flags with periodic boundary condition are presented. In both the in-line and the staggered arrangements, due to the interactions between the front–rear flags, the flapping amplitude or the maximum bending deformation and bending energy of a flag in the rear row can be enhanced, which may be significantly higher than those of an isolated case. Meanwhile, the bending energy of a flag in the front row is close to that of an isolated case. Second, results for finite inverted flag groups show that antiphase synchronization is preferred. When the group number is large enough, the bending energies of the front and rear flags in the inner groups are close to those in the infinite case. This finding may be helpful for the designing of an efficient energy harvesting device using inverted flags.