Around 500 women were tracked for five years. Their mental capacity was tested at the start and end of the study.
Those taking aspirin saw their test scores fall much less than those who had not.
The Swedish study is reported in the journal BMJ Open. While it found aspirin may slow changes in cognitive ability in women at high risk of a heart attack or stroke, it made no difference to the rate at which the women developed dementia.