Study of eclipsing binaries in an open cluster offer information regarding the age of the cluster in addition to the component stars. In this paper we present the analysis of a W UMa system discovered in the open cluster NGC 6791 using the Wilson–Devinney (W–D) method.