This study designed CGG-AAA mismatched cavity hairpin nucleic acid switches (CHTLNAS) that excite ThT fluorescence over 500-fold higher than spontaneous levels. CHTLNAS enabled label- and enzyme-free detection of tetracycline and berberine at the pM level within 10 min and facilitated intracellular ThT imaging.