Poria cocos , with medicinal and edible properties, contains multiple chemical components that pose difficulties in its quality control. Herein, we established a simple thin-layer chromatography spray ionization-mass spectrometry (TLCSI-MS) device that allows the simultaneous separation and identification of bioactive compounds. The triterpene acids in different medicinal parts of Poria cocos were characterized, and the markers of differences were revealed. The quantitative analysis of its pharmaceutical preparation has also been performed to verify the feasibility. The study provides a new analytical perspective for the screening and identification of multiple compounds and a good option for the quality evaluation of herbal medicines and foods.