Mobile Ad hoc Network (MANET) is a Self- wireless network for mobile gadgets. It does now not require any steady infrastructure to be configured which makes it additional suitable for use in environments that require on-the-fly setup. Ad-hoc networking can also be applied wherever the place there's little or no conversation infrastructure or the existing infrastructure is highpriced or inconvenient to use. In this network, nodes communicate wirelessly which makes securing a mobile ad -hoc network is very challenging. The IDS is a process for detecting the attacks by analyzing and regularly monitoring network services. For detecting malicious node trust is calculated and attaining the security.