Biosolids and sludge are what remain after the liquid fraction of wastewater is separated during wastewater treatment. These high organic content matrices are known to contain organic contaminants, a few of which are the hazardous and environmentally persistent per- and polyfluoroalkyl substances (PFAS). The current study investigates whether sludge from a treatment facility serving mostly industrial establishments and biosolids from a facility serving mostly domestic dwellings retain these ‘forever chemicals’ similarly. Using 31 markers covering different classes of PFAS, the sludge was found to contain higher levels of PFAS (869 ± 791 ng/g; 21 of 31) than biosolids (31 ± 7 ng/g, 11 of 31). The most abundant overall was perfluorooctane sulfonic acid (PFOS), mostly in sludge (range: 71–1300 ng/g versus 0–18 ng/g in biosolids). The large PFAS concentration variability in sludge was seasonal and sinusoidal. Sludge, additionally, contained all long chain PFAS, precursors (mostly surfactant ingredients and their transformation byproducts) and short chain PFAS (perhaps because of higher moisture content). By regression, the sludge is shown to consistently contain twice as much PFAS as biosolids when the same amounts are exposed to increasing levels of PFAS. Factors observed to cause differential PFAS retention between sludge and biosolids were moisture (98.6 % and 72.1 %, respectively), chain length, input quality (industrial versus residential) and functional group. Sulfonic acids for instance are one C atom shorter than carboxylates with similar occurrence in sludge and biosolids. More studies are needed to define the roles that organic carbon of sludge/biosolids, water chemistry, temperature and factors not considered here play in partitioning PFAS between the two matrices with respect to inputs. Existing Koc values could not help in explaining observed trends, but the ratio of biosolids-to-influent concentrations was found to correlate positively with PFAS size. Using influent in the ratio, and not effluent, is novel. SynopsisSludge and biosolids are soil amendments; they contain hazardous and persistent PFAS. Methods of decoupling PFAS from these matrices start with understanding matrix-driven PFAS partitioning as shown here.