Background & aim: Urinary tract infections is one of the most common infectious diseases which many factors are involved, but bacteria such as E.coli is the most important agent of urinary tract infections. Antibiotic resistance as a major problem in the treatment and control of these infections is considered. The aim of this study was to determine the genes that cause resistance to beta-lactam family of antibiotics on E.coli isolated from urinary tract infections in Yasuj city. Methods: In the present Cross-sectional study which was conducted over a period of seven months in 2013, 123 samples of E.coli were collected from Yasuj hospitals for molecular analysis of TEM, SHV CTX-M genes, causing antibiotic resistance by (PCR) method.Data were analyzed using SPSS statistical test. Results: PCR showed that the gene frequency of TEM (50.94%), SHV (47.16%), CTX-M-9 (35.84%), and CTX-M-10, (32.07%) and the highest and lowest prevalent of genes were related to TEM and CTX-M10 in E.coli isolated from urinary tract infections respectively. Conclusion: According to the high prevalence of resistance to beta-lactam antibiotics, the current study showed that the noted genes play an important role in facilitating the spread of antimicrobial resistance in this region.