Synchrotron radiation microbeam X-ray fluorescence (micro-SXRF) was used to analyze individual aerosol particles collected at a height of 2 m above a heavy-traffic roadside in a heavy-industrial area of Shanghai. A pattern recognition technique, which took micro-SXRF spectra of single aerosol particles as its fingerprint, was used to identify the origins of the particles. The particles collected from the environmental monitoring site are mainly from metallurgic industry (26%), unleaded gasoline automobile exhaust (15%), coal combustion (10%), cement dust (10%) and motorcycle exhaust (8%).