Of course, you also earn Social Security credits when you work.
I imagine that applies to when you work and pay Social Security taxes.
You can earn a maximum of four credits per year.
How many credits are needed for disability benefits?