Elevated ALT level, diagnosis of stroke clinically alone, development of brain edema during hospitalization, and having NIHSS≥13 during hospital arrival were the independent predictors of 30-day mortality. This evidence concerns the gene GPT and brain edema.