Several modalities have been studied to prevent coughing during emergence, including extubation in a deep plane of anesthesia but have proved to be unreliable. So far, no reliable method is recommended as standard of care. The advantages of administering tramadol includes a long duration of action, rapid recovery, limited depression of respiratory function and no effect on platelet makes it a safe medication to use for neurosurgical patients after craniotomy. The primary objective of the study is to observe the effect of single dose of tramadol (1mg/kg) administered 45 minutes before extubation on hemodynamic response (measurement of B.P and H.R) during extubation.