A window module (60) for a vehicle, in particular automobile, comprising:a fixed window (22) comprising an internal face (22c) and an external face (22d),a movable window (14) comprising an internal face (14c) and an external face (14d), edges (14b, 22a) of the windows facing one another and defining a clearance (J) between them, and the external faces (14d, 22d) of the windows being substantially aligned,an elongated guide (26) extending along said edges and attached to the internal face (14c) of the movable window (14),an elongated upright (62) extending along said edges and attached to the internal face (22c) of the fixed window (22), anda trim element (70) fitted and attached to the upright, this trim element comprising at least one member (72) for retaining the guide in a housing (L) of the upright.