Rapid and reliable detection of aflatoxin B1 (AFB1) is critical in public health, food safety and environmental control. Herein, a ratiometric electrochemical (EC) and electrochemical impedance spectroscopy (EIS) dual-mode aptasensing platform based on thionine-functionalized Ti3C2Tx MXene/Pt and Au nanoparticle composites (MXene@Thi/PtAuNPs) was constructed for accurate and reliable detection of AFB1. The MXene@Thi/PtAuNPs composites were prepared by a facile and mild approach. The electroactive molecule Thi embedded in MXene could not only inhibit the aggregation of MXene nanosheets, but also act as an internal reference probe to form a ratiometric sensing strategy. The decoration of Pt and Au nanoparticles can further effectively enhance the conductivity and catalytic activity of the composites. The MXene@Thi/PtAuNPs composites were then served as a support to sequentially assemble hairpin DNA (hDNA) and ferrocene-labelled AFB1 aptamer (Fc-Apt) to construct the dual-mode sensor. The developed dual-mode sensor with both ratiometric EC detection (based on IThi/IFc) and EIS detection (based on Ret) can mutually verify the detection results obtained by two modes, offering more accurate and reliable results, which enabled sensitive and reliable AFB1 detection in the concentration range of 10.0 pg mL−1-30.0 ng mL−1 (ratiometric EC mode) and 3.0 pg mL−1-30.0 ng mL−1 (EIS mode), respectively. The sensing platform also demonstrated favorable selectivity, reproducibility and stability, and satisfactory applicability in corn sample, showing great potential in the sensing of mycotoxins in agricultural products.