It also found COVID-19 patients who were hospitalised or in ICU were at more than double the risk of developing long COVID-19.
Long COVID-19 occurs when someone has ongoing symptoms of the illness more than four weeks after the infection.
Symptoms include fatigue, shortness of breath, problems with memory and concentration known as brain fog, a cough, headaches, changes in mood, taste and smell and many more.
Researchers said the results strengthened the hypothesis that women were more at risk of long COVID-19 which may be due to hormones and antibody production.
The study included more than 860,000 patients to find who was at the highest risk of developing long COVID-19.
Intimate look at frontline COVID-19 workers reveals pandemic reality
It found vaccination with two doses for the virus lowered the risk of developing long COVID-19.
“The results of our study showed that vaccination for COVID-19 has a protective role against PCC (long COVID-19), with vaccinated individuals having a significantly lower risk compared with unvaccinated individuals,” the study found.
Long COVID-19 can have damaging effects with researchers finding 15 per cent of sufferers are absent from work due to the illness.