Cloud-point extraction (CPE) using the non-ionic surfactant Triton X-100 was used successfully to remove a highly toxic dye, rhodamine 6G (R6G), from water and wastewater. The effects of different analytical parameters such as pH, concentration of Triton X-100 (TX-100) and salts, equilibrium temperature, and incubation time on the efficiency of the extraction of R6G were studied in detail, and optimum conditions for dye extraction were obtained. Thermodynamic parameters including changes in Gibbs free energy, enthalpy, and entropy were also calculated, and these parameters indicated that the CPE of R6G was feasible, spontaneous, and endothermic in the temperature range of 75-95 degrees C. The equilibrium solubilization capacity of TX-100 was found to be 1.10 mmol/mol by using Langmuir isotherm models. No significant interference effects were observed in the presence of phenol and its derivatives, some acidic and basic dyes and most of the anions and cations. It was concluded that the CPE process described in this paper can be an alternative technique for removal of dyes and other pollutants from waters and wastewaters.