This paper presents the mineralogical and geochemical compositions of coal benches and non-coal (carbonaceous rock benches, parting, roof and floor) samples from the No. 1 Coal in the Longtan Formation of the Permian-Lopingian epoch from the Shugentian Coalfield, eastern Yunnan Province, southwestern China. The coal is rich in Nb, Ta, Zr, and Hf, which were derived from the Kangdian Upland with the dominant compositions of the Emeishan basalt. The minerals identified in the samples include mixed-layer illite-smectite, kaolinite, quartz, siderite, and minor calcite, pyrite, anatase and ankerite. Albite and chamosite occur in the roof and floor samples. The parting sample (SGT1-2p) is characterized by abundant siderite (64.9%) and calcite (20.1%), and one carbonaceous rock sample SGT1-11 contained a large amount of pyrite (26.1%). Four factors were responsible for the geochemical and mineralogical compositions in the samples; namely, the terrigenous detrital materials transported from the Kangdian Upland, direct volcanic ash inputs, multi-stage inputs of hydrothermal fluids, and marine influences. The co-existence of siderite and pyrite was attributed to a continental-marine transitional environment.