At present, office entrances and exits are controlled mainly using RFID tags, such as employee ID cards or admission cards. When using an RFID tag, the card reader is placed at the entrance and recognition only occurs when entering the room in most cases. Thus, the information required to enter is only recognized during entry but not when leaving. In this paper, we propose a method for exit recognition that uses an illuminometer and an accelerometer embedded in a mobile sensor, which assesses the changes in the illuminance and acceleration data for subjects. We analyze the walking data obtained from the feature values of the acceleration data and the exit data derived from the feature values of the illuminance. We found that this method achieves 87.60% of accuracy for exit recognition.