Agriculture significantly contributes to economic growth, generating employment opportunity also simulating the small-scale agriculture experiences. However, unforeseeable weather patterns, natural disasters, and unwelcome intruders are significant threat which brings severe financial losses for the owner. To overcome these challenges, this study aims to develop IoT-based automation greenhouse integrated with intrusion detection and prevention system. Automation greenhouse provides optimal environmental conditions for crop growth and enhances agricultural productivity, additionally inclusion of intrusion detection and prevention practices could detect and give immediate responses towards intrudes approaches. The automation greenhouse with intrusion detection and prevention with IoT-based provides the real-time monitoring and control as instant intrusion notification will be send to user through mobile application remotely. Thus, IoT-based automation greenhouse invention provides the sustainable environment condition for crop growth and reducing crop losses from treats.