Optical imaging of individual single-walled carbon nanotubes (SWCNTs) enables the characterization of heterogeneous SWCNT samples. However, previous measurement methods have targeted SWCNTs fixed on a substrate. In this study, absorption-contrast imaging of individual SWCNTs moving irregularly in a solvent was performed by simultaneous multiwavelength photothermal (PT) microscopy. Using this technique, heterogeneous samples containing semiconducting and metallic SWCNTs were characterized by absorption spectroscopy. The semiconducting and metallic SWCNTs were visualized in different colors in the obtained multiwavelength images due to their different absorption spectra. Statistical analysis of the multiwavelength signals revealed that semiconducting and metallic SWCNTs could be distinguished with more than 90% accuracy. Time-series PT imaging of the nanotube aggregates induced by salt addition was also conducted by performing single-nanotube measurements. Our study demonstrated that PT microscopy is a versatile technique for determining the composition and degree of aggregation of SWCNTs in liquid and polymeric media, which can promote the industrial application of such materials.