A method for processing a network registration anomaly, comprising: initiating, by a terminal device, an M th registration request to a fifth generation standalone, 5G SA, network, wherein M is a positive integer less than N, wherein N=5; in a case that the M th registration fails, obtaining, by the terminal device, cause information of the M th registration failure and a cumulative failure count M; and if the cause information of the M th registration failure conforms to first preset cause information, and the cumulative failure count M is greater than or equal to a first preset failure count n corresponding to the first preset cause information, executing, by the terminal device, a first processing policy corresponding to the first preset cause information, wherein the first processing policy comprises: stopping initiating the registration request to the 5G SA network, and initiating the registration request to a second network different from the 5G SA network, wherein the first preset cause information is used to indicate any one of the following: a registration failure due to a link establishment failure, a registration failure due to a link released after being established, a registration failure due to no response from the 5G SA network, and a registration failure due to registration reject from the 5G SA network, and wherein n < N, wherein after the obtaining, by the terminal device, cause information of the M th registration failure and a cumulative failure count M, the method further comprises: initiating, by the terminal device, an (M+1) th registration request to the 5G SA network after a first waiting duration, if the cause information of the M th registration failure does not conform to the first preset cause information, or if the cause information of the M th registration failure conforms to the first preset cause information and the cumulative failure count M is less than the first preset count. initiating, by a terminal device, an M th registration request to a fifth generation standalone, 5G SA, network, wherein M is a positive integer less than N, wherein N=5; in a case that the M th registration fails, obtaining, by the terminal device, cause information of the M th registration failure and a cumulative failure count M; and if the cause information of the M th registration failure conforms to first preset cause information, and the cumulative failure count M is greater than or equal to a first preset failure count n corresponding to the first preset cause information, executing, by the terminal device, a first processing policy corresponding to the first preset cause information, wherein the first processing policy comprises: stopping initiating the registration request to the 5G SA network, and initiating the registration request to a second network different from the 5G SA network, wherein the first preset cause information is used to indicate any one of the following: a registration failure due to a link establishment failure, a registration failure due to a link released after being established, a registration failure due to no response from the 5G SA network, and a registration failure due to registration reject from the 5G SA network, and wherein n < N, wherein after the obtaining, by the terminal device, cause information of the M th registration failure and a cumulative failure count M, the method further comprises: initiating, by the terminal device, an (M+1) th registration request to the 5G SA network after a first waiting duration, if the cause information of the M th registration failure does not conform to the first preset cause information, or if the cause information of the M th registration failure conforms to the first preset cause information and the cumulative failure count M is less than the first preset count.