The instant invention provides a method for diagnosing an infection in a subject by administering to the subject a compound suitable for imaging which binds to a thymidine kinase present in the infecting organism, and obtaining an image of the subject to determine the presence and location of the compound and wherein a localization of the compound is indicative that the subject has an infection.