In view of the serious side effects of chlortetracycline (CTC) on the human body, it is particularly important to develop rapid, sensitive, and selective technologies for the detection of CTC in food. In this work, a molecularly imprinted electrochemical sensor with [Fe(CN)6]3−/4− as signal probe was proposed for the highly sensitive and selective detection of CTC. For this purpose, TiO2, which acts as an interlayer scaffold, was uniformly grown on the surface of Ti3C2Tx sheets through a simple two-step calcination process using Ti3C2Tx as the precursor to effectively avoid the stacking of Ti3C2Tx layers due to hydrogen bonding and van der Waals forces. This endowed TiO2@Ti3C2Tx with large specific surface, abundant functional sites, and rapid mass transfer. Then, polypyrrole molecularly imprinted polymers (MIPs) with outstanding electrical conductivity were modified on the surface of TiO2@Ti3C2Tx via simple electro-polymerization, where the pyrrole was employed as a polymeric monomer and the CTC provided a source of template molecules. This will not only provide specific recognition sites for CTC, but also facilitate electron transport on the electrode surface. The synergistic effects between TiO2@Ti3C2Tx and polypyrrole MIPs afforded the TiO2@Ti3C2Tx/MIP-based electrochemical sensor excellent detection properties toward CTC, including ultra-low limits of detection (LOD) (0.027 nM), a wide linear range (0.06–1000 nM), and outstanding stability, reproducibility, selectivity, and feasibility in real samples. The results indicate that this strategy is feasible and will broaden the horizon for highly sensitive and selective detection of CTC.