As in today’s workplace, firms are thriving to achieve their stability and cope up with the performance to remain competitive as for that appropriate talent is required to meet up the needs and fulfill the challenges, concerning certain factors: work environment and other compensation factors show positive association attract talent and maintain their organizational performance. This research tends to find out the mediation effect of talent attraction while gaining organizational performance with the help of compensation and work environment factors among pharmaceutical of Karachi Pakistan with the sample of 220 extracted of the HR professionals, survey method with likerd questionnaire approach is used to find the consistency and accuracy of the data related to the respondents with the help of Smart pls and SEM technique relationship among various variables are find out. Although findings reveal that work environment certain factors such supervisor support, work-life balance, the physical working condition shows a positive association with the attraction of the talent and maintain organizational performance similar goes with direct and indirect compensation as they found relatable well secured and comforted environment talent is attracted apart from that they also looked to gain certain skills, development opportunities, and professional growth. This research is limited to the pharmaceutical sector of Karachi Pakistan and the results are also restricted to the boundaries, moreover, generalizability is low as we cannot implement the results overall.