As an effective ECL emitter, tetraphenylethene (TPE)-based molecules have recently been reported with aggregation-induced electrochemiluminescence (AIECL) property, while it is still a big challenge to control its aggregation states and obtain uniform aggregates with intense ECL emission. In this study, we develop three TPE derivatives carrying a pyridinium group, an alkyl chain, and a quaternary ammonium group via the Menschutkin reaction. The resulting molecules exhibit significantly red-shifted FL and enhanced ECL emissions due to the tunable reduction of the energy gap between the highest occupied molecular orbitals (HOMOs) and the lowest unoccupied molecular orbitals (LUMOs). More importantly, the amphiphilicity of the as-developed molecules enables their spontaneous self-assembly into well-controlled spherical nanoaggregates, and the ECL intensity of nanoaggregates with 3 −CH 2 − (named as C 3 ) is 17.0-fold higher compared to that of the original 4-(4-(1,2,2-triphenylvinyl)phenyl)pyridine (TPP) molecule. These cationic nanoaggregates demonstrate a high affinity toward bacteria, and an ECL sensor for the profiling of Escherichia coli (E. coli) was developed with a broad linear range and good selectivity in the presence of an E. coli-specific aptamer. This study provides an effective way to enhance the ECL emission of TPE molecules through their derivatization and a simple way to prepare well-controlled AIECL nanoaggregates for ECL application.