Doxylamine may increase the risk for dementia. This is due to its anticholinergic properties, which means it blocks neurotransmitters that transmit messages along the nervous system. According to researchers, anticholinergic medications are associated with cognitive decline.