Perfluoroalkyl and polyfluoroalkyl substances (PFASs) from stain-guard treated carpets in landfills continue to be released into the environment. To understand the leaching of PFASs from carpets to landfill leachate as a function of environmental factors, leaching concentrations of ten perfluoroalkyl carboxylic acids and four perfluoroalkyl sulfonic acids were quantified for different pHs, contact times, mixing speeds, and temperatures. Partitioning from carpet to leachate and distilled water at different pHs showed negligible differences. The total concentration of leaching PFASs in distilled water was approximately 1 ng L(-1) higher than in landfill leachate, indicating that the presence of multivalent cations in leachate could have a negative effect on leaching of PFASs. For all PFASs monitored, leaching increased with increasing contact time and temperature. Perfluorohexanoic and perfluoroheptanoic acids experienced the largest increases with contact time and temperature. Gibbs free energy (ΔG > 0), enthalpy (ΔH > 0), and entropy energy (ΔS < 0) indicated that PFAS leaching from carpet was dominantly controlled by entropy-driven processes and did not differ significantly among individual PFASs. PFAS concentrations in leachate with rotation of an end-over-end contactor were higher than under static conditions, but otherwise, varying the rotation speed had negligible influence. The results provide useful information for management of discarded stain-guard carpets in landfills.