The present invention provides a method for adapting an antenna, an antenna and a terminal. The antenna includes at least a first antenna segment, and the first antenna segment is made of a deformable alloy. Through the method provided by the present invention, when the terminal is detected When in the communication state, the current communication frequency band of the terminal can be obtained, and the corresponding target antenna electrical length can be obtained according to the communication frequency band. Based on the target antenna electrical length, the antenna of the terminal can be set to include For the first antenna segment, the electrical length of the antenna of the terminal can be adjusted to the target antenna electrical length by adjusting the electrical length of the first antenna segment, so that the electrical length of the antenna when the terminal communicates in the current frequency band is the electrical length of the antenna with the highest antenna efficiency, greatly improving The quality of the communication signal during user communication is improved, and at the same time, the power consumption of the terminal is small, and the heat generation is small, which improves the user experience.