If papilledema is suspected clinically, magnetic resonance imaging (MRI) of the brain with gadolinium contrast or computed tomography (CT) with contrast is done immediately to exclude causes such as an intracranial mass.