Typhoid is caused by Salmonella enterica serovar Typhi that is usually diagnosed by using serologic and immuno-chromatographic techniques in developing counties including Pakistan, which is thought to be an unreliable diagnostic method. For accurate diagnosis we used molecular techniques to amplify 204 bp StyR-36 and 498 bp flagellin gene for the identification of Salmonella enterica serovar Typhi. This study was done on 58 individuals diagnosed positive of typhoid via serologic tests and 50 healthy individuals as a control group. Success rate of amplification for flagellin gene was 77.58% while that for StyR-36 gene was 68.97% showing that flagellin gene primer is characterized by higher value of percentage of amplification than that of StyR-36 gene primer. For precise and accurate diagnosis of Salmonella infection, both genes can be targeted using specific molecular markers.