After 12 years they found 7245 cases of AF.
The study found an association between high alcohol consumption - defined as more than three drinks a day - and increased risk of AF, and a similar pattern with binge drinking.
These findings mirrored previous research but the researchers also detected a link between the condition and moderate consumption of wine and 'hard' liquor.
Moderate drinking was defined as one to three drinks per day.
No such link was found between moderate or binge drinking of beer and increased AF risk, the research published in the Journal of the American College of Cardiology said.
A further analysis combining the results of the Swedish research with six similar studies indicated the risk of AF increased eight per cent with each additional drink per day. This work did not differentiate between types of alcohol.
The study raises questions about theories that a moderate amount of alcohol may actually boost health, with red wine in particular said to have a positive impact on the heart.
Lead scientist Susanna Larsson, associate professor at the Karolinska Institutet in Stockholm, said that while other studies have shown that light to moderate alcohol consumption can be beneficial to the heart, it is important to balance these benefits against the potential risk of developing AF.
"We have no explanation for the lack of association with beer consumption," she said.
"It is likely that beer is consumed more regularly during the week, whereas wine and liquor is more often consumed during weekends only.
"Adverse effects of alcohol on atrial fibrillation risk may be less pronounced if alcohol consumption is spread out over the week compared with consumption of larger amounts of alcohol during a few days per week."
- PAA