Casing

Definition: Exposed molding or framing around a window or door, on either the inside or outside, to cover the space between the window frame or jamb and the wall. (See Trim)