During the last decade, the demand for lithium has been growing exponentially with its widespread uses in manufacturing, especially with the worldwide deployment of electric vehicles. Thus, lithium is considered integral to the U.S. economy, technological advancement, and the pursuit of sustainable and clean energy solutions. The produced water is known to be rich in several minerals and valuable elements, such as potassium and magnesium, and a trace amount of precious elements including lithium. However, the existence of metals in the produced water is one of the challenges to extract lithium, especially magnesium which is located in diagonal positions within the periodic table that exhibit similarities. The produced water was first purified, resulting in the complete removal of magnesium, and then lithium was precipitated by phosphate. The effects of operating conditions on the Li3PO4 precipitation behaviors were evaluated. The effect of different precipitating reagents was evaluated on the percentage of lithium extracted, Na3PO4 (TSP) was found to be a promising Li precipitating reagent. The highest percentage of lithium extracted was reached when the Li concentration of produced water was enriched and increased up to 350 mg/l, then Li removal was 53% at 7 grams of TSP and 200 rpm for 2 hours. The results indicated that temperature is a more important factor than stirring speed. The novelty of the current work is not only by the results obtained that may create additional financial benefits to oil-producing areas but on that the sustainable disposal of produced water may encourage the recycling and reuse practice, ultimately reducing the use of freshwater for hydraulic fracturing.