The ability of a poly(2,7‐carbazole) to disperse three samples of commercially available single‐walled carbon nanotubes (raw HiPCO, purified HiPCO, and CoMoCAT nanotubes) has been investigated. UV–vis‐NIR absorption spectroscopy, photoluminescence mapping, Raman spectroscopy, and atomic force microscopy were used to characterize the dispersions obtained. It was found that the polycarbazole preferentially interacted with semiconducting nanotubes and was efficient at dispersing smaller diameter (under 1.1 nm) carbon nanotubes. Larger diameter nanotubes could be dispersed to form stable suspensions in THF; however, it appeared that there were some small bundles present. It was found that annealing the purified HiPCO nanotubes at high temperature under an inert atmosphere greatly enhanced the ability of the polycarbazole to disperse the nanotubes and remove metallic species. © 2014 Wiley Periodicals, Inc. J. Polym. Sci., Part A: Polym. Chem. 2014, 52, 2738–2747 The interaction of a high molecular weight polycarbazole with single‐walled carbon nanotubes (SWNTs) was found to be selective for semiconducting SWNTs. This polymer was able to disperse commercial raw HiPCO, purified HiPCO, and CoMoCat SWNTs. Annealing of the purified HiPCO SWNTs led to a dramatic improvement of spectroscopic properties