The paper deals with a three-parameter family of special double confluent Heun equations that was introduced and studied by V. M. Buchstaber and S. I. Tertychnyi as an equivalent presentation of a model of overdamped Josephson junction in superconductivity. The parameters are l, λ, µ ∈ R. Buchstaber and Tertychnyi described those parameter values, for which the corresponding equation has a polynomial solution. They have shown that for µ ≠ 0 this happens exactly when l ∈ N and the parameters (λ, µ) lie on an algebraic curve Γ l ⊂ C 2 (λ,µ) called the l-spectral curve and defined as zero locus of determinant of a remarkable three-diagonal l × l-matrix. They studied the real part of the spectral curve and obtained important results with applications to model of Josephson junction, which is a family of dynamical systems on 2-torus depending on real parameters (B, A; ω); the parameter ω, called the frequency, is fixed. One of main problems on the above-mentioned model is to study the geometry of boundaries of its phase-lock areas in R 2 (B,A) and their evolution, as ω decreases to 0. An approach to this problem suggested in the present paper is to study the complexified boundaries. We prove irreducibility of the complex spectral curve Γ l for every l ∈ N. We also calculate its genus for l ⩽ 20 * CNRS, France (UMR 5669 (UMPA, ENS de Lyon) and UMI 2615 (Lab. J.-V.