PurposeThis paper aims to measure the adoption of big data analytics (BDA) to achieve sustainability in services being offered in university libraries in Pakistan.Design/methodology/approachThe study applied a unified theory of acceptance and use of technology (UTAUT) as a framework and used quantitative data collection and analysis method. In total, 246 university library professionals were surveyed using a questionnaire consisting of UTAUT factors. The gathered data were analyzed using partial least structural equation modeling (PLS-SEM).FindingsThe results showed that performance expectancy (PE), effort expectancy (EE) and social influence (SI) significantly impacted the behavioral intention (BI) to adopt BDA. Facilitating conditions (FCs) have a statistically significant influence on the adoption of big data in libraries, while BDA has a statistical influence on the sustainability of library services (SLS).Practical implicationsBDA assists libraries in making better decisions about demand-driven collection creation, library space management, usage tracking, and quality maintenance in routine and repetitive library tasks such as cataloging, indexing, archiving, administration, preservation and representation. BDA supports libraries in making more cost-effective, innovative, user-oriented services, resource transferring, social identity, resource utilization, healthier user experience, strategic planning, informed decision-making and state-of-the-art infrastructure.Originality/valueThe foundation of this study is based on information gathered from various sources and university libraries in Punjab to better understand the challenges associated with using BDA for the SLS in Pakistan.