Wireless Sensor Networking (WSN) is among the most recent technologies with uses ranging from medicine to the military. Nevertheless, WSNs are impervious to numerous types of cyber-attacks that could compromise the performance of the entire network, which could lead to fatal problems such as a routing attacks, denial-of-service attack, probe, etc. Key management protocols, secure routing, and authentication protocols cannot offer WSN protections for such kinds of attacks. The intrusion detection scheme is the way to solve the issue. This paper proposes an Enhanced simulated annealing based support vector machine algorithm for intrusion detection. Traditional features selection algorithm simulating annealing takes much time to run. So, to avoid this problem, we have introduced Enhanced simulated annealing. From the performance results, it can be seen that our proposed feature selection method provides better performance results than the existing method.