Solvents are commonly used in both fine chemicals and pharmaceutical industries to aid chemical reactions and purification of products. In pharmaceutical industries, active pharmaceutical ingredients (APIs) are often formulated in batch organic reactions that utilize solvents as a reaction medium, which can vary depending on the process and physical properties of the system. The combined contribution of the current solvent usage rate and common solvent disposal method such as incineration can release toxic chemicals to the environment. The potential detrimental effects on the environment and safety considerations required the implementation and optimization of existing solvent recovery technologies to improve the greenness and overall sustainability of a given chemical process. To assess the feasible recovery pathways, General Algebraic Modeling Systems (GAMS) was employed to formulate and solve the optimization problem comprising of mathematical models that focus on the material and energy balance, utility requirements, equipment design, and costing around common separation and recovery technologies such as distillation, ultrafiltration, membranes, evaporation, and extraction. This work is part of the US EPA funded P2 (pollution prevention) project where the goal is to consult with industries and perform typical case-by-case analysis to develop a roadmap for selecting the best pathway for solvent recovery that minimizes cost, reduces the environmental impact, limits waste, and maintains safe operation.