Objectives: Proteus mirabilis is a gram-negative facultative anaerobe with swarming motility and an ability to self-elongate and secrete a polysaccharide which allows it to attach to and move along surfaces like catheters, intravenous lines and other medical equipment. causes many diseases, whether systemic or local, as it is considered an opportunistic pathogen. It possesses many virulence factors. Phenotypic detection of virulence factors is associated with Proteus mirabilis possessing genes encoding for those factors, which increase pathogenicity Methods: The current study aimed to isolate P. mirabilis and detection some virulence factors, urease, protease and biofilm formation to Compare them phenotypically and genetically. Results: Samples of urine were collected from (150) patients complaining about urinary tract infections at Al-Karamah Teaching Hospital in Baghdad Governorate from 15 August 2022 to 15 December 2022. (90) samples from females and (60) samples from females. By used VITEK 2 to confirm the true diagnosis of isolates after culture, microscopic and biochemical methods, multiplex1PCR technique used to detect the presence of genes. Thirty isolates (27.27%) of P. mirabilis were obtained, The infection rate in females 23(67.2%) in comparison with males 7(23.3%). Conclusions: Phenotypic detection results showed the ability of all isolates (100%) to produce urease, protease, investigation of biofilm formation displays all isolates to form, 14 (46.66%) were strongly membrane-producing, while 16(53.35%) were moderately, While genetic results to detection genes which encoded for this factor consist of ( Ure C, Zap A, Pmf A) genes showed the presence of these genes by (100%, 100%, 26.7%), respectively.