How do THC and CBD affect memory? THC, the main compound in cannabis, affects short-term memory. Evidence suggests that cannabis compounds have both harmful and beneficial effects on memory.