In cognitive radio (CR) networks, cognitive users need continuously monitor spectrum to decrease or avoid interference to primary users, yet attain a reasonable throughput. In this paper, we exploit a scheme to dynamically change the detection time duration to gain maximum throughput. Meanwhile the average de-tection time is kept as small as possible. The advantages of our approaches are approved by the deductions. Also the simulation results enable us to recognize the improved performance of our scheme over those ones with fixed detection time assignment.