Epilepsy is a disorder of the brain that may relates to the immune mechanisms associated with herpesvirus (HSV) infection. Herpesviruses are human pathogens and this virus group is of special interest in relation to complications of the central nervous system (CNS). Viruses may enter the CNS via endothelial cells lining the blood vessels or may enter within lymphocytes and macrophages with subsequent infection of the peripheral neurons. This study was conducted to identify association between epilepsy and previous infection of herpesviruses. This cross-sectional study was carried out on 190 subjects with the ethical approval from the Human Ethics Committee of Universiti Sains Malaysia (USM). Blood samples were collected and serum analysed using ELISA kits for antibodies against herpesviruses. Among all herpesviruses, only CMV IgG showed association to epileptic subjects with p value <0.001 and X2 value of 186.0 via the Pearson Chi-Square test. A high X2 value results from a smaller p value which also reflects highly associated factors. HSV-1 and HSV-2 IgG, and VZV IgG, however, were not significantly associated with epilepsy. For EBV IgG, Fisher’s Exact Test is used and the results did not have any association (p= 1.000). In conclusions, our findings had revealed that there are significant association between epilepsy and CMV infection.