We study the role of predation dynamics in oscillation of pest population in insect ecology. A two-dimensional pest control model (under the use of insecticides) with time delay in predation is considered in this paper. By the Hopf bifurcation theory, we prove the existence of the stable oscillation of the system. We also consider the economic viability of the control process. First we improve the Pontryagin maximum principle (PMP) where the delay in the system is sufficiently small and control function is linear, and then we apply the improved version of PMP to perform the optimal analysis of the pest control model as a special case. © 2013 Samit Bhattacharyya and Suma Ghosh.