The duration of rehabilitation varies depending on the individual and the condition being treated. Some programs may last a few weeks, while others may extend for several months, or even longer for chronic conditions.