We study the effect of disorder in a holographic superconductor by introducing a quasi-periodic chemical potential. When the condensation of the superconductor is sufficiently small compared with the strength of disorder, we find that there exists a discontinuous phase transition from superconducting state to normal state with increasing disorder strength. For relatively large condensation, we find that disorder suppress but not completely destroy superconductivity.Introduction.-The effect of disorder in superconductor has intrigued scientists for several decades. Soon after the BCS theory [1], Anderson found that weak disorder cannot destroy the superconductivity [2]. Until now, both theories and experiments have confirmed that a strong disorder will eventually destruct superconductivity, driving the system into an insulating state or a normal metal state [3][4][5][6][7][8][9][10]. However, the effect of interactions in a disordered superconductors is still not well understood. As a natural way to study a strongly coupled quantum field theory systems, the AdS/CFT correspondence [17] has been used to study the interplay of disorder and interaction [11][12][13][14][15][16]. The holographic correspondence has also been proved to be successful to study various properties of superconductors [18,19]. In reference [20] the authors firstly studied a dirty holographic superconductor, the found that the disordered superconductor always has a larger critical temperature relative to the to the T c for the uniform one. In this paper we focus on understanding another important issue, the possible Anderson localization in a holographic superconductor. Technically, the weak disorder effect is introduced by a quasi-periodic chemical potential on the boundary field theory, the strength of the disorder is controlled by a parameter α. By tuning