Herbicide-resistant soybeans are among the most widely planted transgenic crops. The in situ evaluation of spatial lipidomics in transgenic and non-transgenic soybeans is important for directly assessing the unintended effects of exogenous gene introduction. In this study, matrix-assisted laser desorption/ionization mass spectrometry imaging (MALDI-MSI)-based nontargeted analytical strategies were used for the first time for in situ detection and imaging of endogenous lipid distributions in transgenic (EPSPS and PAT genes) herbicide-resistant soybean (Glycine max Merrill) (S4003.14) and non-transgenic soybean (JACK) seeds. Statistical analysis revealed significant differences in lipids between S4003.14 and JACK seeds. The variable importance of projection analysis further revealed that 18 identified lipids, including six phosphatidylcholines (PCs), four phosphatidylethanolamines (PEs), five triacylglycerols (TAGs), and three cytidine diphosphate-diacylglycerols (CDP-DAGs), had the strongest differential expression between S4003.14 and JACK seeds. Among those, the upregulated expressions of PC(P-36:1),