Occasional Benadryl is fine. The dementia risk is from correlations found in other medicines that share some of the same properties, when taken for many years.

It’s not a good idea to take Benadryl for many years, but occasional use or even for months while going through a difficult period isn’t going to cause dementia.

The dementia risk is from disrupting the circadian rhythm and suppressing the REM phases.