An animal test device for performing a behavior test of a test animal and which can automatically perform optimization of the test includes a cage configuring a living environment of the test animal a chamber removably attached to the cage a touch panel provided in the chamber, presenting a problem to the test animal, detecting a response of the test animal, and obtaining response data a position measurement device that measures a position of the test animal in the cage and the chamber and obtains position data a data storage unit that stores the response data and the position data as test data and a problem improvement unit that improves the problem presented by the touch panel, based on the test data.