Two-dimensional TiO2 inverse opal structures with a thin, flat-top surface are fabricated and inserted between the glass substrate and the anode electrode of solution-processed polymer light-emitting diodes. It is demonstrated that the proposed inverse opal structure acts as a 2D photonic crystal, achieving a significant enhancement in the light extraction from the electroluminescent devices.