This study sought to examine the mucoviscosity-associated gene A in Klebsiella pneumoniae isolates, by using polymerase chain reaction. From November 2020 to February 2021, 40 Klebsiella. pneumoniae isolates were gathered from several hospitals in AL-Kut City. the isolates were collected from medical samples in healthcare settings. Based on API20E and the Vitek-2 compact system, all K. pneumoniae isolates were identified. The disc diffusion method was used to test the sensitivity of 12 antibiotics. Ampicillin and Amoxicillin + Clavulanic acid had a 100% level of antibiotic resistance, while Imipenem had a 5% degree of resistance. To find the mucoviscosity-associated gene A (mag A), polymerase chain reaction was used. Results from the PCR method revealed that 25% of samples were positive.