In this work, first 13X zeolite was prepared by the hydrothermal method. Then, the composite electrode was fabricated by using 13X zeolite and aniline monomer in nickel foam by electropolymerization technique in an acidic medium (13X/PANI). The synthesized 13X zeolite was characterized by physicochemical characterization techniques such as Fourier transform infra-red (FT-IR) spectroscopy, X-ray photoelectron spectroscopy (XPS), field emission scanning electron microscopy (FE-SEM), high-resolution transmission electron microscopy (HR-TEM), X-ray diffraction (XRD) pattern and nitrogen sorption isotherm. 13X/PANI composite was further analyzed by XRD, XPS and FE-SEM techniques. Furthermore, the catalyst activity of the synthesized 13X, PANI and 13X/PANI composite electrodes was evaluated in hydrogen evolution reaction (HER) and oxygen evolution reaction (OER) by using linear square voltammetry (LSV) and Tafel slope method. The Tafel slopes of HER were found to be 203 mV dec−1, 440 mV dec−1 and 282 mV dec−1 for 13X, PANI and 13X/PANI-15 electrodes respectively. While the OER Tafel slopes were found to be 423 mV dec−1, 310 mV dec−1 and 168 mV dec−1 for 13X, PANI and 13X/PANI-15, respectively. 13X/PANI-15 electrodes show excellent catalytic performance about the overpotential at 10 mA cm−2 for HER and the overpotential at 20 mA cm−2 for OER. The obtained results suggest fabricated novel electrodes are a potential candidate for HER and OER reaction and can be open new avenue for other electrochemical reactions.