A complementary metal-oxide-semiconductor (CMOS) structure is provided which uses trench isolation refilled with polyimide that inhibits latch up. The structure includes an N type semiconductor substrate with an implanted P type pocket. Alternatively, an N plus substrate may be used on which an N type silicon layer is epitaxially grown.