The present invention relates to a variable stable structure that discharges gas generated in a stable outside via the opening and closing of a roof and the opening and closing of a side wall, the roof and the side wall being automatically opened and closed according to the temperature inside the structure during summer, and prevents bacterial infection by preventing harmful insects from coming in through the use of a sterilizing effect using natural light permeating a PO film on an upper end of the side wall and an inner screen. The present invention includes: a frame unit (100) where a side wall frame (110) that is an inclined surface of a structure (10) having a lattice frame and a roof frame (130) on an upper side of the side wall frame (110) are coupled to each other using a hinge (140); a motor guide (210) that is provided on one side of the side wall frame (110); and a side wall opening and closing unit (200) having a feed roller (220) provided on one side of a motor (211) coupled with the motor guide