We examined the effects of cocaine dependence and cocaine and alcohol codependence on the P3A event-related potential component. Ten chronic cocaine-dependent subjects, 10 chronic cocaine and alcohol codependent subjects, and 20 controls were studied in an auditory paradigm that included target, nontarget, and novel rare nontarget conditions. Substance-dependent subjects were abstinent from cocaine and/or alcohol for 2-6 weeks. Eighteen of these subjects (4 chronic cocaine-dependent subjects, 4 chronic cocaine/alcohol codependent subjects, and 10 normal controls) were also studied in an analogous visual paradigm. In the auditory modality, the latency of the P3A response in the novel rare nontarget condition was delayed and its amplitude was reduced in both substance-dependent samples compared to controls. Comparable results were found for the smaller samples studied in the visual modality. These results suggest that chronic cocaine dependence produces deficits in frontal cortex functions.