Medications like sleeping pills, antihistamines, antidepressants, and prescription painkillers have been known to cause short-term memory loss.