A UE, in response to a beam failure being detected for a serving cell that serves the user equipment, determines whether a timer is running. One of the following is performed by the UE: in response to the timer running, a beam failure recovery procedure with a target non-serving cell; or in response to the timer not running, a beam failure recovery procedure with the serving cell. Methods, apparatus, computer programs, and computer program products are disclosed.