Automatic window open and close device with switch to easily sense opening and closing status

The present invention relates to an automatic window opening and closing device with a switch easily sensing the status of opening and closing. The automatic window opening and closing device comprises: a housing coupled to a window frame supporting a window; a chain coupled to the window and coupled to the housing to open and close the window; a chain module coupled to the chain to accommodate a chain and a sprocket, which makes the chain come in and out; a driving module which has a motor providing driving force for the chain by supplied power and a reducer reducing the rotating force of the motor; and a driving force transmitting module which is provided between the driving module and the chain to accommodate the driving force transmitting unit transmitting the rotating force of the driving module to the sprocket. The chain module includes: an open sensing switch sensing the opening location in which the window is opened and a close sensing switch sensing the closing location in which the window is closed. The open sensing switch senses the rear end part of the chain in the opening location, and the close sensing switch senses the front part in which the window is coupled with the chain in the closing location. Therefore, the present invention provides an automatic window opening and closing device with a switch capable of preventing malfunction and breakdown of configuration and reducing the sensing error of the opening and closing of window when the window is moved by external force.