The optothermal properties of nanoparticles are of interest for biosensors and highly sensitive biochip applications. In this respect, the longitudinal resonance of Au nanorods was used to transform near infrared energy into thermal energy in a microfluidic chip. The resulting heat generated effectively caused pathogen lysis. Consequently the DNA was extracted out of the cell body and transferred to a PCR system. This resulted in the successful demonstration of a one step real-time PCR system for pathogen detection without removal or changing of reagents.