In this study, a new photoelectrochemical (PEC) sensor based on the copper tetraamino-phthalocyaninemodified ITO electrode (CuTAPc/ITO) was designed for the determination of nifedipine. The prepared CuTAPc materials were characterized using UV-Visible spectrophotometry (UVS), Fourier transform infrared spectroscopy (FT-IR), and X-ray diffraction (XRD). Then, the CuTAPc solution was coated on the ITO electrode surface to fabricate a simple PEC sensing platform. Then, the photoelectrochemical behavior of nifedipine at the CuTAPc/ITO electrode was investigated by chronoamperometry under ultraviolet light irradiation. The obtained results indicated that the modified electrode showed a higher response signal than the blank electrode. The photocurrent of CuTAPc/ITO increased with the increasing concentration of nifedipine. The peak photocurrents were linearly dependent on the nifedipine concentration in the range of 0.25-18.0 μmol/L, thereby providing the detection limit of 0.15 μmol/L (S/N = 3). Due to the good responses for the determination of nifedipine, this sensor can be used as an alternative analysis tool for the detection of nifedipine in various real samples with high sensitivity, low detection limit, and wide linearity range.