Yes! The Door/Window Sensor can be used inside a safe. You just have to figure out how to mount the magnet and sensor so they are secure and the magnet can trigger the sensor. Also, you have to make sure the Z-Wave signal will reach inside the safe. Check out this article that goes over how to make sure your Z-Wave network is healthy, and how you can improve it.