Question: how long do you have to work to collect ssdi?
Answer: Most SSDI recipients need to have worked recently, usually any 5 of the past 10 years. If you have worked intermittently, but have earned income within the past couple of years, you may be eligible for Social Security disability benefits.