Recently, a part of healthcare services has been assigned to the private sector to increase the quality of medical services, increase patient satisfaction and reduce costs. In this regard, the outsourcing approach has been significantly considered for pharmaceutical services provided by healthcare centers. The purpose of this study is to evaluate the effect of outsourced pharmacies of rural healthcare centers on service quality using structural equations modelling. The methodology used was descriptive using correlation by structural equations modelling. The studied population included those patients who provided their medicines from pharmacies of rural healthcare centers in Abhar and Soltanieh counties. The samples included 384 of these patients. Data was collected by outsourcing and service quality questionnaires. A structural equation modelling was used to analyze data by LISREAL software. Results indicated a positive significant effect of outsourced pharmacies of rural healthcare centers on quality of tangibles, reliability, responsiveness, assurance and empathy. findings emphasize the role of outsourcing on quality of services. Outsourced pharmacies of rural healthcare centers of Abhar and Soltanieh counties lead to improved service quality.