Diagnosis is primarily made through a genetic test known as the FMR1 DNA test, which detects the number of CGG repeats in the FMR1 gene. Females with FXS can be more difficult to diagnose due to variable symptom presentation, and they might require a more comprehensive evaluation including family history and clinical examination.