Delirium is a serious confused state that happens when your brain is not working properly. It can cause confusion, not being able to think clearly, and not remembering things. It usually happens quickly and doesn't last long, but it can also last for long periods of time. Delirium is usually caused by an illness, a medicine, or another problem like alcohol or drug use. It can also happen after a person has surgery or when they're in a hospital.