The invention discloses an upper cover assembly of an electric pressure cooker and the electric pressure cooker with the upper cover assembly. The upper cover assembly comprises an upper cover body, a rotating chuck, a plurality of fasteners, a plurality of support posts and stop gaskets, wherein the rotating chuck is pivotally connected with the upper cover body; a clamping groove is formed in the rotating chuck; the plurality of support posts are connected with the corresponding fasteners, are matched in the clamping groove, are propped against the clamping groove when the rotating chuck rotates, and move long the radial direction of the rotating chuck to drive the fasteners to be fastened to or separated from an outer pot; the stop gaskets are fixed at the upper ends of the support posts; and the sizes of the stop gaskets are greater than the width of the clamping groove in the width direction of the clamping groove. The upper cover assembly of the electric pressure cooker is good in operation smoothness and high in stability, the support posts are not easy to damage and the service life is relatively long.