Walking more steps per day and at a faster pace is associated with a lower risk of dementia.