The primary objective is to determine if systemic magnesium will decrease postoperative pain in patients undergoing tonsillectomy. The secondary objectives will determine if systemic magnesium administration is associated with a decrease in opioid-related side effects, decrease the incidence of emergence delirium, and improve postoperative functional recovery.