The duration of joint pain varies depending on its cause and severity. Acute joint pain caused by injury or infection may resolve within days to weeks, while chronic joint pain associated with conditions like arthritis may persist for months or years.