The 49ers–Cowboys rivalry is a National Football League rivalry between the San Francisco 49ers and Dallas Cowboys.
As the Cowboys play in NFC East and the 49ers in the NFC West, they do not play every year; instead, they play at least once every three years and at least once every six seasons at each team's home stadium due to the NFL's rotating division schedules when their respective divisions are paired up. From Wikipedia