Conclusions: The combination of high physical work demands and high leg pain intensity are associated with limited ability to perform work among senior workers. These findings highlight the importance of prioritizing the physical work environment in physically demanding occupations, particularly among senior workers, for prolonging working life. Thus, adjusting the work demands, e.g. through use of assistive devices, and lowering the pain, e.g. through physical rehabilitation, may be necessary to sustain work ability to a high age in this group of workers.