N-Methyl-2-pyrrolidinone (NMP) is a capable solvent which could extract more substance from coals than any other solvents. However, the molecular composition of the extract was still unclear. In this study, a lignite was subjected to Soxhlet extraction using pyridine followed by NMP. The NMP extract and its hydrolyzed product were characterized by negative-ion electrospray ionization Fourier transform ion cyclotron resonance mass spectrometry. The results showed that the NMP extract and its hydrolyzed product had very high nitrogen contents and NxOy class species with multiple nitrogen and oxygen atoms dominant in the detected species. Relative abundance of 15N isotope and the molecular composition of extracts obtained from different extraction conditions indicated that the NMP involved into the extracts. Both self-polymerization of NMP and chemical reactions between NMP and coals occurred in the thermal extraction.