Smokers who have to walk farther to buy cigarettes are more likely to quit, a new study suggests. Researchers found that for every one-third of a mile smokers had to walk to the nearest tobacco outlet, there was a 20 to 60 percent increase in the odds they would stop smoking.

The study included data from almost 21,000 current and former smokers in Finland, HealthDay reports. The findings are published in JAMA Internal Medicine.

The distance that former smokers lived from the nearest tobacco outlet had no impact on whether they started smoking again, the study found.