Common side effects of esomeprazole magnesium include:

headache,
diarrhea,
nausea,
gas,
abdominal pain,
constipation,
dry mouth, and
drowsiness.