Dispersion of single-walled carbon nanotubes (SWNTs) with poly(pyridinium salt)s via non-covalent interactions in DMSO is demonstrated. The resulting composites display high quenching efficiency in the photoluminescent properties of this class of ionic polymers, and TEM study shows that SWNTs are wrapped by ionic polymers with thickness around 3 nm.