The treatment of cerebral edema mainly includes medication and surgery. Drug therapy is the most basic treatment modality, and drugs include dehydrating agents and sodium beta-heptazocine. Cerebral edema caused by intracranial occupying lesions (e.g., cranial tumors) often requires surgical treatment.