In this study, we synthesized a poly (aniline)-multiwall carbon nanotube (PANI@MWCNT) composite for use as a counter electrode (CE) in dye-sensitized solar cells. Moreover, FE-SEM and HR-TEM images of PANI@MWCNT revealed carbon nanotube/ropes embedded in the polymer matrix. An X-ray diffraction pattern confirmed the amorphous nature of the composite. Further, Electrochemical impedance spectroscopy studies indicated a charge transport resistance value (Rct) of 4.36 KΩ for PANI@MWCNT. CV studies demonstrated improved electrocatalytic performance and faster redox behavior in the PANI@MWCNT composite. BET analysis measured the pore size of the as-prepared composite to be 15–50 nm. Subsequently, the as-synthesized PANI, PANT@MWNCT, pristine MWCNT, and platinum were evaluated as CEs in DSSCs using a polyethylene oxide polymer-based liquid electrolyte and a TiO2 nanocrystalline photoanode. Among these CEs, the PANI@MWCNT CE exhibited an efficiency of 8.07 %, and the stability test indicated that the as-prepared composite CE retained 7.81 % efficiency after 15 days.