Diagnosing MRSA involves collecting a sample from the suspected infection site, such as skin, blood, urine, or sputum, and conducting laboratory tests to identify the bacteria and determine its antibiotic resistance. Polymerase chain reaction (PCR) tests and culture methods are commonly used for diagnosis.