Buildings are rapidly becoming more digitized, to a large extent due to developments in IoT. This will provide many opportunities but also a number of challenges. One of the central challenges in the process of digitizing buildings is the ability to monitor the building’s status effectively. This monitoring is essential for various services that rely on information about the presence and activities of individuals within different areas of the building. Occupancy information, including people counting, occupancy detection, location tracking, and activity detection, plays a vital role in the management of smart buildings. In this article, our primary focus is on the use of Passive Infrared (PIR) sensors for gathering occupancy information. PIR sensors are among the most widely used sensors for this purpose due to their consideration of privacy concerns, cost-effectiveness, and low processing complexity compared to many others. Despite numerous literature review articles in the field of occupancy information, there currently isn’t a specialized literature review dedicated to occupancy information derived specifically from PIR sensors.Therefore, this study analyzes articles that specifically explore the application of PIR sensors for occupancy information. This article provides a comprehensive literature review of PIR sensor technology from 2015 to 2023, with a focus on applications in people counting, activity detection, and localization (traking and location). It consolidates findings from a number of articles that have explored and enhanced the capabilities of PIR sensors in these interconnected domains. This review thoroughly examines the application of various techniques, machine learning algorithms, and configurations for PIR sensors in indoor building environments, emphasizing not only the data processing aspects but also their advantages, limitations, and efficacy in producing accurate occupancy information.These developments are crucial for improving building management systems in terms of energy efficiency, security, and user comfort, among other operational aspects.These developments are crucial for improving building management systems in terms of energy efficiency, security, and user comfort, among other operational aspects. The paper seeks to offer a thorough analysis of the present state and potential future advancements of PIR sensor technology in efficiently monitoring and understanding occupancy information by classifying and analyzing improvements in these domains.