However, if a woman had MMP2 it did not mean they were doomed to put on weight, said Waitemata specialist in endocrinology, diabetes and general medicine Dr Steven Miller.
"The investigators also observed women with the MMP2 mutation who did not gain excess weight, and excess weight gain in women without the MMP2 mutation.
"There are also numerous other factors that influence body weight to a greater or lesser degree," he said.
Genes were important in understanding an individual's risk of becoming overweight or obese, but behaviour and environment, such as food choices and physical activity levels also made contributions "that may be greater than any genetic predisposition", Dr Miller said.
Men don't escape completely, as the study showed they have their own fat gene that causes them to binge on junk food, said the researchers.
A flawed version of a known gene called FTO makes them gain weight, with those carrying it almost twice as likely to have gained more than a stone.
Named 'the junk food gene', it increases cravings for sugary and fatty foods, and men who have it can eat about 100 calories more per meal than average - the equivalent of a small Kit Kat.
Over a week, the extra food eaten amounts to 2100 calories or a whole day's food.
"If you consume more energy than your body uses, over time the body will store the extra energy (as fat), and weight will rise. If less energy is taken in than is used, then the body's energy stores are used as a fuel and weight will fall," said Dr Miller.
He advised individuals with a genetic predisposition to obesity to combine increased exercise with caloric restriction in order to lose weight.