The Qiangtang Basin is the largest Mesozoic marine basin in the Tibetan Plateau. The Upper Triassic black mudstones are among the most significant hydrocarbon source rocks in this basin. Here, we present geochemical data for the Upper Triassic black mudstones to determine their paleoenvironment conditions, provenance, and tectonic setting. To achieve these, 30 black mudstones formed in various sedimentary environments were collected from the Zangxiahe, Zana, and Bagong formations. The results show that the total REE concentrations of mudstones from these formations range from 169 to 214 ppm, 204 to 220 ppm, and 141 to 194 ppm, respectively. All samples have chondrite-normalized REE patterns with enrichment of LREE, depletion of HREE and negative Eu and Ce anomalies. Specifically, mudstones from the Bagong Formation exhibit higher negative Eu anomalies and lower REE contents than those from the Zangxiahe and Zana formations.Mudstones from the Zangxiahe and Zana formations with low Sr/Ba and Sr/Cu ratios indicate the humid climate, whereas the high Sr/Ba and Sr/Cu ratios of rocks from the Bagong Formation suggest the arid climate. The low U/Th, (Cu + Mo)/Zn, V/Cr and Ni/Co ratios of rocks from the Zangxiahe, Zana, and Bagong formations are indicators of oxidized conditions. The bivariate diagrams (TiO2 vs. Al2O3, TiO2 vs. Zr, La/Th vs. Hf, and Co/Th vs. La/Sc) reveal that mudstones from the Zangxiahe and Zana formations were potentially derived from intermediate igneous rocks, whereas mudstones from the Bagong Formation were probably sourced from felsic igneous rocks. Their source rocks are mostly deposited in the collisional setting. REE of mudstones from the Zangxiahe, Zana, and Bagong formations were possibly originated from terrigenous detritus, with minor non-terrigenous contributions into the Zana samples. The REE contents of these mudstones are controlled mainly by terrigenous detrital minerals, rather than by the paleoclimate, paleoredox conditions, or organic matter. However, calcite minerals could dilute REE. Therefore, the REE contents of the Bagong Formation mudstones are significant lower than those of the Zangxiahe and Zana formations mudstones.