Key requirements of successful animal behavior research in the laboratory are robustness, objectivity, and high throughput, which apply to both the recording and analysis of behavior. Many automatic methods of monitoring animal behavior meet these requirements. However, they usually depend on high-performing hardware and sophisticated software, which may be expensive. Here, we describe an automatic infrared behavior-monitor (AIBM) system based on an infrared touchscreen frame. Using this, animal positions can be recorded and used for further behavioral analysis by any PC supporting touch events. This system detects animal behavior in real time and gives closed-loop feedback using relatively low computing resources and simple algorithms. The AIBM system automatically records and analyzes multiple types of animal behavior in a highly efficient, unbiased, and low-cost manner.