Cognitive impairment in temporal lobe epilepsy is widely acknowledged as one of the most well-known comorbidities. This study aimed to explore cognitive impairment and to determine the potential clinical, radiological, and quantitative electroencephalography markers for cognitive impairment in temporal lobe epilepsy patients versus extra-temporal lobe epilepsy. Forty-five patients with temporal lobe epilepsy and forty-five patients with extra-temporal lobe epilepsy were recruited for an administered digit span test, verbal fluency test, mini-mental state examination, digital symbol test, and Montreal cognitive assessment. Also, they were subjected to magnetic resonance imaging assessment for hippocampal atrophy and a quantitative electroencephalography assessment for electroencephalography markers (median frequency, peak frequency, and the alpha-to-theta ratio). Patients with extra-temporal lobe epilepsy showed non-significant higher epilepsy durations and a higher frequency of seizures. Temporal lobe epilepsy patients showed a more statistically significant family history of epilepsy (37.7%), more history of febrile convulsions (13.3%), higher hippocampal atrophy (17.8%), and lower cognitive scales, especially mini-mental state examination and Montreal cognitive assessment; lower digital symbol test, verbal fluency test, and backward memory of digit span test. Also, temporal lobe epilepsy patients had a strong negative correlation with electroencephalography markers: median frequency, peak frequency, and the alpha-to-theta ratio (r = - 0.68, P < 0.005 and r = - 0.64, P < 0.005 and r = - 0.66, P < 0.005 respectively). Cognitive impairment in patients with temporal lobe epilepsy was correlated with hippocampal atrophy and quantitative electroencephalography abnormalities, especially peak frequency, median frequency, and alpha-to-theta ratio that could be used alone for the identification of early cognitive impairment. Clinicaltrials.gov: NCT04376671.