A transient ischemic attack, or TIA, is like a stroke, but it does not last long. It happens when an artery that goes to the brain is blocked for a few seconds to a few hours. This causes stroke like symptoms that improve in less than 24 hours.