['Treatment of chronic hepatitis B (CHB) with lamivudine (3TC) is limited by development of drug-resistant mutants at the YMDD motif. We aimed to validate the use of mass spectrometry to detect YMDD mutants and quantify viral subpopulations.', 'A total of 21 Chinese patients with severe acute exacerbation of CHB treated with 3TC were studied. Serial serum samples were tested for wild-type and YMDD mutants using matrix assisted laser desorption/ionization time-of-flight mass spectrometry. INNO-LiPA assay was performed for comparison.', 'At a median follow-up of 192 weeks, 11 patients developed YMDD mutants (six had YIDD, four had YVDD and one had YV/IDD). Mass spectrometry was concordant with INNO-LiPA in all but one patient, in which INNO-LiPA detected coexistence of YIDD and YVDD but mass spectrometry and direct sequencing detected YVDD only. Mass spectrometry was able to reliably detect a minor hepatitis B virus (HBV) subtype at 5% or above. By serial quantitative measurement, several patterns of viral dynamics were observed. In some cases, YMDD mutants dominated the whole viral population. In other cases, the proportion of YMDD mutants fluctuated with time. When more than one mutant was present (that is, YIDD and YVDD), the different mutants might dominate during different time periods.'] Does quantitative subtyping of hepatitis B virus reveal complex dynamics of YMDD motif mutants development during long-term lamivudine therapy?