Topological phase is a new degree of freedom to describe the state of matter in condensed matter physics. One could predict the existence of the interface state between two topological different phononic crystals. The band structures of phononic crystal depend on the characteristics of their composite and their combination, such as geometry, filling fraction, and stiffness. However, after the phononic crystal is fabricated out, it is relatively difficult to tune their band structure and its topology. In order to broaden the application scope of phononic crystals, different kinds of tunable phononic crystals have been proposed. One method to achieve this tunability is to introduce nonlinearity into the phononic crystals. Granular crystals is one type of tunable nonlinear material, whose nonlinearity stems from nonlinear Hertzian contact. By changing the static precompression, the dispersion of granular crystals can be tuned. In this paper, by combining topology with nonlinear we create a new type of interface state switch without changing the experimental setup. Based on the Su-Schrieffer-Heeger (SSH) model–an example of a one dimensional (1D) topological insulator, we present a 1D nonlinear granular crystal, to realize the topological transition by precompression. First, we construct a 1D mechanical structure, which is made up of nonlinear granular crystal and linear phononic crystal. The 1D nonlinear granular crystal is simplified as a “mass-spring” model with tunable elastic constant and invariable elastic constant. By calculating the band topology–the Zak phase, we found that the Zak phase of the two bands can switch from π to 0. There exist a critical precompression F0, when F F0 the Zak phase of the band is π, when F > F0 the Zak phase is 0. The granular crystal vary from nontrivial bandgap to trivial one as precompression gradually increase. This effect enables us to design interface state switch at the interface between granular crystals with trivial and nontrivial band gap. Furthermore, when F F0, we find that the localization of interface state decreases as the applied precompression increases. Thus, we investigate existence of the interface state under different precompression and found that the interface state can be controlled freely. We anticipate these results to enable the creation of novel tunable acoustic devices.