Yes, geofencing is completely legal. Obviously, the technology offers a lot of benefits particularly when it comes to beefing up security within an environment, so its use is something that is generally encouraged and not frowned upon by the law. The only significant legal consideration that may arise has to do with privacy. Thankfully, there are local laws in place to deal with this particular issue. For instance there are laws in certain places that require companies to have clear policies in place and be transparent about their use of geofencing security and any of the real time location based technology. Once users and customers are notified about the data being collected and used in their indoor geofencing, it is completely legal to implement and run the geofencing systems.