Western Gondwana resulted from the closure of the Pharusian-Goianides Ocean, a process that culminated in the formation of magmatic arcs, high and ultra-high-pressure (HP-UHP) belts, and sedimentary basins. These tectonic units occur in the NW part of the Borborema Province (Northeastern Brazil), which encloses the Neoproterozoic Santa Quitéria magmatic arc (SQMA). Metasedimentary rocks (sillimanite-, garnet- and biotite-bearing gneiss, quartzite, and schist) that constitute the Canindé Complex and the Independência Unit surround the western and eastern margins of this arc. According to A/CNK and N/K ratios and the Chemical Index of Alteration calculated for each rock type, the protolith of these rocks correspond to moderately weathered pelites, greywacke, and lithic-arenite. Trace element distributions (LILE, HFSE and REE) indicate that the Canindé Complex rocks are depleted in Sc, V, Cr, Co, Ni and LILE and are formed by mature and stable minerals such as quartz, muscovite and K-feldspar, similarly to passive margin sediments. In contrast, the Independência rocks present higher concentrations of transition trace elements, constituted by unstable-system minerals (iron-magnesium minerals) and immature sediments, typical of active margin settings. In general, these rocks present felsic-source components, with ample fractionation between LREE over HREE (LaN/YbN = 26.2 to 4.16) and with a slight to strong negative Eu anomaly (Eu/Eu* = 1.26 to 0.33). Isotopic Hf data identified a mixture of crustal- and mantle-derived sources. According to tectonic setting discrimination diagrams (Co-Th-Zr/10 and Sc-Th-Zr/10) and the concentrations of characteristic trace elements and ratios (e.g., Th, V, Co, La, Ce, LaN/YbN), these rocks were interpreted as being deposited in basins formed in active and passive margin settings associated with continental and intraoceanic arcs. U-Pb zircon data indicates source rocks from the Archean (3.0 to 2.6 Ga) to the Neoproterozoic (820 to 541 Ma). According to our results, the Canindé and Independência supracrustal rocks were deposited in basins affected by different tectonic regimes, controlled by the installation of the Santa Quitéria Magmatic Arc (SQMA), starting with a passive margin or intracratonic basins that evolved into an active margin setting on the western SQMA margin (Canindé Complex) and a predominantly passive margin setting on the eastern SQMA margin (Independência Unit), leading to the formation of forearc and backarc basins.