A communication method, comprising: in a process in which a terminal device performs beam failure recovery in a first bandwidth, determining, by the terminal device, that an operating bandwidth needs to be switched from the first bandwidth to a second bandwidth; and switching, by the terminal device, from the first bandwidth to the second bandwidth according to a preset policy, wherein the switching, by the terminal device, from the first bandwidth to the second bandwidth according to a preset policy comprises: switching, by the terminal device, from the first bandwidth to the second bandwidth based on configurations of control channels of the first bandwidth and the second bandwidth, wherein the switching, by the terminal device, from the first bandwidth to the second bandwidth based on configurations of control channels of the first bandwidth and the second bandwidth comprises: when the configurations of the control channels of the first bandwidth and the second bandwidth are different, stopping, by the terminal device, the process of beam failure recovery in the first bandwidth, and switching from the first bandwidth to the second bandwidth; or when the configurations of the control channels of the first bandwidth and the second bandwidth are the same, switching, by the terminal device, from the first bandwidth to the second bandwidth; and continuing, by the terminal device, to perform, in the second bandwidth, the process of beam failure recovery in the first bandwidth. in a process in which a terminal device performs beam failure recovery in a first bandwidth, determining, by the terminal device, that an operating bandwidth needs to be switched from the first bandwidth to a second bandwidth; and switching, by the terminal device, from the first bandwidth to the second bandwidth according to a preset policy, wherein the switching, by the terminal device, from the first bandwidth to the second bandwidth according to a preset policy comprises: switching, by the terminal device, from the first bandwidth to the second bandwidth based on configurations of control channels of the first bandwidth and the second bandwidth, wherein the switching, by the terminal device, from the first bandwidth to the second bandwidth based on configurations of control channels of the first bandwidth and the second bandwidth comprises: when the configurations of the control channels of the first bandwidth and the second bandwidth are different, stopping, by the terminal device, the process of beam failure recovery in the first bandwidth, and switching from the first bandwidth to the second bandwidth; or when the configurations of the control channels of the first bandwidth and the second bandwidth are the same, switching, by the terminal device, from the first bandwidth to the second bandwidth; and continuing, by the terminal device, to perform, in the second bandwidth, the process of beam failure recovery in the first bandwidth. switching, by the terminal device, from the first bandwidth to the second bandwidth based on configurations of control channels of the first bandwidth and the second bandwidth, wherein the switching, by the terminal device, from the first bandwidth to the second bandwidth based on configurations of control channels of the first bandwidth and the second bandwidth comprises: when the configurations of the control channels of the first bandwidth and the second bandwidth are different, stopping, by the terminal device, the process of beam failure recovery in the first bandwidth, and switching from the first bandwidth to the second bandwidth; or when the configurations of the control channels of the first bandwidth and the second bandwidth are the same, switching, by the terminal device, from the first bandwidth to the second bandwidth; and continuing, by the terminal device, to perform, in the second bandwidth, the process of beam failure recovery in the first bandwidth. when the configurations of the control channels of the first bandwidth and the second bandwidth are different, stopping, by the terminal device, the process of beam failure recovery in the first bandwidth, and switching from the first bandwidth to the second bandwidth; or when the configurations of the control channels of the first bandwidth and the second bandwidth are the same, switching, by the terminal device, from the first bandwidth to the second bandwidth; and continuing, by the terminal device, to perform, in the second bandwidth, the process of beam failure recovery in the first bandwidth.