This held true even after accounting for health conditions, demographics, and other medications.
But does gabapentin cause dementia?

Not necessarily. The researchers were careful to note this was an observational study, meaning that it shows a strong association — not proof of direct cause.