Ticagrelor (TIC) is an antiplatelet drug prescribed for patients with stroke and heart attack. In this research, a selective and novel electrochemical sensor was designed based on glassy carbon electrode modified with ketjen black-multi walled carbon nanotubes nanocomposite and molecularly imprinted polymer (MIP/KB-MWCNTs/GCE) to detect TIC. MIP has been used for the first time to assay TIC drug. The proposed sensor is fabricated through electropolymerization of dopamine (DA) as a monomer and TIC as a template on a substrate of KB-MWCNTs nanocomposite. Electrochemical data were taken on the designed sensor via cyclic voltammetry (CV) and differential pulse voltammetry (DPV) techniques. The modified electrode obtained low limit of detection (LOD) 0.016 nM, linear range 0.05 to 2300 nM, acceptable selectivity, repeatability, reproducibility, and stability. The applicability of the sensor was investigated in the analysis of real samples such as serum and urine, with a recovery range of 98.4 to 107.0% and a relative standard deviation (RSD) of less than 2.3%. For validation, the results from the real sample were compared with the spectrophotometric reference method.