AimsThe present study aims to explore the relations between symptoms of depression and anxiety and self-efficacy among people with diabetes. At the same time, we also examined the sex difference between network structures.MethodsThis study recruited 413 participants with diabetes, and they completed Generalized Anxiety Disorder Scale (GAD-7), Patient Health Questionnaire (PHQ-9), and the Self-efficacy for Diabetes (SED). Symptom network analysis and network comparison test were used to construct and compare the depression-anxiety symptom network models of the female and male groups. Finally, we conducted flow diagrams to explore the symptoms directly or indirectly related to self-efficacy.ResultsThe strongest edges in the depression-anxiety symptom networks are the edge between “GAD3” (Excessive worry) and “GAD4” (Trouble relaxing) and the edge between “PHQ1” (Anhedonia) and “PHQ4” (Energy) in the female and male groups, respectively. Most of the symptoms with the highest EI and bridge EI are related to worry and nervousness. Additionally, in the flow diagram of the female group, “PHQ6” (Guilt) has a high negative association with self-efficacy.ConclusionFemales with diabetes are more vulnerable to depression and anxiety. Interventions targeting key symptoms in the network may be helpful in relieving the psychological problems among people with diabetes.