An on-line solid phase extraction (SPE) method using mini column packed with natural sorbent based on cotton roll dyed by quinalizarin was developed for simultaneously pre-concentration of rare earth elements and uranium at trace levels in environmental samples followed by inductively coupled plasma optical emission spectrometry (ICP OES) determination. Various parameters such as sample and eluent flow rate, sample volume and matrix ions on the method efficiency have been investigated. Under the optimized conditions, the limits of detection (LODs, 3σ) for rare earth elements were in the range of 0.002-0.300 µg L −1 and 0.420 µg L −1 for uranium. The relative standard deviation (n = 5) were lower than 6% except for samarium and uranium. The method was successfully applied for determination of trace rare earth elements and uranium in lake, well, tap water and carbonate mineral samples. The accuracy of the proposed method was validated by add-found method and direct analysis by ICP OES. This method has some advantages such as simplicity, rapidity, green chemistry and high sensitivity.