This study investigated gender differences in cognition in schizophrenia with and without diabetes. Cognition was assessed in 263 individuals with schizophrenia with age range (40-68): 67 males and 34 females with schizophrenia with diabetes; and 125 males and 37 females with schizophrenia without diabetes according to the repeatable battery for the assessment of neuropsychological status (RBANS). Fasting glucose, hemoglobin A1c (HbA1c) and lipid levels were measured. Results showed that male individuals performed worse on most cognitive tasks, especially attention, in schizophrenia with than without diabetes. This result was not observed in female individuals. Also, individuals of both genders showed higher fasting glucose and HbA1c in schizophrenia with than without diabetes. In schizophrenia with diabetes, males had significantly worse cognition than females in all cognitive domains. Higher HbA1c, lower high-density lipoprotein, and an earlier age of onset of schizophrenia were found in males compared with female individuals. HbA1c was negatively associated with attention and the RBANS total score for males but not for females. In schizophrenia without diabetes, males showed worse performance in immediate and delayed memory than females. This study support cognition was worse for males with schizophrenia irrespective of whether they have diabetes or not. However, diabetes exemplified the gender differences, especially in attention.