Rationale: The aim of this work is to use a new design of online sampling photoionization mass spectrometer to analyze chemical ingredients in inhaled and exhaled cigarette smoke directly without separation. Methods: Based on vacuum ultraviolet photoionization time-of-flight mass spectrometry (VUV-PI-TOFMS) and a sampling system, a newly developed rapid online sampling design approach was used for the upper respiratory tract retention study of gaseous mainstream cigarette smoke components during smoking. The cigarette smoke inhaled or exhaled by seven subjects who displayed three different smoking patterns was directly sampled into a vacuum chamber, photoionized, and analyzed using TOFMS. Results: Fourteen species, comprising aldehydes, ketones, phenol, methanethiol, nitrogen-containing heterocyclic compounds and unsaturated hydrocarbons, were identified in the cigarette smoke obtained from Virginia-type cigarettes. The upper respiratory tract results for these compounds were similar for smokers with the three different smoking patterns: aldehyde and ketone constituents had a high retention level of more than 60%; phenol, methanethiol, and nitrogen-containing heterocyclic compounds were retained at between 30% and 70%; and the retention of unsaturated hydrocarbons was about 20%--60%. The retention trend of the same smoke components in Virginia-type cigarettes by subjects from the three smoking patterns (A, B, and C) was consistent, and the retentions all increased with increased smoking age (A < B < C). Conclusions: This is the first report of a new online sampling design approach to the study of cigarette smoke components in inhaled and exhaled breath, to evaluate components retained in the upper respiratory tract by subjects with different smoking patterns. This method has good repeatability, and the results indicated that this is a very promising tool for the study of the retention of cigarette smoke constituents. [ABSTRACT FROM AUTHOR]