An environmentally friendly microextraction method which includes determination of trace levels of rhodamine B in cosmetic and detergent samples by using UV-vis spectrophotometric determination after enrichment with has been established heat-induced homogeneous liquid-liquid microextraction method. As extraction solvent, cyclohexylamine has been used, and the rhodamine B concentration in extraction phase was determined at 550 nm by using UV-vis spectrophotometry. The major parameters influencing in the method including pH, volume of cyclohexylamine, amount of NaCl, sample volume have been assessed. The influences of the matrix components were also investigated. The limit of detection, the limit of quantitation and linear range were found as 0.014, 0.047 and 0.047-4.79 mu g mL(-1), respectively. The relative standard deviation was 1.03%. The extraction procedure was applied to determination of rhodamine B in the cosmetic and detergent samples.